Core Stateless Fair Queueing Stoica, Shanker and Zhang - SIGCOMM 98 Rigorous fair Queueing requires per flow state: too costly in high speed core routers.

Slides:



Advertisements
Similar presentations
Fair Queueing. Design space Buffer management: –RED, Drop-Tail, etc. Scheduling: which flow to service at a given time –FIFO –Fair Queueing.
Advertisements

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.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
1 End to End Bandwidth Estimation in TCP to improve Wireless Link Utilization S. Mascolo, A.Grieco, G.Pau, M.Gerla, C.Casetti Presented by Abhijit Pandey.
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.
1 Updates on Backward Congestion Notification Davide Bergamasco Cisco Systems, Inc. IEEE 802 Plenary Meeting San Francisco, USA July.
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:
Nick McKeown CS244 Lecture 6 Packet Switches. What you said The very premise of the paper was a bit of an eye- opener for me, for previously I had never.
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
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.
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,
Enhancing TCP Fairness in Ad Hoc Wireless Networks Using Neighborhood RED Kaixin Xu, Mario Gerla University of California, Los Angeles {xkx,
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.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
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.
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.
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 IEEE Meeting July 19, 2006 Raj Jain Modeling of BCN V2.0 Jinjing Jiang and Raj Jain Washington University in Saint Louis Saint Louis, MO
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.
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
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.
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:
XCP: eXplicit Control Protocol Dina Katabi MIT Lab for Computer Science
Congestion Avoidance Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
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
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
Max Min Fairness How define fairness?
Advance Computer Networking
15-744: Computer Networking
Project-2 (20%) – DiffServ and TCP Congestion Control
Transport Layer: Congestion Control
Congestion Control and Resource Allocation
Presentation transcript:

Core Stateless Fair Queueing Stoica, Shanker and Zhang - SIGCOMM 98 Rigorous 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) packet state: packets carry rate labels (eg, in TOS field) (c ) stateless FQ at core routers: no per flow state kept; packet drop probability computed directly from pkt label

Key Elements of CSFQ Edge router estimates current rate r(i) 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 stamped in header Max-Min fair operation: (a) all bottlenecked flows get “fair share” rate “a “ (the excess rate packets are dropped) (b) non-bottlenecked flows are granted their full rate Thus, at full trunk utilization: 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: (a) try an arbitrary fair share threshold a(0) (b) from “fair share” formula compute the resulting link throughput R (c) compute new value a(1) = C/R (d) go back to (b) and iterate until a(n) converges to fixed point

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 (cont) (a) flow arrival rate at edge router computed with exp avg (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)

More details.. Occasionally, router buffer overflows: then, decrease a(t) by 1% Never increase a(t) by more than 25% Link is considered uncongested if 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 (FIFO + 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 TCP and Receiver Layered Multicast: DRR

Coexistence of TCP and Receiver Layered Multicast: CSFQ

Coexistence of TCP and Receiver Layered Multicast: RED

Conclusions CSFQ does not require per flow state within the core CSFQ performance comparable to DRR (which however requires 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 (ie,packet state) potentially controversial