Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case.

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.
1 GPS Example 2: Arrivals o Eleven Sources. First source gets 0.5. Other 10 sources get 0.05 each. First source sends 11 cells send one each at t=0.
Deficit Round Robin Scheduler. Outline Introduction Ordinary Problems Deficit Round Robin Latency of DRR Improvement of latencies.
1 Weighted Fair Queueing GPS PGPS SCFQ Implementation.
Abhay.K.Parekh and Robert G.Gallager Laboratory for Information and Decision Systems Massachusetts Institute of Technology IEEE INFOCOM 1992.
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
# 1 Scheduling: Buffer Management. # 2 The setting.
Worst-case Fair Weighted Fair Queueing (WF²Q) by Jon C.R. Bennett & Hui Zhang Presented by Vitali Greenberg.
DigiComm II Scheduling and queue management. DigiComm II Traditional queuing behaviour in routers Data transfer: datagrams: individual packets no recognition.
Scheduling CS 215 W Keshav Chpt 9 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
End-to-End Analysis of Distributed Video-on-Demand Systems Padmavathi Mundur, Robert Simon, and Arun K. Sood IEEE Transactions on Multimedia, February.
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.
תזכורת  שבוע הבא אין הרצאה m יום א, נובמבר 15, 2009  שיעור השלמה m יום שישי, דצמבר 11, 2009 Lecture 4: Nov 8, 2009 # 1.
CS 268: Lecture 8 (Router Support for Congestion Control) Ion Stoica February 19, 2002.
May, Bit Round Robin Scheduling t t t. May, Bit Round Robin Scheduling t t t.
Router Design and Packet Scheduling
Lecture 4#-1 Scheduling: Buffer Management. Lecture 4#-2 The setting.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
1 Netcomm 2005 Communication Networks Recitation 4.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
QoS II - Adaptive Virtual Queue - Fair Queueing for Multiple Link 12 th Mar., 2002 Eun-Chan Park CSL, SoEECS, SNU.
A Generalized Processor Sharing Approach to Flow Control in Integrated Services Networks: The Single-Node Case Abhay K. Parekh, Member, IEEE, and Robert.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
Enabling Class of Service for CIOQ Switches with Maximal Weighted Algorithms Thursday, October 08, 2015 Feng Wang Siu Hong Yuen.
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.
Packet Scheduling and Buffer Management Switches S.Keshav: “ An Engineering Approach to Networking”
Florida State UniversityZhenhai Duan1 BCSQ: Bin-based Core Stateless Queueing for Scalable Support of Guaranteed Services Zhenhai Duan Karthik Parsha Department.
Nick McKeown Spring 2012 Lecture 2,3 Output Queueing EE384x Packet Switch Architectures.
Dynamic Bandwidth Allocation with Fair Scheduling For WCDMA Systems Liang Xu, Xumin Shen, and Jon W. Mark University of Waterloo published in IEEE Wireless.
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.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Real-Time Networks – WAN Packet Scheduling.
Scheduling Determines which packet gets the resource. Enforces resource allocation to each flows. To be “Fair”, scheduling must: –Keep track of how many.
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?
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.
Queue Scheduling Disciplines
Multicost (or QoS) routing For example: More generally, Minimize f(V)=f(V 1,…,V k ) over all paths.
Providing QoS in IP Networks
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
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.
Khiem Lam Jimmy Vuong Andrew Yang
Team: Aaron Sproul Patrick Hamilton
Wireless Fair Scheduling
Wireless Scheduling.
Wireless Scheduling.
Stratified Round Robin: A Low Complexity Packet Scheduler with Bandwidth Fairness and Bounded Delay Sriram Ramabhadran Joseph Pasquale Presented by Sailesh.
Quality of Service For Traffic Aggregates
COMP/ELEC 429/556 Introduction to Computer Networks
Variations of Weighted Fair Queueing
Scheduling Algorithms in Broad-Band Wireless Networks
Fair Queueing.
Scheduling: Buffer Management
Computer Science Division
Variations of Weighted Fair Queueing
COMP/ELEC 429 Introduction to Computer Networks
Introduction to Packet Scheduling
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Fair Queueing.
A Simple QoS Packet Scheduler for Network Routers
Introduction to Packet Scheduling
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok

Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case fair weighted fair queuing ) Conclusion

GPS An idealized policy that can split bandwidth among multiple sessions simultaneously –Each session I has a queue and a weight –At time t, GPS serves all non-empty queues simultaneously in proportion to –Property

GPS(Cont ’ ) Observation : –Guaranteed service rate for session j whenever it becomes backlogged Another View –Weighted round robin with infinitely small service amount

PGPS Intuition –Compute the time a packet would complete service had we been serving packets with a GPS server, then serve packets in order of these finishing times –emulates GPS “ on the side ” and uses the results of this simulation to determine service order Three virtual times –Not real time, but time for representing the amount of service –Virtual Star time, Virtual Finish time : each flow –Virtual System time : system-wide time

PGPS(Cont ’ ) Virtual Start Time Virtual Finish Time Virtual Time Implementation of WFQ

PGPS(Cont ’ )

WFQ : Scheduling Example Situation –Three sessions : A, B, and C –Time 0 : packets of size 1(A), 2(B), and 2(C) arrives –Time 4 : a packet of size 2(A) arrives Assumption –Weight are all same –Link Capacity C = 1

Result comparison(GPS, WFQ) GPS WFQ

A B,C V(t) Slope = C / weighted sum of backlogged flows = 1/3 Real Time(At time 0) Virtual Time F(0) = Max(0,0) + 2 = 2 F(0) = Max(0,0) + 1 = 1

A B,C V(t) Flow A is unbacklogged in GPS at time 3 Flow A is unbacklogged in WFQ at time 1 Virtual Time Real Time(AT time 3)

A B,C V(t) Slope = 1/2 2 nd packet of size 2 arrives F(4) = Max(1.5,1) + 2 = 3.5 Virtual Time Real Time(At time 4)

A B,C V(t) Slope = 1/3 Flow B or C is unbacklogged in GPS at time 5.5 Virtual Time Real Time(At time 5.5)

A B,C V(t) Slope = 1 Virtual Time Real Time(At time 7)

Fairness of WFQ The difference between GPS and WFQ Cannot fall behind GPS by one packet One Packet difference means Problem –Cannot fall behind GPS by one packet, however, can fall ahead GPS by infinite amount –Motivation of WF2Q

Self-Clocked Fair Queuing (SCFQ) Same as WFQ except CF : the virtual finish time of the packet currently in service Easier to implement than WFQ

Relative Fairness & Absolute Fairness The service rate allocated to connection I at the kth switch on its path from source to its destination Relative Fairness Absolute Fairness

Fairness of SCFQ The author has shown that the relative fairness bound for SCFQ is But, the absolute fairness bounded for SCFQ is currently unknown Although the SCFQ round number update rule is easy to implement, it can be unfair over short term scales

Fairness of SCFQ(Cont ’ ) Worst-case latency for SCFQ is compared to for WFQ STFQ improve a large worst case delay and short- term unfairness

Start-time Fair Queuing (STFQ) Same as WFQ except SF : the virtual start time of the packet currently in service Serves the packet having smallest virtual start time Easier to implement than WFQ Note

Worst-case Fair Weighted Fair Queuing (WF2Q) Conceptually, –S(t) : the total amount of service received by flow I –V(t) : the total amount of service, which would be received in GPS WF 2 Q algorithm –WFQ scheduling + eligibility test –eligible test Among packets that have started service under GPS, pick the packet having the smallest virtual finish time

WF2Q : Scheduling Example

Fairness of WF2Q Cannot fall behind GPS by one packet, however, can not fall ahead GPS by one packet This means

Conclusion WFQ provides fairness and end-to-end delay bound, but has a heavy implementation complexity SCFQ, STFQ, WF2Q are easy to implement Issues –Delay & bandwidth requirement is coupled