Max Min Fairness How define fairness?

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 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.
1 Updates on Backward Congestion Notification Davide Bergamasco Cisco Systems, Inc. IEEE 802 Plenary Meeting San Francisco, USA July.
Ahmed Mansy, Mostafa Ammar (Georgia Tech) Bill Ver Steeg (Cisco)
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.
The War Between Mice and Elephants LIANG GUO, IBRAHIM MATTA Computer Science Department Boston University ICNP (International Conference on Network Protocols)
Ion Stoica, Scott Shenker, and Hui Zhang SIGCOMM’98, Vancouver, August 1998 subsequently IEEE/ACM Transactions on Networking 11(1), 2003, pp Presented.
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.
1 Core-Stateless Fair Queueing: A Scalable Architecture to Approximate Fair Bandwidth Allocations in High Speed Networks Core-Stateless Fair Queueing:
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.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 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 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.
1 Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks Ion Stoica,Scott Shenker, and Hui Zhang SIGCOMM’99,
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.
Random Early Detection Gateways for Congestion Avoidance
1 Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks Ion Stoica,Scott Shenker, and Hui Zhang SIGCOMM’99,
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.
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.
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
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.
ACN: CSFQ1 CSFQ Core-Stateless Fair Queueing Presented by Nagaraj Shirali Choong-Soo Lee ACN: CSFQ1.
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.
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 Aggregate Traffic Performance with Active Queue Management and Drop from Tail Christophe Diot, Gianluca Iannaccone, Martin May Sprint ATL, Università.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
Packet Scheduling and Buffer Management Switches S.Keshav: “ An Engineering Approach to Networking”
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.
1 Core-Stateless Fair Queueing: A Scalable Architecture to Approximate Fair Bandwidth Allocations in High Speed Networks Core-Stateless Fair Queueing:
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
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.
Corelite Architecture: Achieving Rated Weight Fairness
QoS & Queuing Theory CS352.
CS 268: Computer Networking
Blue: An Alternative Approach to Active Queue Management
Topics discussed in this section:
Congestion Control: The Role of the Routers
Router-Assisted Congestion Control
Congestion Control and Resource Allocation
Core-Stateless Fair Queueing: A Scalable Architecture to Approximate Fair Bandwidth Allocations in High Speed Networks Ion Stoica, Scott Shenker, and Hui.
Columbia University in the city of New York
Advance Computer Networking
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Random Early Detection Gateways for Congestion Avoidance
Advanced Computer Networks
Title: An Adaptive Queue Management Method for Congestion Avoidance in TCP/IP Networks Presented By: Frank Posluszny Vishal Phirke Matt Hartling 12/31/2018.
April 10, 2006, Northwestern University
Congestion Control and Resource Allocation
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:

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 others Other definitions Network usage depends on the resource consumption by the session Pay/bid for what you use

A Simple Example Max-min allocation: 1/3, 1/3, 1/3, 2/3

How to Calculate Max Min Flow Share Fluid model: Increase the flow until some pipe fills-up. Fix the bandwidth of the bottleneck flows Continue with the unfixed flows Can be done efficiently by calculating the bottleneck link at step 1

Buffer management and admission control Simplest admission policy: Accept packets until buffer is full (tail drop) We already saw: Tail drop is not kind to TCP flows RED can be used to avoid tail drop

Reminder: Hallelujah for RED Random early detection (RED) makes three improvements Metric is moving average of queue lengths small bursts pass through unharmed only affects sustained overloads Packet drop probability is a function of mean queue length prevents severe reaction to mild overload Can mark packets instead of dropping them allows sources to detect network state without losses RED improves performance of a network of cooperating TCP sources No bias against bursty sources Controls queue length regardless of endpoint cooperation ECN

How does it work? gentle RED RED Average Q size Drop probability Max-thresh 2*Max-thresh max-p 1

So problem is solved? Fairly easy to implement in hardware! Can work in wire-speed! All we need to do is set the parameters…..right  Turns out there is no universal good set of parameters Some studies show RED has NO advantage over tail drop. WHY?

parameters avgQ= (1-wq)avgQ+wqq Floyd-Jacobson: Wq: 0.002, not less than 0.001 max_p: 1/50, max_th: at least twice min_th max_th-min_th larger than the q increase in RTT Future work …..

So does it help us to surf? Tuning RED for Web Traffic, Christiansen et al., SIGCOMM 2000 compared to a (properly configured) FIFO queue, RED has a minimal effect on HTTP response times for offered loads up to 90% of link capacity, response times at loads in this range are not substantially effected by RED control parameters, between 90% and 100% load, RED can be carefully tuned to yield performance somewhat superior to FIFO, however, response times are quite sensitive to the actual RED parameter values selected, and in such congested networks, RED parameters that provide the best link utilization produce poorer response times.

SPRINT study (Diot et al.) A parallel study, presented at NANOG 2000 Testbed with CISCO routers (7500) with Dummynet used “recommended” RED and GRED parameters Heterogeneous delays (120 to 180 ms)

Traffic characteristics 16 to 256 TCP connections sharing the bottleneck. Experimental traffic generated by Chariot long-lived TCP connections. more “realistic” traffic mix: 90% short lived TCP connections (up to 20 packets) 10 % long lived TCP connections 1Mbps UDP in both cases

Testbed (CISCO routers) 7500 7500 10 Megs

Testbed (Dummynet) 7500 7500 10 Megs Dummy net 100 Megs

What is Dummynet? application dummynet network

Metrics observed Aggregate goodput through a router TCP and UDP loss rate Consecutive losses Queuing behavior

Aggregate goodput (long-lived TCP)

256 short and long lived TCP connections

Consecutive packet losses (long lived)

…if we use “optimal” RED parameters

Consecutive packet losses (realistic traffic mix)

Queuing behavior (256 long lived connections)

Queuing behavior (256 connections, realistic mix)

Diot’s summary No significant difference on goodput, TCP losses and UDP losses. On consecutive losses, clear advantage to GRED and GRED-I. “gentle” modification solves many RED problems. Oscillations: no clear winner. Traffic seems to be the determining factor.

From the ISP standpoint ... Not clear there is an advantage in deploying RED, GRED, or GRED-I. Maybe GRED-I is an option if one can find a “universal” exponential dropping function. ECN will work with any scheme. Not clear the solution is in the AQM space.

GRED-I with exponential dropping function 1 buffer size

About Fair Queuing ... Not only feasible … easy at the edges! www.agere.com (an example) vendors support from 64k to 200k flows Really fair everybody gets what he/she paid for local signaling (end host to CPE)

fair queueing at the edge Core-stateless fair queueing WFQ is hard to do at the core Edge routers estimate rate and label packets Core routers maintain FIFO queues and drop based on label

CSFQ summary Better than FIFO and RED Similar to FRED Not as good as DRR

Rainbow fair queueing Similar to CSFQ Have similar performance as CSFQ Enable applications to mark packets and achieve better goodput

Rainbow Fair Queueing (RFQ) Example A: 10 Kbps B: 6 Kbps C: 8 Kbps Each layer: 2 Kbps

RFQ: basic mechanism (1) the estimation of the flow arrival rate at the edge routers (2) the selection of the rates for each color (3) the assignment of colors to packets (4) the core router algorithm

Rainbow Fair Queueing (RFQ) (1) the estimation of the flow arrival rate at the edge routers rinew: arrival rate tik: arrival time of flow I lik: length of the kth packet of flow I K: a constant Tik = tik – tik-1

Rainbow Fair Queueing (RFQ) (2) the selection of the rates for the rates for each color ci: i color average rate of packets N: total number of colors and multiple of b a,b: determine the block structure P: the maximum flow rate in the network

Rainbow Fair Queueing (RFQ): Example N=8 a=b=2 c0 c1 c2 c3 c4 c5 c6 c7 P/16 P/16 P/16 P/16 P/8 P/8 P/4 P/4

Rainbow Fair Queueing (RFQ) (3) the assignment of colors to packets Suppose the current estimate of the flow arrival rate is r, and j is the smallest value satisfying . Then the current packet is assigned color with probability .

Conditions to decrease color: (4) the core router algo. Conditions to decrease color: q threshold Flow bw Positive gradient Hold you horses Conditions to increase color Time Flow below service rate

Rainbow Fair Queueing (RFQ) Weighted RFQ wi: weight for flow i cj = wicj

Simulations: A single congested link

Fairness: flow i sends at 0.313i

Throughput: TCP flow

Throughput: UDP flows

Control Responsiveness 10Mbps: 8x1M7x1M+8M

Simulations: Performance Effects of Buffer Size

Simulations: TCP Performance Under Various round Trip Delay