CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Real-Time Networks – WAN Packet Scheduling.

Slides:



Advertisements
Similar presentations
CprE 458/558: Real-Time Systems
Advertisements

CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Real-Time Networks – WAN Packet scheduling (contd.)
1 EP2210 Fairness Lecture material: –Bertsekas, Gallager, Data networks, 6.5 –L. Massoulie, J. Roberts, "Bandwidth sharing: objectives and algorithms,“
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.
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
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.
EECB 473 Data Network Architecture and Electronics Lecture 3 Packet Processing Functions.
# 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.
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.
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.
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.
Receiver-Driven Bandwidth Sharing for TCP and its Application to Video Streaming Puneet Mehra, Christophe De Vleeschouwer, and Avideh Zakhor IEEE Transactions.
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.
A Generalized Processor Sharing Approach to Flow Control in Integrated Services Networks: The Single-Node Case Abhay K. Parekh, Member, IEEE, and Robert.
Packet Scheduling and Buffer Management in Routers (A Step Toward Quality-of-service) 10-1.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Combined Scheduling of Periodic and Aperiodic Tasks.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
An Efficient QoS Scheduling Architecture for IEEE Wireless MANs Supriya Maheshwari Under the guidance of Prof. Sridhar Iyer and Prof. Krishna Paul.
L14. Fair networks and topology design D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
Advance Computer Networking L-5 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Transporting Compressed Video Over ATM Networks with Explicit-Rate Feedback Control IEEE/ACM Transactions on Networking, VOL. 7, No. 5, Oct 1999 T. V.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
Incentive-Oriented Downlink Scheduling for Wireless Networks with Real-Time and Non-Real-Time Flows I-Hong Hou, Jing Zhu, and Rath Vannithamby.
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”
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Distributed Real-Time Systems (contd.)
Localized Algorithm for Aggregate Fairness in Wireless Sensor Networks Authors : Shigang Chen, Zhan Zhang CISE university of Florida CISE university of.
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.
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.
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?
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Queue Scheduling Disciplines
Adaptive Inverse Multiplexing for Wide-Area Wireless Networks Alex C. Snoeren MIT Laboratory for Computer Science IEEE Globecom ’99 Rio de Janeiro, December.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
Multicost (or QoS) routing For example: More generally, Minimize f(V)=f(V 1,…,V k ) over all paths.
© 2006 Cisco Systems, Inc. All rights reserved. 3.2: Implementing QoS.
D. AriflerCMPE 548 Fall CMPE 548 Routing and Congestion Control.
Providing QoS in IP Networks
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Stratified Round Robin: A Low Complexity Packet Scheduler with Bandwidth Fairness and Bounded Delay Sriram Ramabhadran Joseph Pasquale Presented by Sailesh.
TCP, XCP and Fair Queueing
Scheduling Algorithms in Broad-Band Wireless Networks
Fair Queueing.
Advance Computer Networking
Data Communication Networks
Computer Science Division
Advance Computer Networking
Introduction to Packet Scheduling
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Fair Queueing.
Introduction to Packet Scheduling
کنترل جریان امیدرضا معروضی.
Presentation transcript:

CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Real-Time Networks – WAN Packet Scheduling

CprE 458/558: Real-Time Systems (G. Manimaran)2 Scheduler Ensuring bandwidth (and delay), and buffer guarantees to connections Determining the service order among packets from different connections Scheduling algorithm has an associated admission control that is used during channel setup

CprE 458/558: Real-Time Systems (G. Manimaran)3 Scheduler requirements Fairness – achieving fairness among competing flows Performance bounds for the guaranteed flows Efficiency -- schedulability Protection – guarantees of well-behaving flows are protected from ill-behaving flows Flexibility – accommodating a diverse mix of traffic class and rates Ease of implementation – high speed implementation

CprE 458/558: Real-Time Systems (G. Manimaran)4 Fairness and Max-Min Fairness Fairness –Providing equal share of the resource to all the flows –The notion of fairness is obvious if all the flows demand equal share of the resource –Typically different flows exhibit varying resource demands. The notion of Max-min fairness is employed in such situations

CprE 458/558: Real-Time Systems (G. Manimaran)5 Max-Min Fairness Basic Idea: A fair share allocates –a source with a small demand what it wants, and evenly distributes unused resources to the big sources Formally, max-min fair share allocation is defined as: –Resources are allocated in order of increasing demands –No source gets a resource share larger than its demands –Sources with unsatisfied demands get an equal share of the resource

CprE 458/558: Real-Time Systems (G. Manimaran)6 Max-Min Fairness: Example Max-Min Scheduler Four incoming flows with their corresponding demands 10 Output Link The max-min fairness allocation proceeds in several rounds

CprE 458/558: Real-Time Systems (G. Manimaran)7 Max-Min Fairness: Example (1) Round #1: Tentatively divide the resource (output bandwidth) into four equal portions of size 10 / 4 = 2.5 Allocation = [2.5, 2.5, 2.5, 2.5] Round #2: Deduct the excess resource allocation and redistribute equally among others

CprE 458/558: Real-Time Systems (G. Manimaran)8 Max-Min Fairness: Example (2) Source 1’s demand is only 2.0 so deduct ( = 0.5) and distribute the remaining amount of (0.5 / 3 = 0.167) to each of the rest three Allocation = [2.0, 2.67, 2.67, 2.67] Source 2’s demand is only 2.6 so deduct ( = 0.07) and distribute the remaining amount of (0.07 / 2) to each of the rest two Final Allocation = [2.0, 2.6, 2.7, 2.7]

CprE 458/558: Real-Time Systems (G. Manimaran)9 Working of the example [2.5, 2.5, 2.5, 2.5] [2.0, 2.67, 2.67, 2.67] [2.0, 2.6, 2.7, 2.7] Flow 1 has excess = 0.5 add (0.5 / 3) to each of the rest Flow 2 has excess = 0.07 add (0.07 / 2) to each of the rest

CprE 458/558: Real-Time Systems (G. Manimaran)10 Max-Min Fairness: Example Max-Min Fairness Resource Allocation 2 / / / / 5 Four incoming flows with their max-min resource (bandwidth) allocations / demands 10 Output Link

CprE 458/558: Real-Time Systems (G. Manimaran)11 Weighted Max-Min Fairness A max-min weighted fairness share is as follows –Resources are allocated in order of increasing demand, normalized by the weight –No source gets a resource share larger than its demand –Sources with unsatisfied demands get resource shares in proportion to their weights

CprE 458/558: Real-Time Systems (G. Manimaran)12 Weighted Max-Min Fairness: Example Max-Min Scheduler Four incoming flows with their corresponding demands 16 Output Link W1 = 2.5 W2 = 4 W3 = 0.5 W4 = 1.0 The normalized weights are: [5, 8, 1, 2] Now pretend as if the number of flows are ( ) = 16 instead of just 4

CprE 458/558: Real-Time Systems (G. Manimaran)13 Working of the example Divide the capacity into 16 equal parts –Flow 1’s share (capacity / 16) * 5 = (16 / 16) * 5 = 5 Assign each flow an amount equal to its corresponding normalized weight If there is excess allocation deduct it and redistribute it for the rest in a weighted manner

CprE 458/558: Real-Time Systems (G. Manimaran)14 Working of the example [5, 8, 1, 2] [4, 2, 3.33, 6.66] Flow 1 has excess = 1 Flow 2 has excess = 6 We have to distribute excess “7” units among flows 3 and 4 Their weights are 1 and 2 respectively Therefore, flow 3 will get an additional share of (7/3) * 1 and flow 4 will get an additional share of (7/3) * 2

CprE 458/558: Real-Time Systems (G. Manimaran)15 Working of the example [5, 8, 1, 2] [4, 2, 3.33, 6.66] Flow 1 has excess = 1 Flow 2 has excess = 6 Flow 4 has excess = 2.66 allocate it to flow 3 Final Allocation [4, 2, 6, 4]

CprE 458/558: Real-Time Systems (G. Manimaran)16 General Processor Sharing (GPS) or Fluid Flow Model for achieving Max-min Fairness GPS Resource Allocation (Ideal, but Not practical) 5 5 Two incoming flows with their resource demands 10 Output Link 0510 The schedule (ideal, but not realizable in networks)

CprE 458/558: Real-Time Systems (G. Manimaran)17 Max-Min fairness Approximation Packetized GPS (Max-Min Fairness Approximation) 5 5 Two incoming flows with their resource demands 10 Output Link 5 units of time 0510 The schedule

CprE 458/558: Real-Time Systems (G. Manimaran)18 A Simple Round Robin Scheduler Round Robin Scheduler Four incoming flows Output Link 0 The schedule Cannot achieve max-min fairness Need to handle weighted flows Need to handle variable length packets

CprE 458/558: Real-Time Systems (G. Manimaran)19 Weighted Round Robin Scheduler Round Robin Scheduler Four incoming flows with their corresponding weights Output Link 0 Normalized weights are as follows: [2, 3, 1, 1] Cannot achieve max-min fairness Need to handle variable length packets