Random Early Detection Gateways for Congestion Avoidance

Slides:



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

WHITE – Achieving Fair Bandwidth Allocation with Priority Dropping Based on Round Trip Time Name : Choong-Soo Lee Advisors : Mark Claypool, Robert Kinicki.
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.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
5/17/20151 Adaptive RED: An Algorithm for Increasing the Robustness of RED’s Active Queue Management or How I learned to stop worrying and love RED Presented.
Md. Manzoor MurshedAdaptive RED with Dynamic Threshold Adjustment CprE599: Creative Component Adaptive RED with Dynamic Threshold Adjustment.
Max Min Fairness How define fairness? “ Any session is entitled to as much network use as is any other ” ….unless some sessions can use more without hurting.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Advanced Computer Networks: RED 1 Random Early Detection Gateways for Congestion Avoidance * Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
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.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
EE689 Lecture 5 Review of last lecture More on HPF RED.
RAP: An End-to-End Rate-Based Congestion Control Mechanism for Realtime Streams in the Internet Reza Rejai, Mark Handley, Deborah Estrin U of Southern.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
15-744: Computer Networking L-11 Queue Management.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Active Queue Management Rong Pan Cisco System EE384y Spring Quarter 2006.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Simulation of Explicit Congestion Notification and Random Early Detection Nadav Amit Teif Dmitry Yurovsky Denis.
Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion.
Rafael C. Nunez - Gonzalo R. Arce Department of Electrical and Computer Engineering University of Delaware May 19 th, 2005 Diffusion Marking Mechanisms.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware Aug 19th / 2004 Rafael Nunez.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
Lightweight Active Router-Queue Management for Multimedia Networking M. Parris, K. Jeffay, and F.D. Smith Department of Computer Science University of.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
1 A State Feedback Control Approach to Stabilizing Queues for ECN- Enabled TCP Connections Yuan Gao and Jennifer Hou IEEE INFOCOM 2003, San Francisco,
Diffusion Early Marking Department of Electrical and Computer Engineering University of Delaware May / 2004 Rafael Nunez Gonzalo Arce.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
1 Queue Management Hamed Khanmirza Principles of Networking University of Tehran.
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.
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.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
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,
Promoting the Use of End-to-End Congestion Control in the Internet Sally Floyd and Kevin Fall IEEE-ACAM Transactions on Networking, 馬儀蔓.
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.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
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.
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.
Computer Networking Lecture 10 – TCP & Routers.
Other Methods of Dealing with Congestion
Topics discussed in this section:
Chapter 6 Congestion Avoidance
CONGESTION CONTROL.
Advance Computer Networking
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Random Early Detection Gateways for Congestion Avoidance
Advanced Computer Networks
Other Methods of Dealing with Congestion
Adaptive RED: An Algorithm for Increasing the Robustness of RED’s Active Queue Management or How I learned to stop worrying and love RED Presented by:
Queueing Problem The performance of network systems rely on different delays. Propagation/processing/transmission/queueing delays Which delay is affected.
Presentation transcript:

Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp.397-413. ACN: RED paper

Outline Introduction Background: Definitions and Previous Work The RED Algorithm RED parameters RED simulation results Evaluation of RED Conclusions and Future Work ACN: RED paper

Introduction Main idea:: to provide congestion control at the router for TCP flows. RED Algorithm Goals The primary goal is to provide congestion avoidance by controlling the average queue size such that the router stays in a region of low delay and high throughput. To avoid global synchronization (e.g., in Tahoe TCP). To control misbehaving users (this is from a fairness context). To seek a mechanism that is not biased against bursty traffic. ACN: RED paper

Definitions congestion avoidance – when impending congestion is indicated, take action to avoid congestion. incipient congestion – congestion that is beginning to be apparent. need to notify connections of congestion at the router by either marking the packet [ECN] or dropping the packet {This assumes a drop is an implied signal to the source host.} ACN: RED paper

Previous Work Drop Tail Random Drop Early Random Drop Source Quench messages DECbit scheme ACN: RED paper

Drop Tail Router FIFO queueing mechanism that drops packets when the queue overflows. Introduces global synchronization when packets are dropped from several connections. ACN: RED paper

Random Drop Router When a packet arrives and the queue is full, randomly choose a packet from the queue to drop. ACN: RED paper

Early Random Drop Router ? Drop level If the queue length exceeds a drop level, then the router drops each arriving packet with a fixed drop probability. Reduces global synchronization Does not control misbehaving users (UDP) ACN: RED paper

Source Quench messages Router sends source quench messages back to source before queue reaches capacity. Complex solution that gets router involved in end-to-end protocol. ACN: RED paper

DECbit scheme Uses a congestion-indication bit in packet header to provide feedback about congestion. Average queue length is calculated for last (busy + idle) period plus current busy period. When average queue length exceeds one, set congestion-indicator bit in arriving packet’s header. If at least half of packets in source’s last window have the bit set, decrease the congestion window exponentially. ACN: RED paper

RED Algorithm for each packet arrival calculate the average queue size avg if minth <= avg < maxth calculate the probability pa with probability pa: mark the arriving packet else if maxth <= avg ACN: RED paper

RED drop probability ( pa ) pb = maxp x (avg - minth)/(maxth - minth) [1] where pa = pb/ (1 - count x pb) [2] Note: this calculation assumes queue size is measured in packets. If queue is in bytes, we need to add [1.a] between [1] and [2] pb = pb x PacketSize/MaxPacketSize [1.a] ACN: RED paper

avg - average queue length avg = (1 – wq) x avg + wq x q where q is the newly measured queue length. This exponential weighted moving average is designed such that short-term increases in queue size from bursty traffic or transient congestion do not significantly increase average queue size. ACN: RED paper

RED/ECN Router Mechanism 1 Dropping/Marking Probability maxp Minth Maxth Queue Size Average Queue Length ACN: RED paper

RED parameter settings wq suggest 0.001 <= wq <= 0.0042 authors use wq = 0.002 for simulations minth, maxth depend on desired average queue size bursty traffic  increase minth to maintain link utilization. maxth depends on the maximum average delay allowed. RED is most effective when average queue size is larger than typical increase in calculated queue size in one round-trip time. “parameter setting rule of thumb”: maxth at least twice minth . However, maxth = 3 times minth is used in some of the experiments shown. ACN: RED paper

packet-marking probability goal: To uniformly spread out the marked packets. This reduces global synchronization. Method 1: geometric random variable each packet marked with probability pb Method 2: uniform random variable marking probability is pb/ (1 - count x pb) where count is the number of unmarked packets arrived since last marked packet. ACN: RED paper

Method 1: geometric p = 0.02 Method 2: uniform Result :: marked packets more clustered for method 1  uniform is better at eliminating “bursty drops” ACN: RED paper

{This is not a robust recommendation}. Setting maxp “RED performs best when packet-marking probability changes fairly slowly as the average queue size changes.” This is a stability argument in that the claim is that RED with small maxp will reduce oscillations in avg and actual marking probability. They recommend that maxp never be greater than 0.1 {This is not a robust recommendation}. ACN: RED paper

RED Simulations Figure 4: Four heterogeneous FTP sources Figure 6: Two homogeneous FTP sources Figure 10: 41 Two-way, short FTP and TELNET flows Figure 11: Four FTP non-bursty flows and One bursty FTP flow ACN: RED paper

Four heterogeneous FTP Sources ACN: RED paper

ACN: RED paper

Two Homogeneous FTP Sources ACN: RED paper

Two Homogeneous FTP Sources Figure 5 represents many simulation experiments. RED yields lower queuing delay as utilization improves by increasing minth from 3 to 50 packets. Drop-tail yields unacceptable delay at high utilization. The power measure is better for RED ! ACN: RED paper

Network with 41 Short Connections ACN: RED paper

Short, two-way FTP and TELNET flows - RED controls the average queue size. - Flows have small cwnd maximums (8 or 16). - Packet dropping is higher and bursty. - Utilization is low (61%). - Mentions ACK-compression as one cause of bursty packet arrivals. . Figure 9 ACN: RED paper

Including One Bursty Flow Five FTP Flows Including One Bursty Flow ACN: RED paper

Simulation Details Bursty traffic == large RTT, small cwnd Other traffic = small RTT, small cwnd {robust flows} Node 5 :: the bursty flow cwnd = 8 packets Each simulation run for 10 seconds and each mark in figures represents one second (average?). ACN: RED paper

Drop Tail Gateways ACN: RED paper

Random Drop Gateways ACN: RED paper

RED Gateways ACN: RED paper

Evaluation of RED meeting design goals congestion avoidance If RED drops packets, this guarantees the calculated average queue size does not exceed the max threshold. If wq set properly, RED controls actual average queue size. If RED marks packets, router relies on source cooperation to control average queue size. ACN: RED paper

Evaluation of RED meeting design goals appropriate time scales detection time scale roughly matches time scale of response to congestion RED does not notify connections during transient congestion at the router. ACN: RED paper

Evaluation of RED meeting design goals no global synchronization avoids global synchronization by marking at as low a rate as possible with distribution spread out simplicity detailed argument about how to cheaply implement in terms of adds and shifts. {Historically, this argument has been strongly refuted because RED has too many parameters to make it robust.} ACN: RED paper

Evaluation of RED meeting design goals maximizing global power power defined as ratio of throughput to delay see Figure 5 for comparision against drop tail fairness authors claim not well-defined {This is an obvious side-step of this issue.} [later this becomes big deal -see FRED paper] ACN: RED paper

Conclusions RED is effective mechanism for congestion avoidance at the router in cooperation with TCP. claim: probability that RED chooses a particular connection to notify during congestion is roughly proportional to that connection’s share of the bandwidth. ACN: RED paper

Future Work (circa 1993) Is RED really fair? How do we tune RED? Is there a way to optimize power? What happens with other versions of TCP? How does RED work when mixed with drop tail routers? How robust is RED? What happens when there are many flows? ACN: RED paper