Ion Stoica, Scott Shenker, and Hui Zhang SIGCOMM’98, Vancouver, August 1998 subsequently IEEE/ACM Transactions on Networking 11(1), 2003, pp. 33-46. Presented.

Slides:



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

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.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli University of Calif, Berkeley and Lawrence Berkeley National Laboratory SIGCOMM.
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.
Network Border Patrol Celio Albuquerque, Brett J. Vickers and Tatsuya Suda Jaideep Vaidya CS590F Fall 2000.
Network Border Patrol: Preventing Congestion Collapse and Promoting Fairness in the Internet Celio Albuquerque, Brett J. Vickers, Tatsuya Suda 1.
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.
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:
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
CS 268: Lecture 15/16 (Packet Scheduling) Ion Stoica April 8/10, 2002.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
1 Traffic Sensitive Quality of Service Controller Masters Thesis Submitted by :Abhishek Kumar Advisors: Prof Mark Claypool Prof Robert Kinicki Reader:
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
Traffic Sensitive Active Queue Management - Mark Claypool, Robert Kinicki, Abhishek Kumar Dept. of Computer Science Worcester Polytechnic Institute Presenter.
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,
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
ACN: AVQ1 Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for Active Queue Managment Srisankar Kunniyur and R. Srikant SIGCOMM’01 San.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Active Queue Management Rong Pan Cisco System EE384y Spring Quarter 2006.
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,
Promoting the Use of End-to-End Congestion Control & Random Early Detection of Network Congestion.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Core Stateless Fair Queueing Stoica, Shanker and Zhang - SIGCOMM 98 Rigorous fair Queueing requires per flow state: too costly in high speed core routers.
CS 268: Lecture 17 (Dynamic Packet State) Ion Stoica April 15, 2002.
UCB Improvements in Core-Stateless Fair Queueing (CSFQ) Ling Huang U.C. Berkeley cml.me.berkeley.edu/~hlion.
1 A State Feedback Control Approach to Stabilizing Queues for ECN- Enabled TCP Connections Yuan Gao and Jennifer Hou IEEE INFOCOM 2003, San Francisco,
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.
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
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.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
Congestion Control for High Bandwidth-Delay Product Networks D. Katabi (MIT), M. Handley (UCL), C. Rohrs (MIT) – SIGCOMM’02 Presented by Cheng.
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”
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 18: Quality of Service Slides used with.
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.
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
Mrinalini Sawhney CS-710 Presentation 2006/09/12
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
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Advance Computer Networking
Computer Science Division
Max Min Fairness How define fairness?
Advance Computer Networking
COMP/ELEC 429 Introduction to Computer Networks
Understanding Congestion Control Mohammad Alizadeh Fall 2018
Congestion Control and Resource Allocation
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Presentation transcript:

Ion Stoica, Scott Shenker, and Hui Zhang SIGCOMM’98, Vancouver, August 1998 subsequently IEEE/ACM Transactions on Networking 11(1), 2003, pp Presented by: Camille Gaspard Originally taken from: web.cs.wpi.edu/~rek/Adv_Nets/Summer2003/CSFQ.ppt 1

Introduction Core-Stateless Fair Queueing (CSFQ) Fluid Model Algorithm Packet Algorithm Flow Arrival Rate Link Fair Share Rate Estimation NS Simulations Conclusions 2

This paper brings forward the concept of “fair” allocation. state The claim is that fair allocation inherently requires routers to maintain state and perform operations on a per flow basis. The authors present an architecture and a set of algorithms that is “approximately” fair while using FIFO queueing at internal routers. 3

4 Edge Router Core Router Source Destination

per-flow rate labels Ingress edge routers compute per-flow rate estimates and insert these estimates as labels into each packet header. Only edge routers maintain per flow state. Labels are updated at each router based only on aggregate information. FIFO queueing with probabilistic dropping of packets on input is employed at the core routers. 5

6

C Assume the bottleneck router has an output link with capacity C. ri (t) Assume each flow’s arrival rate, ri (t), is known precisely. The main idea is that max-min fair bandwidth allocations are characterized such that all flows that are bottlenecked by a router have the same output rate. This rate is called the fair share rate of the link. α(t) Let α(t) be the fair share rate at time t. 7

If max-min bandwidth allocations are achieved, each flow receives service at a rate given by min ( ri (t), α(t) ) Let A(t) denote the total arrival rate: If A(t) > C then the fair share is the unique solution to 8

Thus, the probabilistic fluid forwarding algorithm that achieves fair bandwidth allocation is: i Each incoming bit of flow i is dropped with probability max (0, 1 - α(t) / ri(t) ) (2) max (0, 1 - α(t) / ri(t) ) (2) These dropping probabilities yield fair share arrival rates at the next hop. 9

Moving from a bit-level, buffer-less fluid model to a packet-based, buffer model leaves two challenges: ri(t) Estimate the flow arrival rates ri(t) α(t) Estimate the fair share α(t) This is possible because the rate estimator incorporates the packet size. 10

i At each edge router, use exponential averaging to estimate the rate of a flow. For flow i, let l i k k th l i k be the length of the k th packet. t i k k th t i k be the arrival time of the k th packet. i, r i Then the estimated rate of flow i, r i is updated every time a new packet is received: r i new = (1 - e -T/K ) * L / T + (e -T/K ) * r i old (3) where T = T i k = t i k – t i k-1 L = l i k K L = l i k and K is a constant 11

If we denote the estimate of the fair share by and the acceptance rate by, we have r i (t) F(x) = C Note – if we know r i (t) then can be determined by finding the unique solution to F(x) = C. However, this requires per-flow state ! 12

The heuristic algorithm needs three aggregate state variables:,, where is the estimated aggregate arrival rate. When a packet arrives, the router computes: (5) and similarly computes. 13

When a packet arrives, is updated using exponential averaging (equation 5). If the packet is dropped, remains the same. If the packet is not dropped, is updated using exponential averaging. K c C< At the end of an epoch (defined by K c ), if the link is congested (C< ), update : 14

If the link is not congested, is set to the largest rate of any active flow. p α feeds into the calculation of drop probability, p, for the next arriving packet as α in p = max (0, 1 – α / label) p = max (0, 1 – α / label) 15

between the incoming rate and the fair rate, α. At core routers, outgoing rate is merely the minimum between the incoming rate and the fair rate, α. Hence, the packet label L can be rewritten by Hence, the packet label L can be rewritten by L new = min (L old, α ) L new = min (L old, α ) 16

A major effort of the paper is to compare CSFQ to four algorithms via ns-2 simulations. FIFO FIFO RED (Random Early Drop) RED (Random Early Drop) FRED (Flow Random Early Drop) FRED (Flow Random Early Drop) DRR (Deficit Round Robin) DRR (Deficit Round Robin) 17

Maintains per flow state in router. FRED preferentially drops a packet of a flow that has either: Had many packets dropped in the past A queue larger than the average queue size Main goal : Fairness FRED-2 guarantees to each flow a minimum number of buffers. 18

Represents an efficient implementation of WFQ. A sophisticated per-flow queueing algorithm. Scheme assumes that when router buffer is full the packet from the longest queue is dropped. Can be viewed as “best case” algorithm with respect to fairness. 19

Use TCP, UDP, RLM and On-Off traffic sources in separate simulations Bottleneck link: 10 Mbps, 1 ms latency, 64 KB buffer RED, FRED (min, max) thresholds: (16 KB, 32 KB) KK c K and K c = 100 ms. = 200ms. 20 KαKαKαKα

First Experiment : 32 UDP CBR flows Each UDP flow is indexed from 0 to 31 with flow 0 sending at Mbps and each of the i subsequent flows sending (i+ 1) times its fair share of Mbps. Second Experiment : 1 UDP CBR flow, 31 TCP flows UDP flow sends at 10 Mbps 31 TCP flows share a single 10 Mbps link. 21

22 Only CSFQ, DRR and FRED-2 can contain UDP flows!!

23 Only CSFQ and DRR can contain Flow 0 – the only UDP flow!

Third Experiment Set : 31 simulations Each simulation has a different N, N = 2 … 32. One TCP and N-1 UDP flows with each UDP flow sending at twice fair share rate of 10/N Mbps. 24

25 Normalized fair share throughput for one TCP source DRR good for less than 22 flows. CSFQ better than DRR when a large number of flows. CSFQ beats FRED.

26 RouterRouter KRouter Router K+1 UDP Sinks TCP/UDP-0 Sink TCP/UDP-0 Source UDP Sources K1-K K10K1

First experiment : UDP flow 0 sends at its fair share rate, Mbps while the other ten “crossing” UDP flows send at 2 Mbps. Second experiment: Replace the UDP flow with one TCP flow and leave the ten crossing UDP flows. 27

28 Fraction of UDP-0 traffic forwarded versus the number of congested links

29 Fraction of TCP-0 traffic forwarded versus the number of congested links

Using TCP congestion control requires cooperation from other flows. Three types cooperation violators: Unresponsive flows (e.g., Real Audio) Not TCP-friendly flows (e.g., RLM) Flows that lie to cheat. This paper deals with unfriendly flows!! 30

This paper presents Core Stateless Fair Queueing and offers many simulations to show how CSFQ provides better fairness than RED or FIFO. CSFQ ‘clobbers’ UDP flows! 31

First paper to use hints from the edge of the subnet. Deals with UDP. Many AQM (Active Queue Management) algorithms ignore UDP. Makes a reasonable attempt to look at a variety of traffic types. 32

“Epoch” is related to three constants in a way that can produce different results. How does one set K constants for a variety of situations. No discussion of algorithm “stability” 33

34

RLM is an adaptive scheme in which the source sends the information encoded in a number of layers. different Each layer represents a different multicast group. Receivers join and leave multicast groups based on packet drop rates experienced. 35

4 Simulation of three RLM flows and one TCP flow with a 4 Mbps link. 1 Fair share for each is 1 Mbps. 64KK c K a 250 Since router buffer set to 64 KB, K, K c, and K a are set to 250 ms. i2 i+4 Each RLM layer i sends 2 i+4 Kbps with each receiver subscribing to the first five layers. 36

37

38

39

40

41 K=Kc = Kα = 250 ms. K,= Kc = Kα = 250 ms.