Quality of Service For Traffic Aggregates

Slides:



Advertisements
Similar presentations
CS 268: Packet Scheduling Ion Stoica March 18/20, 2003.
Advertisements

1 Comnet 2010 Communication Networks Recitation 4 Scheduling & Drop Policies.
Abhay.K.Parekh and Robert G.Gallager Laboratory for Information and Decision Systems Massachusetts Institute of Technology IEEE INFOCOM 1992.
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.
Worst-case Fair Weighted Fair Queueing (WF²Q) by Jon C.R. Bennett & Hui Zhang Presented by Vitali Greenberg.
CS 268: Lecture 15/16 (Packet Scheduling) Ion Stoica April 8/10, 2002.
Generalized Processing Sharing (GPS) Is work conserving Is a fluid model Service Guarantee –GPS discipline can provide an end-to-end bounded- delay service.
Service Disciplines for Guaranteed Performance Service Hui Zhang, “Service Disciplines for Guaranteed Performance Service in Packet-Switching Networks,”
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
CS 268: Lecture 8 (Router Support for Congestion Control) Ion Stoica February 19, 2002.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Router Design and Packet Scheduling
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
Advance Computer Networking L-5 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
March 29 Scheduling ?. What is Packet Scheduling? Decide when and what packet to send on output link 1 2 Scheduler flow 1 flow 2 flow n Buffer management.
Florida State UniversityZhenhai Duan1 BCSQ: Bin-based Core Stateless Queueing for Scalable Support of Guaranteed Services Zhenhai Duan Karthik Parsha Department.
Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case.
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.
Scheduling Determines which packet gets the resource. Enforces resource allocation to each flows. To be “Fair”, scheduling must: –Keep track of how many.
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.
Lecture Note on Scheduling Algorithms. What is scheduling? A scheduling discipline resolves contention, “who is the next?” Goal: fairness and latency.
1 On Maximum Rate Control of Weighted Fair Scheduling Jeng Farn Lee.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
XCP: eXplicit Control Protocol Dina Katabi MIT Lab for Computer Science
Queue Scheduling Disciplines
Providing QoS in IP Networks
CS244 Packet Scheduling (Generalized Processor Sharing) Some slides created by: Ion Stoica and Mohammad Alizadeh
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Ethernet Packet Filtering – Part 2 Øyvind Holmeide 10/28/2014 by.
Packet Scheduling (and QoS)
Instructor Materials Chapter 6: Quality of Service
Corelite Architecture: Achieving Rated Weight Fairness
Khiem Lam Jimmy Vuong Andrew Yang
Team: Aaron Sproul Patrick Hamilton
QoS & Queuing Theory CS352.
Topics discussed in this section:
Sriram Lakshmanan Zhenyun Zhuang
Link Sharing or CBQ Link sharing controls the distribution of bandwidth on “local” links Each class receives a guaranteed share during congestion Aggregate.
Measuring Service in Multi-Class Networks
Stratified Round Robin: A Low Complexity Packet Scheduler with Bandwidth Fairness and Bounded Delay Sriram Ramabhadran Joseph Pasquale Presented by Sailesh.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
Lottery Scheduling Ish Baid.
TCP, XCP and Fair Queueing
CprE 458/558: Real-Time Systems
COMP/ELEC 429/556 Introduction to Computer Networks
Variations of Weighted Fair Queueing
Provision of Multimedia Services in based Networks
Hierarchical Scheduling Algorithms
Scheduling Algorithms in Broad-Band Wireless Networks
Fair Queueing.
Advance Computer Networking
EE 122: Quality of Service and Resource Allocation
Computer Science Division
Advance Computer Networking
Variations of Weighted Fair Queueing
COMP/ELEC 429 Introduction to Computer Networks
Schedulability Conditions for Scheduling Algorithms
CIS679: Two Planes and Int-Serv Model
Introduction to Packet Scheduling
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Hierarchical Scheduling Algorithms
Fair Queueing.
A Simple QoS Packet Scheduler for Network Routers
Introduction to Packet Scheduling
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Quality of Service For Traffic Aggregates Hui Zhang School of Computer Science Carnegie Mellon University The presentation has been shortened and minimally edited.

Hierarchical Generalized Processor Sharing (H-GPS) physical resource 100% 50% 10% 10% 10% 10% 10% 5% 45% 10% Idealized fluid algorithm service multiple queues simultaneously, proportional to shares parent distributes service instantaneously to children

Generalized Processor Sharing (GPS) [Parekh 92] Red session has packets backlogged between time 0 and 10 Other sessions have packets continuously backlogged 10% 10% 10% 10% 10% 50% 2 4 6 8 10 15

H-GPS Example session has packets backlogged between time 0 and 10 Other sessions have packets continuously backlogged 50% 10% 10% 10% 10% 10% 45% 5% 2 4 6 8 10 20

GPS and H-GPS Properties Proven end-to-end delay bounds for guaranteed traffic Adaptation friendly no punishment in the future for using excess service scalable technique for estimating excess bandwidth for adaptive applications GPS: guaranteed service for each flow H-GPS: guaranteed service for all classes leaf class: individual flow interior class: traffic aggregate QoS met for all traffic classes simultaneously

Packet vs. Fluid System GPS and H-GPS are fluid systems multiple queues can be serviced simultaneously no non-preemption unit Real system are packet systems one queue is served at any given time packet transmission is not preempted Design issue: packet algorithms approximating the fluid H-GPS algorithm accuracy: delay bound, fairness, bandwidth distribution complexity: practical implementation

Approximating GPS with Weighted Fair Queueing (WFQ) Fluid GPS system service order 2 10 4 6 8 Weighted Fair Queueing select the first packet that finishes in GPS Observation: packet finishes in WFQ no later than in GPS basis for proving delay bound for WFQ Another observation: some packet finishes service much earlier in WFQ in GPS

Packet Approximation of H-GPS Idea 1: use similar approach as approximating GPS select packet finishing first in H-GPS, assuming there are no future arrivals Problem relative finish order of packets dependent on future arrivals re-sorting packets when sessions become active

H-GPS Example has no packets backlogged between time 0 and 11 Other sessions have packets continuously backlogged Need to make a decision at time 11 50% 10% 10% 10% 10% 10% 45% 5% 2 4 6 8 10 20

Approximating H-GPS: Decision at Time 11 Case 1: no future arrivals Case 2: active at time 11 Relative finish order dependent on future arrivals 50% 10% 10% 10% 10% 10% 45% 5% 2 4 6 8 10 20

Packet Approximation of H-GPS Idea 1 select packet finishing first in H-GPS assuming there are no future arrivals problem: finish order in system dependent on future arrivals virtual time implementation won’t work Idea 2 use a hierarchy of PFQ to approximate H-GPS H-GPS Packetized H-GPS 6 4 3 2 1 GPS 10 PFQ

H-GPS and H-WFQ Example Two levels of hierarchy GPS order at top level WFQ order at top level 50% 10% 10% 10% 10% 10% 45% 5% 2 10 4 6 8

H-GPS and H-WFQ Example Arrival process active at time 5 all other flows continuously backlogged Top level GPS server Top level WFQ server at [0,4] make decision assuming there are no future arrivals select packets in class only class is active Class active at time 5 has to endure a long delay 50% 10% 10% 10% 10% 10% 45% 5% 2 4 6 8 10

PFQ and H-PFQ Many PFQ algorithms Worst-case Fair Index SCFQ, SFQ, FBFQ, WFQ how do properties of PFQ relate to H-PFQ? Worst-case Fair Index measuring the accuracy of PFQ in approximating GPS tight H-PFQ delay bound small WFI of PFQ All previously proposed PFQ algorithms have large WFI’s

A More Accurate Approximation of GPS Problem with WFQ WFQ can be ahead of GPS too much Worst-case Fair Weighted Fair Queueing (WF2Q) a packet is eligible if it starts service in GPS among all eligible packets, select the one that finishes first in GPS optimal algorithm in approximating GPS normalized WFI is one maximal size packet WF2Q service order 50% 10% 10% 10% 10% 10% 2 4 6 8 10

H-GPS and H-WF2Q Example Arrival process active at time 5 all other flows continuously backlogged Top level GPS server Top level WFQ server there are no future arrival never ahead of GPS by one packet size class receives service immediately after becoming active 50% 10% 10% 10% 10% 10% 45% 5% 2 4 6 8 10

WF2Q+ WFQ and WF2Q WF2Q+ need to emulate fluid GPS system high complexity WF2Q+ provide same delay bound and WFI as WF2Q lower complexity

Example Hierarchy

Uncorrelated Cross Traffic Delay under H-WFQ Delay under H-SCFQ 60ms 40ms 20ms Delay under H-SFQ Delay under H-WF2Q+ 60ms 40ms 20ms

Correlated Cross Traffic Delay under H-WFQ Delay under H-SCFQ 60ms 40ms 20ms Delay under H-SFQ Delay under H-WF2Q+ 60ms 40ms 20ms

H-GPS and H-PFQ Hierarchical Generalized Processor Sharing model proven end-to-end delay bounds for guaranteed traffic ideal semantics for hierarchical resource management QoS met for all traffic classes simultaneously friendly to bursty and adaptation sources scalable mechanism for estimating available bandwidth by adaptive applications no punishment in the future for using excess service in the past Hierarchical Packet Fair Queueing Algorithm accurately and efficiently approximates H-GPS model first algorithm to support real-time, link-sharing simultaneously 8

Limitation of GPS and H-GPS Model Service specified by one parameter: rate Delay bound is a function of the rate: B/R B: maximum burst size R: guaranteed service rate Coupling between delay and bandwidth allocation low delay requires higher rate inefficient resource utilization for low delay/low bandwidth sessions

Service Curve QoS Model Each class is assigned a service curve that specifies the minimum amount of service it should receive GPS guarantees a linear service curve Low delay requires higher bandwidth reservation Arrival curve bits Service curve delay

Service Curve QoS Model Each class is assigned a service curve that specifies the minimum amount of service it should receive Non-linear service curve decouples the delay/bandwidth allocation Arrival curve bits Service curve delay time

Hierarchical Fair Service Curve Model Each class is associated a service curve Service curves of all classes are guaranteed Excess service is distributed fairly among sibling classes Properties formally defines link-sharing, real-time, priority requirements generalized fairness property applicable to arbitrary-shape service curves decouple excess service distribution policy from guaranteed service

Fundamental Conflicts With non-linear service curves or priority service it may be impossible to guarantee service curves of all classes It may be impossible to simultaneously provide real-time guarantees and instantaneous fairness

H-FSC Scheduling Algorithm Approximates H-FSC model by resolving conflicts in favor of real-time requirements for leaf classes minimizing discrepancy between service each class should ideally receive and the service it actually receives Properties service curves of all leaf classes are guaranteed for any class, the difference between the service it should receive in the ideal H-FSC model, and the service it actually receives is bounded

Simulations: Class Hierarchy 45Mbps Link 20Mbps A Poisson Poisson Poisson Poisson Poisson 5Mbps 5Mbps 5Mbps 5Mbps 5Mbps ON- OFF Audio Video FTP Poisson 64Kbps 2Mbps 5Mbps 8Mbps 4Mbps

Simulations: Delay Results for Audio (H-WF2Q+ vs. H-FSC) Packet size = 1280 bits, bandwidth = 64Kbps bits bits 64Kbps 256Kbps 64Kbps 1280 1280 20ms time 5ms time H-WF2Q+ H-FSC 20 ms 15ms 10 ms 5 ms

Implementation Status 622 Mbps ATM Implementation by Fore Systems Software IP Implementation on NetBSD/PC router flat hierarchy, 1000 flows, 9 usec/packet 3 levels hierarchy, 1000 flows, 12 usec/packet generic interface for control software: Beagle, RSVP Alpha release University of Utal, Washington University, Sun Microsystem, FastForward Networks, Bell Labs High speed implementation Ascend GRF router software implementation completed in vBNS (joint work with MCI) hardware implementation in process (with Ascend) Cisco IOS

Fast Fourier Transform Darwin System Example Audio/video guaranteed 1 Mbps File Transfer (FTP) use as much resource as possible Fast Fourier Transform (FFT) burst behavior Router 3 10 Mbps Link 7 Mbps 3 Mbps Router 1 Mesh UDP Fast Fourier Transform 1 Mbps 5 Mbps Audio/Video 1Mbps A/V FTP FFT File Transfer Adversary (UDP) Router 2

Link-sharing at Root Node

Link-sharing at Interior Application Node