High Performance All-Optical Networks with Small Buffers Yashar Ganjali High Performance Networking Group Stanford University

Slides:



Advertisements
Similar presentations
EE384Y: Packet Switch Architectures
Advertisements

Martin Suchara, Ryan Witt, Bartek Wydrowski California Institute of Technology Pasadena, U.S.A. TCP MaxNet Implementation and Experiments on the WAN in.
Introducing optical switching into the network
1 Understanding Buffer Size Requirements in a Router Thanks to Nick McKeown and John Lockwood for numerous slides.
Restless bandits and congestion control Mark Handley, Costin Raiciu, Damon Wischik UCL.
CWI PNA2, Reading Seminar, Presented by Yoni Nazarathy EURANDOM and the Dept. of Mechanical Engineering, TU/e Eindhoven September 17, 2009 An Assortment.
Router Buffer Sizing and Reliability Challenges in Multicast Aditya Akella 02/28.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
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.
Yashar Ganjali Computer Systems Laboratory Stanford University February 13, 2003 Optimal Routing in the Internet.
Volcano Routing Scheme Routing in a Highly Dynamic Environment Yashar Ganjali Stanford University Joint work with: Nick McKeown SECON 2005, Santa Clara,
Designing Networks with Little or No Buffers or Can Gulliver Survive in Lilliput? Yashar Ganjali High Performance Networking Group Stanford University.
Buffer Sizing for Congested Internet Links Chi Yin Cheung Cs 395 Advanced Networking.
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
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.
High-performance bulk data transfers with TCP Matei Ripeanu University of Chicago.
Modeling TCP in Small-Buffer Networks
The Crosspoint Queued Switch Yossi Kanizo (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel) and David Hay (Politecnico di Torino, Italy)
EE 122: Router Design Kevin Lai September 25, 2002.
A Switch-Based Approach to Starvation in Data Centers Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty of Electrical.
Reducing the Buffer Size in Backbone Routers Yashar Ganjali High Performance Networking Group Stanford University February 23, 2005
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Isaac Keslassy (Technion) Guido Appenzeller & Nick McKeown (Stanford)
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Dynamic routing – QoS routing Load sensitive routing QoS routing.
Rethinking Internet Traffic Management: From Multiple Decompositions to a Practical Protocol Jiayue He Princeton University Joint work with Martin Suchara,
The Gaussian Nature of TCP Mark Shifrin Supervisor: Supervisor: Dr. Isaac Keslassy M.Sc Seminar Faculty of Electrical Engineering.
Combining Multipath Routing and Congestion Control for Robustness Peter Key.
L13: Sharing in network systems Dina Katabi Spring Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Routers with Small Buffers Yashar Ganjali High Performance Networking Group Stanford University
Not All Microseconds are Equal: Fine-Grained Per-Flow Measurements with Reference Latency Interpolation Myungjin Lee †, Nick Duffield‡, Ramana Rao Kompella†
Path selection Packet scheduling and multipath Sebastian Siikavirta and Antti aalto.
Buffer requirements for TCP: queueing theory & synchronization analysis Gaurav RainaDamon Wischik CambridgeUCL.
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
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.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Univ. of TehranComputer Network1 Computer Networks Computer Networks (Graduate level) University of Tehran Dept. of EE and Computer Engineering By: Dr.
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Analysis of Buffer Size in Core Routers by Arthur Dick Supervisor Anirban Mahanti.
Winter 2008CS244a Handout 81 CS244a: An Introduction to Computer Networks Handout 8: Congestion Avoidance and Active Queue Management Nick McKeown Professor.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
Winter 2008CS244a Handout 71 CS244a: An Introduction to Computer Networks Handout 7: Congestion Control Nick McKeown Professor of Electrical Engineering.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
XCP: eXplicit Control Protocol Dina Katabi MIT Lab for Computer Science
1 How scalable is the capacity of (electronic) IP routers? Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University
1 Flow & Congestion Control Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof. Dina Katabi.
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.
Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai.
1 Building big router from lots of little routers Nick McKeown Assistant Professor of Electrical Engineering and Computer Science, Stanford University.
Sachin Katti, CS244 Slides courtesy: Nick McKeown
Understanding Buffer Size Requirements in a Router
Open Issues in Router Buffer Sizing
Review: Statistical Multiplexing
Amogh Dhamdhere, Hao Jiang and Constantinos Dovrolis
FAST TCP : From Theory to Experiments
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Routers with Very Small Buffers
Presentation transcript:

High Performance All-Optical Networks with Small Buffers Yashar Ganjali High Performance Networking Group Stanford University Joint work with: Prof. Ashish Goel Prof. Nick McKeown Prof. Tim Roughgarden October 4, UCSB

2 Outline  Issues specific to All-optical networks  Why do we need buffers?  Contention resolution  Congestion control  How large are buffers today?  How small can buffers be?  Congestion  Contention Scheduling Load balancing in time and space  Summary and conclusions

October 4, UCSB 3 All-Optical Network Design Issues  Wavelength conversion  Without full wavelength conversion Routing problem is very hard  With full wavelength conversion Routing is the same as electronic networks  Buffering  Existing systems Huge buffers are assumed to be available  Need to reduce the buffer size

October 4, UCSB 4 Leverages  Full wavelength conversion  We don’t need to worry about it  Huge amount of capacity  We can tradeoff capacity to address small buffers problem  Deflection routing  Not necessary at this stage

October 4, UCSB 5  Issues specific to All-optical networks  Why do we need buffers?  Contention resolution  Congestion control  How large are buffers today?  How small can buffers be?  Congestion  Contention Scheduling Load balancing in time and space  Summary and conclusions Outline

October 4, UCSB 6 Why do we need buffers?  Internet traffic is bursty in nature  Variations in Starting time Flow length Rate  Short-term fluctuations  Contention  Long-term fluctuations  Congestion

October 4, UCSB 7 Contention  Contention is caused by  Synchronization of flows  Stochastic collisions

October 4, UCSB 8 Congestion Control Rule for adjusting W  If an ACK is received:W ← W+1/W  If a packet is lost:W ← W/2 SourceDest t Window size Only W packets may be outstanding

October 4, UCSB 9 Rule for adjusting W  If an ACK is received:W ← W+1/W  If a packet is lost:W ← W/2 Congestion Control (Cont’d) Only W packets may be outstanding

October 4, UCSB 10  Issues specific to All-optical networks  Why do we need buffers?  Contention resolution  Congestion control  How large are buffers today?  How small can buffers be?  Congestion  Contention Scheduling Load balancing in time and space  Summary and conclusions Outline

October 4, UCSB 11  Universally applied rule-of-thumb:  A router needs a buffer size: 2T is the two-way propagation delay C is capacity of bottleneck link  Context  Mandated in backbone and edge routers.  Appears in RFPs and IETF architectural guidelines.  Usually referenced to Villamizar and Song: “High Performance TCP in ANSNET”, CCR,  Already known by inventors of TCP [Van Jacobson, 1988] Backbone Router Buffers C Router Source Destination 2T

October 4, UCSB 12 Single TCP Flow Router with large enough buffers for full link utilization

October 4, UCSB 13 Single TCP Flow Router with large enough buffers for full link utilization Observation  If buffer doesn’t go empty when window size halves, then we have 100% throughput. t Window size RTT It follows that

October 4, UCSB 14 Buffer = Rule of Thumb

October 4, UCSB 15 Under-buffered Link

October 4, UCSB 16  Issues specific to All-optical networks  Why do we need buffers?  Contention resolution  Congestion control  How large are buffers today?  How small can buffers be?  Congestion  Contention Scheduling Load balancing in time and space  Summary and conclusions Outline

October 4, UCSB 17 Rule-of-thumb  Rule-of-thumb makes sense for one flow  Typical backbone link has > 20,000 flows  Does the rule-of-thumb still hold?  Answer:  If flows are perfectly synchronized, then Yes.  If flows are desynchronized then No.

October 4, UCSB 18 If flows are synchronized  Aggregate window has same dynamics  Therefore buffer occupancy has same dynamics  Rule-of-thumb still holds. t

October 4, UCSB 19 If flows are not synchronized Probability Distribution B 0 Buffer Size

October 4, UCSB 20  It turns out that  The rule of thumb is wrong for core routers today  Required buffer is instead of  [Appenzeller, Keslassy, McKeown 2004] Backbone Router Buffers

October 4, UCSB 21 Simulation Required Buffer Size

October 4, UCSB 22 TCP with ALMOST no buffers Utilization of bottleneck link = 75%

October 4, UCSB 23 TCP with almost no buffers  With almost no buffering and just a single flow we loose about 25% of the capacity.  Capacity is not a bottleneck anymore  More flows = less capacity loss  Huge number of flows in the core

October 4, UCSB 24  Issues specific to All-optical networks  Why do we need buffers?  Contention resolution  Congestion control  How large are buffers today?  How small can buffers be?  Congestion  Contention Scheduling Load balancing in time and space  Summary and conclusions Outline

October 4, UCSB 25 Contention resolution  Two extreme approaches  No scheduling: Deal with contention by having large buffers.  Tight Scheduling: Precisely schedule exact packet injection times, so that contention is minimized. No schedulingTight scheduling

October 4, UCSB 26  Constraints  No buffer: If S 2 sends a packet at time t, S 1 cannot send a packet at time t+1  Buffer size B: S 1 and S 2 cannot send more than T+B packets in any interval of length T Scheduling S1S1 S2S2 D

October 4, UCSB 27 Scheduling Problem  The optimal solution is hard to find in general  In no buffers case: Exact solution: NP-Complete (Job-shop scheduling) 50% Throughput: Easy to solve  With buffers: Open problem  Extreme synchronization needed  Distributed algorithm needed

October 4, UCSB 28 Randomization  Randomization: Randomly delay the injection time of the packets  Alleviates short-term contention  Simple to implement  Guaranteed performance No schedulingTight scheduling ??? Randomization

October 4, UCSB 29 Randomization (cont’d) Time Input #1 Input #2 Before randomization Time Input #1 Input #2 After randomization

October 4, UCSB 30 Randomization (cont’d)  Shape the traffic at injection time (make Poisson)  Reshape at each router  When the load is low we can bound the loss rate Buffer size Loss rate  1 1 M/M/1 X

October 4, UCSB 31 Preliminary Results Theorem. We can achieve constant factor throughput (roughly 70-80%) with very small amount of loss using buffers of size O(log L), where L is the length of the longest path in the network.  Assumption  No reactive flow control  Currently maximum window size is 12 and 64 for Linux and Windows XP

October 4, UCSB 32  Issues specific to All-optical networks  Why do we need buffers?  Contention resolution  Congestion control  How large are buffers today?  How small can buffers be?  Congestion  Contention Scheduling Load balancing in time and space  Summary and conclusions Outline

October 4, UCSB 33 Preliminary Results Conjecture. Routers in the core of the current Internet only need buffers of size O(log L) instead of the 2TxC.  Need to study  The interaction between randomization and congestion control  Impact of co-existing flows  Emerging applications (non-TCP or modified TCP) which will allow much larger windows per flow

October 4, UCSB 34 Summary and conclusions  We need buffers to address  Contention  Congestion  Aggregation takes care of congestion  Use randomization to reduce contention  At the price of loosing some capacity, a network with small buffers can have high performance. Many thanks to Guido Appenzeller at Stanford for providing the flash animations.