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?

Slides:



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

Multicost (or QoS) routing For example: More generally, Minimize f(V)=f(V 1,…,V k ) over all paths.
1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
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.
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
# 1 Scheduling: Buffer Management. # 2 The setting.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
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?
CS 268: Lecture 15/16 (Packet Scheduling) Ion Stoica April 8/10, 2002.
Networking Issues in LAN Telephony Brian Yang
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.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Lecture 4#-1 Scheduling: Buffer Management. Lecture 4#-2 The setting.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Core Stateless Fair Queueing Stoica, Shanker and Zhang - SIGCOMM 98 Rigorous fair Queueing requires per flow state: too costly in high speed core routers.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
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.
Packet Scheduling and Buffer Management in Routers (A Step Toward Quality-of-service) 10-1.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
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:
Queueing and Scheduling Traffic is moved by connecting end-systems to switches, and switches to each other Traffic is moved by connecting end-systems to.
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”
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Nick McKeown Spring 2012 Lecture 2,3 Output Queueing EE384x Packet Switch Architectures.
Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case.
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.
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.
CSci5221: Packet Scheduling11 Packet Scheduling (and QoS) Packet Scheduling and Queue Management Beyond FIFO: –Class-based Queueing: Priority Queueing,
Providing QoS in IP Networks
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 17 – Multimedia Transport Subsystem (Part 3) Klara Nahrstedt Spring 2011.
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.
QoS & Queuing Theory CS352.
Congestion Control and Resource Allocation
TCP, XCP and Fair Queueing
Fair Queueing.
Scheduling: Buffer Management
Computer Science Division
COMP/ELEC 429 Introduction to Computer Networks
EE 122: Differentiated Services
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:

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?

The ingredients of QoS support QoS routing Scheduling Policing Call Admission Control

Scheduling - references Keshav, Chpt 9 Ed Knightly et al: Coordinated Scheduling:A Mechanism for Efficient Multi-Node Communication, Stoica, Shanker and Zhang: Core Stateless Fair Queueing, SIGCOMM 98

Scheduling Features/Requirements Easy to implement (eg, per flow vs per class) Fair (for best effort sources) Protected against abusive sources (for best effort) Performance bounds (for guaranteed service) Admission control (for guaranteed service) Note: Features differ depending on whether we schedule best effort or guaranteed service traffic

Control Parameters/Measures Control “knobs” Perf. Measures priority ranking avg delay; bdw share polling frequency bandwidth buffer allocation/pkt drop loss rate polling frq/buffer alloc fairness

Performance Bounds Deterministic bounds: satisfied by ALL packets Statistical bounds:satisfied by a fraction R of packets (a) Bandwidth: important for real time applications (eg, video on demand) (b) Delay: avg., worst case, 99% (important for interactive, eg IP telephony) (c ) Delay jitter: important for interactive appl. (reconstruction buffer for playback) (d) Loss: important for both real time and interactive

Max-Min Fairness (ie, must maximize the minimum) The min of the flows should be as large as it would like to be (ie,max) Max-Min fairness condition for single resource: Bottlenecked (unsatisfied) connections share the residual bandwidth equally Their share is > = the share held by the connections not constrained by this bottleneck C=11 F2 = 25 F1 = 6 F1’= 5 F2”= 5 F3=1 F3’= 1 F3 Not constrained

Max-Min Fairness (cont) Extension to multiple resource sharing Iterative construction approach (given the routing): at each iteration increase the flow of non saturated connections by an increment DF C=2 C= 8 F1=8 F2=8 F3=8 F4=8 F2=1 F3= 3 C=4 F4 = 5 F3 F2 F1

More Scheduling Issues (Keshav) Work conserving vs not work conserving (waste) schedule (the issue mainly concerns jitter control) Per flow vs per class (a la DiffServ) queueing: “per flow” does not scale, has bad reputation.. Per-flow service tag implementation using two Heaps (for smallest tag and for largest tag): service tag as opposed to FCFS – pkt assigned a tag upon arrival and smallest tag served first Schedulable region (in space C1xC2): numbers of connections C1 and C2 that can be supported simultaneously, meeting the respective QoS req.ts

Schedule review: Best Effort Traffic FIFO: in order of arrival to the queue; packets that arrive to a full buffer are either discarded, or a discard policy is used to determine which packet to discard among the arriving pkt and those already queued

Scheduling (cont) Priority Queuing: classes have different priorities; class may depend on explicit marking or other header info, eg IP source or destination, TCP Port numbers, etc. Transmit a packet from the highest priority class with a non-empty queue Preemptive and non-preemptive versions

Scheduling (cont) Within the same priority class, need to schedule packet transmissions so as to achieve max-min fairness Generalized Processor Sharing: visit queues in turns, serving an infinitesimal increment from each – ideal, non implementable

Scheduling best effort (Cont.) Round Robin: scan class queues serving one from each class that has a non-empty queue; max-min fair (single queue) Weighted Round Robin: is a generalized Round Robin in which an attempt is made to provide a class with a differentiated (ie different weight eg based on pkt size) amount of service over a given period of time

Scheduling Best Effort Traffic (cont) “Deficit” RR: achieves same effect as WRR, but does not require avg pkt size knowledge a quantum size, say Q is defined (eg, Q= Pkt avg) a Deficit Counter DC is initialized to Q queues are served RR; if queue is empty, DC <= Q if HOL packet length is P < DC, it is served; DC <= DC + (Q-P) else, packet is queued and DC <= DC + Q

Scheduling Best Effort Traffic (cont) Weighted Fair Queueing: compute the packet finishing time, ie,the time when the packet would be served by Generalized Proc Sharing (you “simulate” GPS on the side) rank packets according to finishing times the resulting sequence number (finishing number) is the packet’s turn to be transmitted. very complex to implement (can use pkt tags and heaps..)

Scheduling real time traffic Weighted Fair Queueing: Assume: G(j,k)= portion of link rate R(k) allocated to flow j elegant (but conservative) path delay bound D applies (Parekh & Gallager) D(j) = S(j)/Gmin(j) + Sum {Pmax(j)/G(j,k); over k on path} + Sum {Pmax/R(k); over k on path} S(j)= max burst for flow j admitted by leaky bucket Gmin(j) = lowest rate allocation to flow j on path Pmax (j)= max packet size for flow j Pmax = max pkt size over all flows

Scheduling real time traffic (cont) Virtual Clock arriving packets in a flow are tagged using a “virtual clock”; lowest tag served virtual clock ticks with the predefined flow rate it emulates Time Division Multiplexing Earliest Due Date (or Earliest Deadline First) arriving packet tagged with deadline earliest deadline tag served first