Congestion Control: The Role of the Routers

Slides:



Advertisements
Similar presentations
Computer Networking Lecture 20 – Queue Management and QoS.
Advertisements

CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
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.
1 Sonia FahmyPurdue University Active Queue (Buffer) Management Sonia Fahmy Department of Computer Sciences Purdue University
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, All our slides and papers.
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.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
EE689 Lecture 5 Review of last lecture More on HPF RED.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
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
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.
Rafael C. Nunez - Gonzalo R. Arce Department of Electrical and Computer Engineering University of Delaware May 19 th, 2005 Diffusion Marking Mechanisms.
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Queuing and Queue Management Reading: Sections 6.2, 6.4, 6.5 COS 461: Computer Networks Spring 2011 Mike Freedman
Link Scheduling & Queuing COS 461: Computer Networks
CS 268: Computer Networking L-6 Router Congestion Control.
Advance Computer Networking L-6 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Advanced Computer Networking
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Congestion Control - Supplementary Slides are adapted on Jean Walrand’s Slides.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
CSE 561 – Congestion Control with Network Support David Wetherall Spring 2000.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
15744 Course Project1 Evaluation of Queue Management Algorithms Ningning Hu, Liu Ren, Jichuan Chang 30 April 2001.
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
Spring 2003CS 3321 Congestion Avoidance. Spring 2003CS 3322 Congestion Avoidance TCP congestion control strategy: –Increase load until congestion occurs,
Winter 2008CS244a Handout 81 CS244a: An Introduction to Computer Networks Handout 8: Congestion Avoidance and Active Queue Management Nick McKeown Professor.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 19 – March 23, 2010.
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.
Spring 2015© CS 438 Staff - University of Illinois1 Next Topic: Vacation Planning UIUC Chicago Monterey San Francisco Chicago to San Francisco: ALL FLIGHTS.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for AQM By Srisankar Kunniyur & R. Srikant Presented by Hareesh Pattipati.
1 Flow & Congestion Control Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof. Dina Katabi.
Other Methods of Dealing with Congestion
Internet Networking recitation #9
CS 268: Computer Networking
Blue: An Alternative Approach to Active Queue Management
Topics discussed in this section:
Chapter 3 outline 3.1 transport-layer services
Chapter 6 Congestion Avoidance
Router-Assisted Congestion Control
Advance Computer Networking
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Lecture 19 – TCP Performance
Queuing and Queue Management
Analysis of Congestion Control Mechanisms in Congestion Control
Random Early Detection Gateways for Congestion Avoidance
Other Methods of Dealing with Congestion
Advanced Computer Networks
Other Methods of Dealing with Congestion
Title: An Adaptive Queue Management Method for Congestion Avoidance in TCP/IP Networks Presented By: Frank Posluszny Vishal Phirke Matt Hartling 12/31/2018.
COS 461: Computer Networks
Internet Networking recitation #10
Max Min Fairness How define fairness?
TCP Congestion Control
Transport Layer: Congestion Control
Queueing Problem The performance of network systems rely on different delays. Propagation/processing/transmission/queueing delays Which delay is affected.
Presentation transcript:

Congestion Control: The Role of the Routers 6.033, Spring 2013 Congestion Control: The Role of the Routers Dina Katabi nms.csail.mit.edu/~dina

Outline No help from routers What can routers do? Examples DropTail Problems with DropTail What can routers do? Examples RED ECN

TCP + DropTail Most routers use DropTail Problems: Large average queues Bursty losses Synchronized losses What is a persistent queue? Queues are meant to absorb bursts or oscillations but not to persist Why do we get persistent queues? Is that bad?

Large Average Queues Queues are needed to absorb transient bursts Yet avg. queue should stay low TCP fills the queue until a drop Keeps avg. queue length high 

Bursty Losses Queue Dropped packets Traffic from a single source comes in a burst Packets are dropped in bursts Too many packets dropped from same cwnd Source can’t use 3 dupacks to recover and has to wait for timeout  less efficient

Synchronized Losses All losses happen together when the queue overflows Sources decrease together  potential underutilization Sources increase together until overflowing queue Cycle repeats… Mainly caused by drops concentration at time of overflow

How can routers help? Send an early and more explicit congestion feedback Drops occur when queue overflows, but routers can send feedback earlier when queue starts forming Spread the drops in time  desynchronize the senders and prevents too many drops from bursty flows

Pors & Cons of Routers’ Participation in Cong. Cont. Pros Routers observe congestion first hand and have better information with less delay Better efficiency and fairness Cons Increase the complexity of the routers Deployment is harder It is hard to change the routers (convince ISPs) Many schemes need to change a large number of routers together for the scheme to be effective

1. Random Early Detection (RED)

RED’s objectives Latency Operates at congestion avoidance Keeps avg. queue low (low delay) Safer Attempts to solve the synchronization and bursty drops problems Input traffic Throughput cliff Congestion Avoidance Latency Congestion Control

RED Algorithm Define 2 vars: min_thresh and max_thresh Try to keep the queue between these two vars How? when a packet arrives: Compute Qavg = w Q + (1-w) Qavg; 0  w 1 Drop packet with probability p=f(Qavg) Drop Prob. 1.0 maxP Qavg minth maxth

What Does RED Achieve? Less bias against bursty flows Why? Smaller average queue size Reduces likelyhood of bursty drops Reduces likelihood of synchronized flows

What Doesn’t RED Achieve? RED introduces its own problems Hard to set parameters 8 Sources 32 Sources

ECN: Explicit Congestion Notification Mark packet instead of dropping it. Receiver has to relay this mark to the sender Explicit feedback Advantages Enable the sender to react before the queue is full and the delay is already too large In wireless environments drops are mainly caused by errors rather than congestion (ECN may help if widely deployed)