Active Queue Management. Fundamental problem: Queues and TCP Queues –Queues are to absorb bursts of packets. –They are required for statistical multiplexing.

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.
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.
Active Queue Management: Theory, Experiment and Implementation Vishal Misra Dept. of Computer Science Columbia University in the City of New York.
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.
The War Between Mice and Elephants LIANG GUO, IBRAHIM MATTA Computer Science Department Boston University ICNP (International Conference on Network Protocols)
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
TFRC for Voice: the VoIP Variant Sally Floyd, Eddie Kohler. March 2005, presentation to AVT draft-ietf-dccp-tfrc-voip-01.txt.
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.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
One More Bit Is Enough Yong Xia, RPI Lakshminarayanan Subramanian, UCB Ion Stoica, UCB Shivkumar Kalyanaraman, RPI SIGCOMM’05, August 22-26, 2005, Philadelphia,
The War Between Mice and Elephants Liang Guo and Ibrahim Matta Boston University ICNP 2001 Presented by Thangam Seenivasan 1.
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,
Dynamic Internet Congestion with Bursts Stefan Schmid Roger Wattenhofer Distributed Computing Group, ETH Zurich 13th International Conference On High Performance.
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.
Buffer Sizing for Congested Internet Links Chi Yin Cheung Cs 395 Advanced Networking.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
High speed TCP’s. Why high-speed TCP? Suppose that the bottleneck bandwidth is 10Gbps and RTT = 200ms. Bandwidth delay product is packets (1500.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
ACN: AVQ1 Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for Active Queue Managment Srisankar Kunniyur and R. Srikant SIGCOMM’01 San.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Medium Start in TCP-Friendly Rate Control Protocol CS 217 Class Project Spring 04 Peter Leong & Michael Welch.
Random Early Detection Gateways for Congestion Avoidance
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.
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.
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,
CS332 Ch. 28 Spring 2014 Victor Norman. Access delay vs. Queuing Delay Q: What is the difference between access delay and queuing delay? A: I think the.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Congestion models for bursty TCP traffic Damon Wischik + Mark Handley University College London DARPA grant W911NF
Notes No class next week I will assign presentation on Friday. So either stop by to chat about it or , or see what I decide. Homework is postponed.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
TFRC for Voice: the VoIP Variant Sally Floyd, Eddie Kohler. August 2005 draft-ietf-dccp-tfrc-voip-02.txt Slides:
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
High-speed TCP  FAST TCP: motivation, architecture, algorithms, performance (by Cheng Jin, David X. Wei and Steven H. Low)  Modifying TCP's Congestion.
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
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.
TFRC for Voice: the VoIP Variant Sally Floyd, Eddie Kohler. March draft-ietf-dccp-tfrc-voip-01.txt
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
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.
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.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
Internet research Needs Better Models Sally Floyd, Eddie Kohler ISCI Center for Internet Research, Berkeley, California Presented by Max Podlesny.
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
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.
1 Sheer volume and dynamic nature of video stresses network resources PIE: A lightweight latency control to address the buffer problem issue Rong Pan,
Dynamic Behavior of Slowly Responsive Congestion Control Algorithms (Bansal, Balakrishnan, Floyd & Shenker, 2001)
Congestion Control for High Bandwidth-Delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs Presented by Yufei Chen.
1 Tuning RED for Web Traffic SIGCOMM 2000 Paper by M. Christiansen, K. Jeffray, D. Ott, F.D. Smith, UNC – Chapel Hill CS 590 F Fall 2000 Paper presentation.
Congestion Control: The Role of the Routers
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Queuing and Queue Management
Random Early Detection Gateways for Congestion Avoidance
Max Min Fairness How define fairness?
TCP Congestion Control
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:
Presentation transcript:

Active Queue Management

Fundamental problem: Queues and TCP Queues –Queues are to absorb bursts of packets. –They are required for statistical multiplexing. –Queuing theory shows how far higher throughput is possible if queues are included. M/M/1/K queue => If packets arrive at rate, the rate of lost packets is  P(full queue). Rate that packets are transmitted is  (1-P(full queue)) Fractional reduction of packets transmitted is (1-P(full queue)) Conclusion: With longer queues we get higher good-put.

Fundamental problem: Queues and TCP TCP –TCP fills the queue to determine the bandwidth. –The transmission time of a short file is dependent on the RTT, which depends on the queue occupancy. –Faster networks are achieved by smaller queues. (?) TCP fills queues. Long queues cause delay. Small queue capacity decreases good-put. TCP uses the queues in a funny way. Maybe the router can detect that TCP has reached the link bit-rate and then drop packets to inform TCP. This could give small queue occupancy but still have big queues to absorb bursts.

Objectives of AQM Maximize throughput –If the queue is empty, then the link is idle -> a reduction in throughput. –Due to random variations in packet arrivals, the queue occupancy will vary. –If the mean queue occupancy is large, then it is less likely that the queue will ever wander to empty. –In the single bottleneck case, if the queue capacity is the same as the bottleneck delay product, then the queue will never empty. Minimize queue size –Voice-over-IP requires a delay of no more than 250ms. A 10Mbps link with 1500B packets. A queue of about 200 packets will cause 250ms queuing delay. –Of course a few late packets are permissible, but a long string of late packets would degrade the quality. –Average Google web page is 40KB = 26 packets = 6 RTT (including SYN, but not including DNS). 25ms RTT => 150 ms transfer time ~ ms RTT => 1.5 s transfer time not zero. Objective: full throughput but with small queuing delay. Maximize the time in which the queue is not empty with a bound on the queue occupancy, or on the probability of the queue exceeding some occupancy.

Objectives of AQM No bias against bursty traffic. –TCP sends packets in bursts. –The burst size is approximately the size of the cwnd. –Flows with large RTT will send a large number of packets in a burst. –Drop tail queues will tend to drop packets that arrive in bursts. Hence, these flows are treated unfairly. –AQM should attempt to solve this problem.

Global Synchronization If several flows share the same bottleneck and have the same RTT, they will synchronize. This synchronization will give the optimal throughput. If the RTTs are different, then weird synchronizations can happen where some flows get a huge amount of the bandwidth. In simulation, such synchronization is very difficult to avoid. If packets are dropped randomly, as most AQM schemes do, then there is not synchronization. However, if there are short flows, then synchronization does not occur. End-host random delay also can get rid of synchronization. It is not known if synchronization occurs in real networks. It appears to be more likely in high-speed networks.

Protect against “non-conformant” TCP flows If a flow sends packets very fast, the queue will fill and all flows sharing the bottleneck will receive drops. TCP flows will decrease their bit-rate. If a non-TCP flow sends too fast, the TCP flows will starve. The router should detect such situations and drop the non- TCP flow’s packets.

stability AQM/TCP is a closed-loop feedback system, hence stability is a concern. If the system is unstable, then the queue occupancy and flow bit-rates might wildly oscillate. On the other hand, as long as the queue never empties and never fills too far, then stability doesn’t matter. A huge amount of research has focused on the stability issue. But only on the infinitely long flow case.

Ease of use Network operators should not need a Ph.D. to setup the AQM (routing is hard enough). Complicated systems are difficult to understand and might bring unforeseen problems/weaknesses. The Internet is necessary for economic vitality. Complicated protocols are likely to be implemented incorrectly. This might cause other unforeseen problems. Complicated schemes are viewed as being non-robust and hence are not trusted by network operators. Reliability takes precedence over performance.

AQM schemes Drop tail - the first and the most widely used. RED (random early discard/detection) Sally Floyd and Van Jacobson, 1993 K th packet arrives at  k Smoothed/filtered queue occupancy q f(q) - marking probability min th max th qmax max p RED q min th max th qmax max p f(q) - marking probability Gentle RED

Adaptive RED (ARED) RED’s parameters are difficult to adjust. They seem to depend on the number of flows and the RTT of the flows. ARED dynamically adjusts max p to account for random variations in the traffic. m denotes the sample, T denotes the sample period, usually 0.5 seconds The ARED paper says that maxp is AIMD, but this is only true of maxp<4%!

Linear Control Theoretic – PI Controller TCP model: This is a nonlinear ODE, near an operating point, a linear model can be found. A proportional integral controller is used, i.e. the transfer function from queue occupancy to dropping probability is Queue dynamics

REM (random exponential marking) A variable r is maintained q * is the desired queue occpancy (0?) (k) is the arrival rate during the k th sample C is link capacity T is the sample period Loss probability during the kth sample interval is

Adaptive Virtual Queue (AVQ) Objective is to keep queue empty. Most AQM methods could be extended to the virtual queue case. Two queues: a virtual one and a real one When a packet arrives, it is put in the real queue and a token is put in the virtual queue. Packets in the real queue are served at the rate of the real link. Tokens in the virtual queue are served at the virtual bit-rate (given below). If the virtual queue fills, then the real packet is dropped.  - user parameter  - desired utilization (t) - arrival rate at time t

The Effects of Active Queue Management on Web Performance sigcomm 2003 – Le, Aikat, Jeffay, Smith Monitored the UNC network to determine realistic network traffic. Applied this type of traffic to an experimental network (not simulations, well not really). Conclusions –At 80% utilization, all AQM schemes performed the same. –At 90% utilization, if ECN was not used, then all AQM schemes yields the same performance. –At 90% utilization, if ECN is used, then PI and REM work the best –ARED works the worst. The experiment is a bit funny because all AQM methods tested were designed for long- lived flows and yet the test was for short-lived flows.

The Effects of Active Queue Management on Web Performance Experimental set-up Traffic – From a large data collection project, the file size and “think” times for HTTP traffic was determined. Calibration – With the bottleneck set at 1Gbps, the number of “users” was found that produce an average demand of 80Mbps, 90Mbps, 98Mbps and 105Mbps. Experiment – With a 1Mbps bottleneck, the number of users was set according to the demands found during calibration. PI, REM, and ARED were tested at each demand.

Results Without ECN droptail, PI, and REM all perform the same. ARED is a bit worst. PI is slightly better. The highest utilization and smallest loss probability is with drop tail and a large queue.

Results with ECN

At 105% demand, the difference between drop-tail and PI/REM and larger

conclusions ARED is an ad hoc scheme REM and PI are better thoughtout and seem to work better. But, without ECN these schemes don’t bring any benefit. One possible reason is that for large drop probability, TCP times out and no scheme considers the effect of timeout. Another problem with PI and REM is they are developed for long-lived flows and the experiment as well as the Internet is has a significant amount of traffic from short-flows.