Winter 2008CS244a Handout 81 CS244a: An Introduction to Computer Networks Handout 8: Congestion Avoidance and Active Queue Management Nick McKeown Professor.

Slides:



Advertisements
Similar presentations
Slide Set 14: TCP Congestion Control. In this set... We begin Chapter 6 but with 6.3. We will cover Sections 6.3 and 6.4. Mainly deals with congestion.
Advertisements

Computer Networking Lecture 20 – Queue Management and QoS.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
Congestion Control Tanenbaum 5.3 Tanenbaum 6.5. Congestion Control Network Layer – Congestion control point to point Transport Layer – Congestion control.
Winter 2008CS244a Handout #61 CS244a: An Introduction to Computer Networks Handout 6: The Transport Layer, Transmission Control Protocol (TCP), and User.
CS 268: Lecture 8 Router Support for Congestion Control Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 16: Congestion control II Slides used with.
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.
Advanced Computer Networks: RED 1 Random Early Detection Gateways for Congestion Avoidance * Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Networks: Congestion Control1 Congestion Control.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
Analysis and Simulation of a Fair Queuing Algorithm
EE689 Lecture 5 Review of last lecture More on HPF RED.
15-744: Computer Networking L-11 Queue Management.
Spring 2002CS 4611 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Spring 2003CS 4611 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
Random Early Detection Gateways for Congestion Avoidance
Lecture 5: Congestion Control l Challenge: how do we efficiently share network resources among billions of hosts? n Last time: TCP n This time: Alternative.
Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion.
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Courtesy: Nick McKeown, Stanford 1 TCP Congestion Control Tahir Azim.
TCP Enhancement for Random Loss Jiang Wu Computer Science Lakehead University.
CS144 An Introduction to Computer Networks
1 Queue Management Hamed Khanmirza Principles of Networking University of Tehran.
Link Scheduling & Queuing COS 461: Computer Networks
Advance Computer Networking L-6 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Congestion Control (cont’d). TCP Congestion Control Review Congestion control consists of 3 tasks  Detect congestion  Adjust sending rate  Determine.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 20 – March 25, 2010.
Congestion Control - Supplementary Slides are adapted on Jean Walrand’s Slides.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
Spring 2003CS 3321 Congestion Avoidance. Spring 2003CS 3322 Congestion Avoidance TCP congestion control strategy: –Increase load until congestion occurs,
 Last Class  This Class  Chapter 6.3. ~ 6.4.  TCP congestion control.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 19 – March 23, 2010.
Winter 2008CS244a Handout 71 CS244a: An Introduction to Computer Networks Handout 7: Congestion Control Nick McKeown Professor of Electrical Engineering.
Winter 2003CS244a Handout 71 CS492B Project #2 TCP Tutorial # Jin Hyun Ju.
Spring 2015© CS 438 Staff - University of Illinois1 Next Topic: Vacation Planning UIUC Chicago Monterey San Francisco Chicago to San Francisco: ALL FLIGHTS.
Explicit Allocation of Best-Effort Service Goal: Allocate different rates to different users during congestion Can charge different prices to different.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
Spring Computer Networks1 Congestion Control II Outline Queuing Discipline Reacting to Congestion Avoiding Congestion DECbit Random Early Detection.
Peer-to-Peer Networks 13 Internet – The Underlay Network
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
Congestion Avoidance Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
CS492B Project #2 TCP Tutorial # Jin Hyun Ju.
Other Methods of Dealing with Congestion
Internet Networking recitation #9
Chapter 3 outline 3.1 transport-layer services
Congestion Control Outline Queuing Discipline Reacting to Congestion
Chapter 6 Congestion Avoidance
TCP Congestion Control at the Network Edge
Congestion Control: The Role of the Routers
Router-Assisted Congestion Control
Congestion Control Outline Queuing Discipline Reacting to Congestion
Congestion Control Outline Queuing Discipline Reacting to Congestion
CONGESTION CONTROL.
Queuing and Queue Management
Random Early Detection Gateways for Congestion Avoidance
Other Methods of Dealing with Congestion
Advanced Computer Networks
Other Methods of Dealing with Congestion
COS 461: Computer Networks
Internet Networking recitation #10
Presentation transcript:

Winter 2008CS244a Handout 81 CS244a: An Introduction to Computer Networks Handout 8: Congestion Avoidance and Active Queue Management Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University

Winter 2008CS244a Handout 82 Congestion Avoidance  TCP reacts to congestion after it takes place. The data rate changes rapidly and the system is barely stable (or is even unstable).  Can we predict when congestion is about to happen and avoid it? E.g. by detecting the knee of the curve. Average Packet delay Load

Winter 2008CS244a Handout 83 Congestion Avoidance Schemes  Router-based Congestion Avoidance:  DECbit:  Routers explicitly notify sources about congestion.  Random Early Detection (RED):  Routers implicitly notify sources by dropping packets.  RED drops packets at random, and as a function of the level of congestion.  Host-based Congestion Avoidance  Source monitors changes in RTT to detect onset of congestion.  A variety of algorithms are described in Section

Winter 2008CS244a Handout 84 DECbit  Each packet has a “Congestion Notification” bit called the DECbit in its header.  If any router on the path is congested, it sets the DECbit.  Set if average queue length >= 1 packet, averaged since the start of the previous busy cycle.  To notify the source, the destination copies DECbit into ACK packets.  Source adjusts rate to avoid congestion.  Counts fraction of DECbits set in each window.  If <50% set, increase rate additively.  If >=50% set, decrease rate multiplicatively. Time Queue Length at router Averaging period

Winter 2008CS244a Handout 85 Random Early Detection (RED)  RED is based on DECbit, and was designed to work well with TCP.  RED implicitly notifies sender by dropping packets.  Drop probability is increased as the average queue length increases.  (Geometric) moving average of the queue length is used so as to detect long term congestion, yet allow short term bursts to arrive.

Winter 2008CS244a Handout 86 RED Drop Probabilities A(t)D(t) maxP 1 minThmaxTh AvgLen

Winter 2008CS244a Handout 87 Properties of RED  Drops packets before queue is full, in the hope of reducing the rates of some flows.  Drops packet for each flow roughly in proportion to its rate.  Drops are spaced out in time.  Because it uses average queue length, RED is tolerant of bursts.  Random drops hopefully desynchronize TCP sources.

Winter 2008CS244a Handout 88 Synchronization of sources Source A A B C D RTT

Winter 2008CS244a Handout 89 Synchronization of sources Aggregate Flow f(RTT) A B C D RTT Avg

Winter 2008CS244a Handout 810 Desynchronized sources Source A A B C D RTT

Winter 2008CS244a Handout 811 Desynchronized sources Aggregate Flow A B C D RTT Avg