Modeling TCP in Small-Buffer Networks

Slides:



Advertisements
Similar presentations
EE384Y: Packet Switch Architectures
Advertisements

Introducing optical switching into the network
Connection-level Analysis and Modeling of Network Traffic understanding the cause of bursts control and improve performance detect changes of network state.
1 Understanding Buffer Size Requirements in a Router Thanks to Nick McKeown and John Lockwood for numerous slides.
A Switch-Based Approach to Starvation in Data Centers Alex Shpiner and Isaac Keslassy Department of Electrical Engineering, Technion. Gabi Bracha, Eyal.
Congestion Control Algorithms: Open Questions Benno Overeinder NLnet Labs.
Congestion Control: TCP & DC-TCP Swarun Kumar With Slides From: Prof. Katabi, Alizadeh et al.
Microscopic Behavior of Internet Control Xiaoliang (David) Wei NetLab, CS&EE California Institute of Technology.
Router Buffer Sizing and Reliability Challenges in Multicast Aditya Akella 02/28.
Modeling the Interactions of Congestion Control and Switch Scheduling Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty.
Mohammad Alizadeh Adel Javanmard and Balaji Prabhakar Stanford University Analysis of DCTCP:Analysis of DCTCP: Stability, Convergence, and FairnessStability,
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
1 Statistical Analysis of Packet Buffer Architectures Gireesh Shrimali, Isaac Keslassy, Nick McKeown
TCP Stability and Resource Allocation: Part II. Issues with TCP Round-trip bias Instability under large bandwidth-delay product Transient performance.
Sizing Router Buffers Guido Appenzeller Isaac Keslassy Nick McKeown Stanford University.
Designing Networks with Little or No Buffers or Can Gulliver Survive in Lilliput? Yashar Ganjali High Performance Networking Group Stanford University.
High Performance All-Optical Networks with Small Buffers Yashar Ganjali High Performance Networking Group Stanford University
Isaac Keslassy, Shang-Tse (Da) Chuang, Nick McKeown Stanford University The Load-Balanced Router.
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
High Performance Networking with Little or No Buffers Yashar Ganjali High Performance Networking Group Stanford University
1 Architectural Results in the Optical Router Project Da Chuang, Isaac Keslassy, Nick McKeown High Performance Networking Group
1 OR Project Group II: Packet Buffer Proposal Da Chuang, Isaac Keslassy, Sundar Iyer, Greg Watson, Nick McKeown, Mark Horowitz
Network Processors and their memory Network Processor Workshop, Madrid 2004 Nick McKeown Departments of Electrical Engineering and Computer Science, Stanford.
High Performance Networking with Little or No Buffers Yashar Ganjali on behalf of Prof. Nick McKeown High Performance Networking Group Stanford University.
Sizing Router Buffers (Summary)
Sizing Router Buffers Nick McKeown Guido Appenzeller & Isaac Keslassy SNRC Review May 27 th, 2004.
The Crosspoint Queued Switch Yossi Kanizo (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel) and David Hay (Politecnico di Torino, Italy)
A Switch-Based Approach to Starvation in Data Centers Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty of Electrical.
The Effect of Router Buffer Size on HighSpeed TCP Performance Dhiman Barman Joint work with Georgios Smaragdakis and Ibrahim Matta.
Reducing the Buffer Size in Backbone Routers Yashar Ganjali High Performance Networking Group Stanford University February 23, 2005
Nick McKeown 1 Memory for High Performance Internet Routers Micron February 12 th 2003 Nick McKeown Professor of Electrical Engineering and Computer Science,
Isaac Keslassy (Technion) Guido Appenzeller & Nick McKeown (Stanford)
The Gaussian Nature of TCP Mark Shifrin Supervisor: Supervisor: Dr. Isaac Keslassy M.Sc Seminar Faculty of Electrical Engineering.
Statistical Approach to NoC Design Itamar Cohen, Ori Rottenstreich and Isaac Keslassy Technion (Israel)
Estimating Congestion in TCP Traffic Stephan Bohacek and Boris Rozovskii University of Southern California Objective: Develop stochastic model of TCP Necessary.
Routers with Small Buffers Yashar Ganjali High Performance Networking Group Stanford University
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
Distributed Scheduling Algorithms for Switching Systems Shunyuan Ye, Yanming Shen, Shivendra Panwar
Buffer requirements for TCP: queueing theory & synchronization analysis Gaurav RainaDamon Wischik CambridgeUCL.
Open Issues in Buffer Sizing Amogh Dhamdhere Constantine Dovrolis College of Computing Georgia Tech.
Buffer requirements for TCP Damon Wischik DARPA grant W911NF
Courtesy: Nick McKeown, Stanford 1 TCP Congestion Control Tahir Azim.
CS144 An Introduction to Computer Networks
Congestion models for bursty TCP traffic Damon Wischik + Mark Handley University College London DARPA grant W911NF
Optics in Internet Routers Mark Horowitz, Nick McKeown, Olav Solgaard, David Miller Stanford University
1 - CS7701 – Fall 2004 Review of: Sizing Router Buffers Paper by: – Guido Appenzeller (Stanford) – Isaac Keslassy (Stanford) – Nick McKeown (Stanford)
Sizing Router Buffers How much packet buffers does a router need? C Router Source Destination 2T The current “Rule of Thumb” A router needs a buffer size:
Router Buffer Sizes in the WAN draft-ksubram-lmap-router-buffer-sizes- 00 Kamala Subramaniam Microsoft IETF 91 Honolulu Hawaii.
Understanding the Performance of TCP Pacing Amit Aggarwal, Stefan Savage, Thomas Anderson Department of Computer Science and Engineering University of.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
Designing Packet Buffers for Internet Routers Friday, October 23, 2015 Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
Winter 2006EE384x1 EE384x: Packet Switch Architectures I Parallel Packet Buffers Nick McKeown Professor of Electrical Engineering and Computer Science,
1 Performance Analysis of the Distributed Coordination Function under Sporadic Traffic joint work with C.-F. Chiasserini (Politecnico di Torino)
Nick McKeown1 Building Fast Packet Buffers From Slow Memory CIS Roundtable May 2002 Nick McKeown Professor of Electrical Engineering and Computer Science,
Analysis of Buffer Size in Core Routers by Arthur Dick Supervisor Anirban Mahanti.
Analysis of RED Goal: impact of RED on loss and delay of bursty (TCP) and less bursty or smooth (UDP) traffic RED eliminates loss bias against bursty traffic.
Winter 2008CS244a Handout 71 CS244a: An Introduction to Computer Networks Handout 7: Congestion Control Nick McKeown Professor of Electrical Engineering.
Chapter 11.4 END-TO-END ISSUES. Optical Internet Optical technology Protocol translates availability of gigabit bandwidth in user-perceived QoS.
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
Queueing theory for TCP Damon Wischik, UCL Gaurav Raina, Cambridge.
Buffers: How we fell in love with them, and why we need a divorce Hot Interconnects, Stanford 2004 Nick McKeown High Performance Networking Group Stanford.
Networks with Very Small Buffers Yashar Ganjali, Guido Appenzeller, High Performance Networking Group Prof. Ashish Goel, Prof. Tim Roughgarden, Prof. Nick.
Sachin Katti, CS244 Slides courtesy: Nick McKeown
Queue Dynamics with Window Flow Control
Open Issues in Router Buffer Sizing
Amogh Dhamdhere, Hao Jiang and Constantinos Dovrolis
Routers with Very Small Buffers
Gaurav Raina Damon Wischik Mark Handley Cambridge UCL UCL
Presentation transcript:

Modeling TCP in Small-Buffer Networks Mark Shifrin and Isaac Keslassy Technion (Israel)

How much buffering do routers need? Problem How much buffering do routers need?

Why Does Buffer Size Matter? Buffers are costly. Today’s buffers: 1/2 board space 1/3 power consumption Small buffers: On chip buffers Higher density Lower cost Scalability [N. McKeown, Stanford]

How much Buffer does a Router need? Universally applied rule-of-thumb: A router needs a buffer size: 2T is the round-trip propagation time (or just 250ms) C is the capacity of the outgoing link Background Mandated in backbone and edge routers. Appears in RFPs and IETF architectural guidelines. Has major consequences for router design. Comes from dynamics of TCP congestion control. Villamizar and Song: “High Performance TCP in ANSNET”, CCR, 1994. Based on 2 to 16 TCP flows at speeds of up to 40 Mb/s.

Synchronized Flows Aggregate window has same dynamics Therefore buffer occupancy has same dynamics Rule-of-thumb still holds. t

Many TCP Flows Probability Distribution B Buffer Size

Stanford Model [Appenzeller et al., ’04 | McKeown and Wischik, ’05 | McKeown et al., ‘06] Assumption 1: TCP Flows modeled as i.i.d.  total window W has Gaussian distribution Assumption 2: Queue is the only variable part  queue has Gaussian distribution: Q=W-CONST  use smaller buffer than in rule of thumb

Impact on Router Design 40Gb/s linecard with 1,000,000 flows Rule of thumb: Buffer = 10Gbits Requires external, slow DRAM Stanford model: Buffer = 10Mbits Can use on-chip, fast SRAM Delays halved for short-flows

Motivation In a small-buffer world… Assumption 1: TCP Flows modeled as i.i.d.  total window W has Gaussian distribution Assumption 2: Queue is the only variable part  queue has Gaussian distribution: Q=W-CONST OK Queue is small  negligible? Gaussian part is… on the lines!

Contributions Distribution models for: Lines Arrival rates to queues Queue sizes Packet loss rates General closed-loop model for small-buffer networks Result: queues are not the only variable part in the network

Model Development Flow li1 pdf cwnd total arrival rate l1i arrival rates Q pdf packet loss

Model of li1 li1 pdf cwnd packet loss

Bursty Model of Window Distribution dest. source li5 li1 li3 li2 li4 li6 rtti=tp1i+tp2i+tp3i+tp4i+tp5i+tp6i Common Approach 1: Uniform packet distribution. l1(t)i = wi(t)* tpi1/rtti. Approach 2: Bursty Packet Distribution

Bursty Model of Window Distribution Assumption: All packets in a flow move in a single burst Conclusion 1: All packets belonging to an arbitrary flow i are present almost always on the same link. Conclusion 2: The probability of burst of flow i being present on the certain link is equal to the ratio of its propagation latency to the total rtti.

Simulation Results

Model Development Flow li1 pdf cwnd total arrival rate l1i arrival rates

Rate Transmission Derivation The objective is to find the pdf of the number of packets sent on some link i, ri, in a time unit δt. Assumptions: The rate on each one of the links in L1 is statistically independent We assume that the transmissions are bursty. We assume that the rate is proportional to the distribution of l1i and to the ratio δt/tp1i.

Arrival rate of a single flow B source li2 li1 li1 *δt/tp1i δt tp1i We find the arrival distribution for every flow in δt msec.

Total Rate Result: Proof based on the Lindeberg condition. Generalizes Central Limit Theorem for non-identically distributed components Holds if the share of each flow comparatively to the sum is negligible as the number of the flows grows. Argument for the proof: cwnd is limited by maximum value  same for l1i and ri.

Instantaneous Rate Model - Results Probability Total arrival rate – number of packets per δt

Model Development Flow li1 pdf cwnd total arrival rate l1i arrival rates Q pdf packet loss

PDF for Q To find the queue size distribution: Run Markov Chain simulation (compared with [Tran-Gia and Ahmadi, ‘88]) Use samples of R for the transitions Packet loss p is derived from the queue size distribution.

PDF of Q Probability Q state – 0 to 585 packets

Fixed Point Solution: p=f(p) li1 pdf cwnd total arrival rate l1i arrival rates Q pdf packet loss

Packet loss - results Model gives about 10%-25% of discrepancy. Case 1: Measured: p=2.7%, Model: p=3% Case 2: Measured: p=0.8%, Model: p=0.98% Case 3: Measured: p=1.4%, Model: p=1.82% Case 4: Measured: p=0.452%, Model: p=0.56%

The Gaussian distributions L4 L2 L5 L6 L1 W NS2 simulation of 500 flows with different propagation times

Are these lines really Gaussian?

Summary Introduced general closed-loop model for small-buffer networks Proved wrong the usual assumption that queues are the only variable part in the network

Thank you.