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.

Slides:



Advertisements
Similar presentations
Martin Suchara, Ryan Witt, Bartek Wydrowski California Institute of Technology Pasadena, U.S.A. TCP MaxNet Implementation and Experiments on the WAN in.
Advertisements

Fair Queueing. Design space Buffer management: –RED, Drop-Tail, etc. Scheduling: which flow to service at a given time –FIFO –Fair Queueing.
RED-PD: RED with Preferential Dropping Ratul Mahajan Sally Floyd David Wetherall.
Computer Networking Lecture 20 – Queue Management and QoS.
1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
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.
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
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.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
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.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
1 Core Stateless Fair Queueing Ion Stoica Hui Zhang Scott Shenker CMU CMU Xerox PARC CMU CMU Xerox PARC.
By Sam Rossoff. The Red Police Controlling High- Bandwidth Flows at the Congested Router By Ratul Mahajan Sally Floyd and David Wetherall.
1 Core-Stateless Fair Queueing: A Scalable Architecture to Approximate Fair Bandwidth Allocations in High Speed Networks Core-Stateless Fair Queueing:
High speed TCP’s. Why high-speed TCP? Suppose that the bottleneck bandwidth is 10Gbps and RTT = 200ms. Bandwidth delay product is packets (1500.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
Congestion Control and Resource Allocation
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,
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.
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.
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.
Lightweight Active Router-Queue Management for Multimedia Networking M. Parris, K. Jeffay, and F.D. Smith Department of Computer Science University of.
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
UCB Improvements in Core-Stateless Fair Queueing (CSFQ) Ling Huang U.C. Berkeley cml.me.berkeley.edu/~hlion.
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.
Advance Computer Networking L-5 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
ACN: CSFQ1 CSFQ Core-Stateless Fair Queueing Presented by Nagaraj Shirali Choong-Soo Lee ACN: CSFQ1.
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.
Presented by: Peng Wang EE Department University of Delaware A Probabilistic Approach for Achieving Fair Bandwidth Allocation in CSFQ.
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.
Packet Scheduling and Buffer Management Switches S.Keshav: “ An Engineering Approach to Networking”
TCP with Variance Control for Multihop IEEE Wireless Networks Jiwei Chen, Mario Gerla, Yeng-zhong Lee.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
Winter 2008CS244a Handout 81 CS244a: An Introduction to Computer Networks Handout 8: Congestion Avoidance and Active Queue Management Nick McKeown Professor.
Scheduling CS 218 Fall 02 - Keshav Chpt 9 Nov 5, 2003 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
1 Core-Stateless Fair Queueing: A Scalable Architecture to Approximate Fair Bandwidth Allocations in High Speed Networks Core-Stateless Fair Queueing:
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Weighted Fair Queuing Some slides used with.
XCP: eXplicit Control Protocol Dina Katabi MIT Lab for Computer Science
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Corelite Architecture: Achieving Rated Weight Fairness
QoS & Queuing Theory CS352.
Chapter 3 outline 3.1 transport-layer services
CS 268: Computer Networking
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
TCP, XCP and Fair Queueing
Advance Computer Networking
Computer Science Division
Max Min Fairness How define fairness?
Advance Computer Networking
Project-2 (20%) – DiffServ and TCP Congestion Control
15-744: Computer Networking
Transport Layer: Congestion Control
Congestion Control and Resource Allocation
Presentation transcript:

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 form of FQ essential for efficient, fair congestion control in the backbone network Proposed solution: (a) per flow accounting and rate labeling at edge routers (b) packets carry rate labels (eg, in TOS field) (c ) stateless FQ at core routers: no per flow state kept; packet drop probability computed from pkt label

Key Elements of CSFQ Edge router estimates current rate of each flow and stamps it in IP header (eg, TOS field) Flow rate value adjusted as pkt travels through various bottlenecks in the backbone Core router estimates max/min fair share on its links based on aggregate traffic measurements Core router probabilistically drops packets in a flow which exceeds fair share

Fair Share Computation at Router Assume N flows arrive at core router Each flow rate r(i) is known precisely (fluid flow approx) Max-Min fair operation: (a) all bottlenecked flows get “fair share” rate “a “ (the excess rate is dropped) (b) non-bottlenecked flows are granted their full rate Thus: Sum (over i = 1..N) of min{ r(i,t), a(t) } = C where C = trunk capacity

Fair Share Computation (cont) If all r(i) are known at the router, fair share a can be easily computed:

Probabilistic Dropping at Router If aggregate arrival rate A < C, no pkt is dropped If A > C (ie, congested link): (a) bottlenecked flow ( ie, r(i,t) > a(t)): drop the fraction of “bits” above the fair share, ie (r(i,t) -a(t))/r(i,t) (b) non-bottlenecked flow: no dropping Equivalently: packet drop probability = max (0,1- a(t)/r(i,t)) adjust rate label value: r(i,t) <= min (r(i, t), a(t))

Implementation Details (a) flow arrival rate computation at edge router (exponential averaging): = length of k packet = packet interarrival time Exp = (K=const)

Implementation details (cont) (b) fair share computation at core router: measure aggregate arrival rate A(t) using exp averaging If router is congested (ie, A(t) >C), then: measure (exp avg) the fraction F of bits currently accepted ie, F(t) = current acceptance rate Assume F is a linear function of a (in reality concave function). Then: New fair share value: a(new) = a(old) C/F(t)

Fair Share Computation

More details.. Occasionally, router buffer overflows: then, decrease a(t) by 1% Never increase a(t) by more than 25% Link is considered uncongested until occupancy > 50% of buffer capacity Weighted CSFQ option: if w(i) is the weight of flow i, then: r(i) <= r(i)/w(i)

Simulation Experiments FIFO RED (Random Early Detection) FRED (Flow Random Early Drop, SIGCOMM 97): extension of RED to improve fairness; it keeps state of flows which have one or more pkts in queue; it preferentially drops pkts from flows with large queues DRR (Deficit Round Robin): per flow queueing; drops packets from largest queue

Single Congested Link Experiment 10 Mbps congested link shared by N flows (a) 32 UDP flows with linearly increasing rates (b) single “ill behaved” UDP flow; 31 TCP flows (c) single TCP flow; 31 “ill behaved” UDP flows

Edge and Core Routers

(a) linear rate UDPs; (b) single UDP + 31 TCPs

Single TCP competing with up to 31 UDPs

Multiple congested links

Coexistence of CSFQ and Receiver Layered Multicast: DDR

Coexistence of CSFQ and Receiver Layered Multicast: CSFQ

Coexistence of CSFQ and Receiver Layered Multicast: RED

Conclusions CSFQ does not require per flow state within the core CSFQ performance comparable to DRR (per flow state) superior to FRED (partial per flow state) much better than RED, FIFO (no per flow state) large latency and propagation delay effects (such as on a cross country connection or on a satellite segment) still to be explored use of TOS field potentially controversial