Lightweight Active Router-Queue Management for Multimedia Networking M. Parris, K. Jeffay, and F.D. Smith Department of Computer Science University of.

Slides:



Advertisements
Similar presentations
RED-PD: RED with Preferential Dropping Ratul Mahajan Sally Floyd David Wetherall.
Advertisements

Computer Networking Lecture 20 – Queue Management and QoS.
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.
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.
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.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
Dynamic-CBT Better Performing Active Queue Management for Multimedia Networking Jae Chung and Mark Claypool Computer Science Department Worcester Polytechnic.
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.
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,
Active Queue Management. Fundamental problem: Queues and TCP Queues –Queues are to absorb bursts of packets. –They are required for statistical multiplexing.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, All our slides and papers.
Networks: Congestion Control1 Congestion Control.
COMP680E by M. Hamdi 1 Traffic Managers: Active Queue Management Algorithms.
EE689 Lecture 5 Review of last lecture More on HPF RED.
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
CS 268: Lecture 8 (Router Support for Congestion Control) Ion Stoica February 19, 2002.
Dynamic-CBT and ChIPS – Router Support for Improved Multimedia Performance on the Internet Jae Chung and Mark Claypool Computer Science Department Worcester.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Dynamic-CBT and ChIPS - Router Support for Improved Multimedia Performance on the Internet Jae Chung and Mark Claypool Department of Computer Science WPI.
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
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.
Core Stateless Fair Queueing Stoica, Shanker and Zhang - SIGCOMM 98 Rigorous fair Queueing requires per flow state: too costly in high speed core routers.
Rafael C. Nunez - Gonzalo R. Arce Department of Electrical and Computer Engineering University of Delaware May 19 th, 2005 Diffusion Marking Mechanisms.
Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx,
UCB Improvements in Core-Stateless Fair Queueing (CSFQ) Ling Huang U.C. Berkeley cml.me.berkeley.edu/~hlion.
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,
Core Stateless Fair Queueing Stoica, Shanker and Zhang - SIGCOMM 98 Fair Queueing requires per flow state: too costly in high speed core routers Yet, some.
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.
1 On Class-based Isolation of UDP, Short-lived and Long-lived TCP Flows by Selma Yilmaz Ibrahim Matta Computer Science Department Boston University.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
TCP Trunking: Design, Implementation and Performance H.T. Kung and S. Y. Wang.
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.
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.
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.
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.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
Queue Management Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
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.
QoS & Queuing Theory CS352.
CS 268: Computer Networking
Chapter 6 Congestion Avoidance
Queue Management Jennifer Rexford COS 461: Computer Networks
Congestion Control: The Role of the Routers
Advance Computer Networking
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Random Early Detection Gateways for Congestion Avoidance
COS 461: Computer Networks
CSCD 433/533 Advanced Networks
“Promoting the Use of End-to-End Congestion Control in the Internet”
Presentation transcript:

Lightweight Active Router-Queue Management for Multimedia Networking M. Parris, K. Jeffay, and F.D. Smith Department of Computer Science University of North Carolina Multimedia Computing and Networking (MMCN) January 1999

Outline Problem –Supporting multimedia on the Internet Context –Drop Tail –RED –FRED Approach –CBT Evaluation Conclusion

Congestion on the Internet Congestion Collapse Goodput Throughput Goodput Throughput Congestion Avoidance Drops are the usual way congestion is indicated TCP uses congestion avoidance to reduce rate

Internet Routers Typically, drop when queue is full (Drop Tail) Router Queue (Who gets dropped can determine Fairness)  Queue to hold incoming packets until can be sent Avg

Router-Based Congestion Control Solution 2: Closed-loop congestion control Normally, packets are only dropped when the queue overflows –“Drop-tail” queueing Routing Inter-networkInter-network ISP Router ISP Router P1P1 P2P2 P3P3 P4P4 P5P5 P6P6 FCFS Scheduler

Buffer Management & Congestion Avoidance The case against drop-tail Large queues in routers are a bad thing –End-to-end latency is dominated by the length of queues at switches in the network Allowing queues to overflow is a bad thing –Connections that transmit at high rates can starve connections that transmit at low rates –Causes connections to synchronize their response to congestion and become unnecessarily bursty P1P1 P2P2 P3P3 P4P4 FCFS Scheduler FCFS Scheduler P5P5 P6P6

Buffer Management & Congestion Avoidance Random early detection (RED) packet drop Use an exponential average of the queue length to determine when to drop –Accommodates short-term bursts Tie the drop probability to the weighted average queue length –Avoids over-reaction to mild overload conditions Max threshold Min threshold Average queue length Forced drop Probabilistic early drop No drop Time Drop probability Max queue length

Buffer Management & Congestion Avoidance Random early detection (RED) packet drop Amount of packet loss is roughly proportional to a connection’s bandwidth utilization –But there is no a priori bias against bursty sources Average connection latency is lower Average throughput (“goodput”) is higher Max threshold Min threshold Average queue length Time Drop probability Max queue length Forced drop Probabilistic early drop No drop

Buffer Management & Congestion Avoidance Random early detection (RED) packet drop RED is controlled by 5 parameters –qlen — The maximum length of the queue –w q — Weighting factor for average queue length computation –min th — Minimum queue length for triggering probabilistic drops –max th — Queue length threshold for triggering forced drops –max p — The maximum drop probability Max threshold Min threshold Average queue length Forced drop Probabilistic early drop No drop Time Drop probability Max queue length

Random Early Detection Algorithm The average queue length computation needs to be low pass filtered to smooth out transients due to bursts –ave = (1 – w q )ave + w q q for each packet arrival: calculate the average queue size ave if ave ≤ min th do nothing else if min th ≤ ave ≤ max th calculate drop probability p drop arriving packet with probability p else if max th ≤ ave arriving packet drop the arriving packet

Buffer Management & Congestion Avoidance Random early detection (RED) packet drop Max threshold Min threshold Average queue length Time Drop probability Max queue length Forced drop Probabilistic early drop No drop 100% Drop probability max p WeightedAverage Queue Length minmax

Random Early Detection Performance Floyd/Jacobson simulation of two TCP (ftp) flows

Random Early Detection (RED) Summary Controls average queue size Drop early to signal impending congestion Drops proportional to bandwidth, but drop rate equal for all flows Unresponsive traffic will still not slow down!

RED Vulnerability to Misbehaving Flows TCP performance on a 10 Mbps link under RED in the face of a “UDP” blast

Packet Scheduler Router-Based Congestion Control Dealing with heterogeneous/non-responsive flows TCP requires protection/isolation from non- responsive flows Solutions? –Employ fair-queuing/link scheduling mechanisms –Identify and police non-responsive flows (not here) –Employ fair buffer allocation within a RED mechanism Classifier

Packet Scheduler Dealing With Non-Responsive Flows Isolating responsive and non-responsive flows Class-based Queuing (CBQ) (Floyd/Jacobson) provides fair allocation of bandwidth to traffic classes –Separate queues are provided for each traffic class and serviced in round robin order (or weighted round robin) –n classes each receive exactly 1/n of the capacity of the link Separate queues ensure perfect isolation between classes Drawback: ‘reservation’ of bandwidth and state information required Classifier

Dealing With Non-Responsive Flows CBQ performance Time (seconds) TCP Throughput (Kbytes/s) ,000 1,200 1,400 UDP Bulk Transfer FIFO RED CBQ

Dealing With Non-Responsive Flows Fair buffer allocation Isolation can be achieved by reserving capacity for flows within a single FIFO queue –Rather than maintain separate queues, keep counts of packets in a single queue Lin/Morris: Modify RED to perform fair buffer allocation between active flows –Independent of protection issues, fair buffer allocation between TCP connections is also desirable FCFS Scheduler Classifier f1f1 fnfn...

Flow Random Early Detect (FRED) In RED, 10 Mbps  9 Mbps and 1Mbps .9 Mbps –Unfair In FRED, leave 1 Mbps untouched until 10 Mbps is down Separate drop probabilities per flow “Light” flows have no drops, heavy flows have high drops

Flow Random Early Detection Performance in the face of non-responsive flows TCP Throughput (KBytes/sec) ,000 1,200 1,400 UDP Bulk Transfer FRED RED Time(secs)

Congestion Avoidance v. Fair-Sharing TCP throughput under different queue management schemes TCP performance as a function of the state required to ensure/approximate fairness ,000 1,200 1,400 UDP Bulk Transfer FIFO RED FRED CBQ TCP Throughput (KBytes/sec)

Queue Management Recommendations Recommend (Braden 1998, Floyd 1998) –Deploy RED +Avoid full queues, reduce latency, reduce packet drops, avoid lock out –Continue research into ways to punish aggressive or misbehaving flows Multimedia –Does not use TCP +Can tolerate some loss +Price for latency is too high –Often low-bandwidth –Delay sensitive

Outline Problem –Supporting multimedia on the Internet Context –Drop Tail –RED –FRED Approach –CBT Evaluation Conclusion

Goals Isolation –Responsive (TCP) from unresponsive –Unresponsive: multimedia from aggressive Flexible fairness –Something more than equal shares for all Lightweight –Minimal state per flow Maintain benefits of RED –Feedback –Distribution of drops

Class-Based Threshold (CBT) Designate a set of traffic classes and allocate a fraction of a router’s buffer capacity to each class Once a class is occupying its limit of queue elements, discard all arriving packets Within a traffic class, further active queue management may be performed Classifier fn ≤fn ≤ f1 ≤f1 ≤ f2 ≤f2 ≤... FCFS Scheduler

Class-Based Threshold (CBT) Isolation –Packets are classified into 1 of 3 classes –Statistics are kept for each class Flexible fairness –Configurable thresholds determine the ratios between classes during periods of congestion Lightweight –State per class and not per flow –Still one outbound queue Maintain benefits of RED –Continue with RED policies for TCP

CBT Implementation Implemented in Alt-Q on FreeBSD Three traffic classes: –TCP –marked non-TCP (“well behaved UDP”) –non-marked non-TCP(all others) Subject TCP flows get RED and non-TCP flows to a weighted average queue occupancy threshold test

Class-Based Thresholds Evaluation Compare: –FIFO queuing (Lower bound baseline) –RED (The Internet of tomorrow?) () –FRED (RED + Fair allocation of buffers) –CBT () –CBQ (Upper bound baseline) Router Router Inter- network

Router Inter- network CBT Evaluation Experimental design ProShare - Unresponsive MM (210Kbps each) 240 FTP-TCP 1 UDP blast (10Mbps, 1KB) RED Settings: qsize = 60 pkts max-th = 30 pkts min-th = 15 pkts Wq = max-p = 0.1 CBT Settings: mm-th = 10 pkts udp-th = 2 pkts Throughput and Latency

CBT Evaluation TCP Throughput ,000 1,2001,400 TCP Throughput (kbps) Elapsed Time (s) UDP Bulk Transfer FIFO RED FRED CBT CBQ

CBT Evaluation TCP Throughput ,000 1,2001,400 UDP Bulk TransferCBT CBQ TCP Throughput (kbps) Elapsed Time (s)

CBT Evaluation ProShare (marked UDP) latency Latency(ms) Elapsed Time (s) FIFO RED FRED CBT CBQ CBT = 1% Loss CBQ = 0% Loss FIFO = 32% LossFRED = 36% Loss RED = 30% Loss

Conclusion RED/FIFO scheduling not sufficient –Aggressive unresponsive flows cause trouble –Low bandwidth unresponsive (VoIP) punished CBT provides –Benefits of RED for TCP only traffic –Isolation of TCP vs. Unresponsive –Isolation of Aggressive vs. Low Bandwidth –Lightweight overhead

Future Work?

Future Work How to pick thresholds? –Implies reservation –Dynamic adjustments of thresholds (D-CBT) Additional queue management for classes –Classes use “Drop Tail” now Extension to other classes –Voice –Video