Advanced Computer Networking

Slides:



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

RED Enhancement Algorithms By Alina Naimark. Presented Approaches Flow Random Early Drop - FRED By Dong Lin and Robert Morris Sabilized Random Early Drop.
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 268: Lecture 8 Router Support for Congestion Control Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
Microscopic Behavior of Internet Control Xiaoliang (David) Wei NetLab, CS&EE California Institute of Technology.
Md. Manzoor MurshedAdaptive RED with Dynamic Threshold Adjustment CprE599: Creative Component Adaptive RED with Dynamic Threshold Adjustment.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
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.
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.
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
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.
Improving Adaptability and Fairness in Internet Congestion Control May 30, 2001 Seungwan Ryu PhD Student of IE Department University at Buffalo.
EE689 Lecture 5 Review of last lecture More on HPF RED.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED Vishal Misra Wei-Bo Gong Don Towsley University of Massachusetts,
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.
Random Early Detection Gateways for Congestion Avoidance
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.
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.
Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED Vishal Misra Wei-Bo Gong Don Towsley University of Massachusetts,
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.
Acknowledgments S. Athuraliya, D. Lapsley, V. Li, Q. Yin (UMelb) S. Adlakha (UCLA), J. Doyle (Caltech), K. Kim (SNU/Caltech), F. Paganini (UCLA), J. Wang.
Stochastic Fair Blue: A Queue Management Algorithm for Enforcing Fairness W. Feng, D. Kandlur, D. Saha, and K. Shin Presented by King-Shan Lui.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
The Impact of Active Queue Management on Multimedia Congestion Control Wu-chi Feng Ohio State University.
15744 Course Project1 Evaluation of Queue Management Algorithms Ningning Hu, Liu Ren, Jichuan Chang 30 April 2001.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
A Self-Configuring RED Gateway Wu-chang Feng, Dilip Kandlur, Debanjan Saha, Kang Shin INFOCOM ‘99.
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.
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.
SRED: Stabilized RED T. Ott, T.V. Lakshman, L. Wong Presented by King-Shan Lui.
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.
Other Methods of Dealing with Congestion
Chapter 6 Congestion Avoidance
Congestion Control: The Role of the Routers
Router-Assisted Congestion Control
TCP Congestion Control
TCP Congestion Control
Advance Computer Networking
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Random Early Detection Gateways for Congestion Avoidance
Other Methods of Dealing with Congestion
FAST TCP : From Theory to Experiments
Other Methods of Dealing with Congestion
TCP Congestion Control
Understanding Congestion Control Mohammad Alizadeh Fall 2018
Presentation transcript:

Advanced Computer Networking Active Queue Management

TCP & AQM Example congestion measure pl(t) Loss (Reno) DropTail RED REM,PI,AVQ xi(t) TCP: Reno Vegas Example congestion measure pl(t) Loss (Reno) Queuing delay (Vegas) behnam shafagaty

Active queue management Main idea :: provide congestion information by some indications. Issues How to measure congestion? How to feed back congestion info? behnam shafagaty

Active Queue Management 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). behnam shafagaty

Algorithm 1: Drop Tail FIFO queuing mechanism that drops packets from the tail when the queue overflows. Introduces global synchronization when packets are dropped from several connections. behnam shafagaty

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 p. Reduces global synchronization Does not control misbehaving users (UDP) behnam shafagaty

RED/ECN Router Mechanism 1 Dropping/Marking Probability maxp minth maxth Queue Size Average Queue Length behnam shafagaty

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 mark all the arriving packet. behnam shafagaty

avg - average queue length avg=(1–wq)xavg+wq xq 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. behnam shafagaty

RED drop probability ( pa ) pb = maxp x (avg - minth)/(maxth – minth) then pa = pb/ (1 - count x pb) Where, count is number of consecutive packets queued since last discard while in the critical region. behnam shafagaty

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 maxth - minth is larger than typical increase in calculated average queue size in one round-trip time. “parameter setting rule”: maxth at least twice minth . However, maxth = 3 times minth is used in some of the experiments shown. behnam shafagaty

Packet-marking probability The goal is to uniformly spread out the marked packets. This reduces global synchronization. Method 1: geometric random variable When each packet is marked with probability pb,, the packet inter-marking time, X, is a geometric random variable with E[X] = 1/pb. This distribution will both cluster packet drops and have some long intervals between drops!! behnam shafagaty

packet-marking probability Method 2: uniform random variable Mark packet with probability pb/ (1 - count x pb) where count is the number of unmarked packets that have arrived since last marked packet. behnam shafagaty

Method 1: geometric p = 0.02 Method 2: uniform p = 0.01 Result :: marked packets more clustered for method 1  Uniform is better at eliminating “bursty drops” behnam shafagaty

{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.} behnam shafagaty

RED Implementation Performance Probabilistically drop packets Probabilistically mark packets Marking requires ECN bit (RFC 2481) Performance Desynchronization works well Extremely sensitive to parameter setting Fail to prevent buffer overflow as #sources increases behnam shafagaty

Variant: ARED (Feng, Kandlur, Saha, Shin 1999) Motivation: RED extremely sensitive to #sources Idea: adapt maxp to load If avg. queue < minth, decrease maxp If avg. queue > maxth, increase maxp No per-flow information needed Feng, Kandlur, Saha and Shin, “A self-configuring RED gateway”, IEEE Infocom, pp. 1320-1328, March, 1999, New York, NY ARED = Adaptive RED behnam shafagaty

Variant: FRED (Ling & Morris 1997) Motivation: marking packets in proportion to flow rate is unfair (e.g., adaptive vs unadaptive flows) Idea: A flow can buffer up to minq packets without being marked A flow that frequently buffers more than maxq packets gets penalized All flows with backlogs in between are marked according to RED No flow can buffer more than avgcq packets persistently Need per-active-flow accounting Source: D. Lin and R. Morris, “Dynamics of RED”, ACM Sigcomm, Sept, 1997 FRED = Flow RED behnam shafagaty

Variant: SRED (Ott, Lakshman & Wong 1999) Motivation: wild oscillation of queue in RED when load changes Idea: Estimate number N of active flows An arrival packet is compared with a randomly chosen active flows N ~ prob(Hit)-1 cwnd~p-1/2 and Np-1/2 = Q0 implies p = (N/Q0)2 No per-flow information needed T. J. Ott, T. V. Lakshman, L. H. Wong, “SRED: Stabilized RED”, Infocom’99, pp. 1346-1355, March 1999, New York, NY Heuristics: sum of all cwnd’s, sum over all sources, should be roughly Q_0, the target buffer occupancy. This implies a random loss probability p. m(q) is a piecewise constant probability, taking values in {0, p_max/4, p_max}, as a function of instantaneous queue length q. behnam shafagaty

Variant: BLUE (Feng, Kandlur, Saha, Shin 1999) Idea: perform queue management based directly on packet loss and link utilization rather than on the instantaneous or average queue lengths. behnam shafagaty

REM (Athuraliya & Low 2000) Congestion measure: price pl(t+1) = [pl(t) + g(al bl(t)+ xl (t) - cl )]+ Embedding: exponential probability function Feedback: dropping or ECN marking behnam shafagaty

Key features Clear buffer and match rate Sum prices Clear buffer behnam shafagaty

Active Queue Management pl(t) G(p(t), x(t)) DropTail loss [1 - cl/xl (t)]+ (?) RED queue [pl(t) + xl(t) - cl]+ Vegas delay [pl(t) + xl (t)/cl - 1]+ REM price [pl(t) + g(al bl(t)+ xl (t) - cl )]+ x(t+1) = F( p(t), x(t) ) p(t+1) = G( p(t), x(t) ) Reno, Vegas DropTail, RED, REM behnam shafagaty

Congestion & performance pl(t) G(p(t), x(t)) Reno loss [1 - cl/xl (t)]+ (?) Reno/RED queue [pl(t) + xl(t) - cl]+ Reno/REM price [pl(t) + g(al bl(t)+ xl (t) - cl )]+ Vegas delay [pl(t) + xl (t)/cl - 1]+ Decouple congestion & performance measure RED: `congestion’ = `bad performance’ REM: `congestion’ = `demand exceeds supply’ But performance remains good! behnam shafagaty

TCP/AQM Models behnam shafagaty

TCP & AQM Example congestion measure pl(t) Loss (Reno) xi(t) Example congestion measure pl(t) Loss (Reno) Queueing delay (Vegas) behnam shafagaty

Macroscopic View of TCP Control TCP/AQM: A feedback control system C TCP Sender 1 TCP Receiver 1 TCP Sender 2 TCP Receiver 2 xi(t) τF q(t) τB TCP: Reno Vegas FAST AQM: DropTail / RED Delay ECN Fluid models are the most commonly used examples. There are also discrete time models – timescale is not clear in these discrete time model c: link behnam shafagaty

Fluid Models Assumptions: TCP algorithms directly control the transmission rates; The transmission rates are differentiable (smooth); Each TCP packet observes the same congestion price (loss, delay or ECN) behnam shafagaty

Protocol (Reno, Vegas, RED, REM/PI…) Outline Protocol (Reno, Vegas, RED, REM/PI…) Equilibrium Performance Throughput, loss, delay Fairness Utility Dynamics Local stability Cost of stabilization behnam shafagaty