Chengzhi Li and Edward W. Knightly Schedulability Criterion and Performance Analysis of Coordinated Schedulers.

Slides:



Advertisements
Similar presentations
Delay Analysis and Optimality of Scheduling Policies for Multihop Wireless Networks Gagan Raj Gupta Post-Doctoral Research Associate with the Parallel.
Advertisements

CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
Network and Communications Hongsik Choi Department of Computer Science Virginia Commonwealth University.
Traffic Characterization Specifies the traffic of a flow using parameters like bandwidth, delay, delay jitter requirements –for bursty traffic, bandwidth.
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.
EE 685 presentation Optimal Control of Wireless Networks with Finite Buffers By Long Bao Le, Eytan Modiano and Ness B. Shroff.
EECB 473 Data Network Architecture and Electronics Lecture 3 Packet Processing Functions.
Recent Progress on a Statistical Network Calculus Jorg Liebeherr Department of Computer Science University of Virginia.
Aleksandar Kuzmanovic and Edward W. Knightly Rice Networks Group Measuring Service in Multi-Class Networks.
1 Scalable Network Architectures for Providing Per-flow Service Guarantees Jasleen Kaur Department of Computer Science University of North Carolina at.
Priority Queuing Achieving Flow ‘Fairness’ in Wireless Networks Thomas Shen Prof. K.C. Wang SURE 2005.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Supporting Real-time Applications in An Integrated Service Packet Network CSZ Sigcomm 92.
Worst-case Fair Weighted Fair Queueing (WF²Q) by Jon C.R. Bennett & Hui Zhang Presented by Vitali Greenberg.
Edward W. Knightly and Chengzhi Li Rice Networks Group Coordinated Scheduling: A Mechanism for Efficient Multi-Node Communication.
CAC and Scheduling Schemes for Real-time Video Applications in IEEE Networks Ou Yang UR 10/11/2006.
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.
Analysis and Simulation of a Fair Queuing Algorithm
Chapter 6 Packet Processing Functions
Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Vikram Kanodia.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
CS 268: Lecture 17 (Dynamic Packet State) Ion Stoica April 15, 2002.
CS144, Stanford University Error in Q3-7. CS144, Stanford University Using longest prefix matching, the IP address will match which entry? a /8.
24-1 Chapter 24. Congestion Control and Quality of Service part Quality of Service 23.6 Techniques to Improve QoS 23.7 Integrated Services 23.8.
1 Real-Time Queueing Network Theory Presented by Akramul Azim Department of Electrical and Computer Engineering University of Waterloo, Canada John P.
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.
QoS Guarantees  introduction  call admission  traffic specification  link-level scheduling  call setup protocol  required reading: text, ,
Fair Real-time Traffic Scheduling over Wireless Local Area Networks Insik Shin Joint work with M. Adamou, S. Khanna, I. Lee, and S. Zhou Dept. of Computer.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jennifer Rexford Princeton University With Jiayue He, Rui Zhang-Shen, Ying Li,
QoS-Aware In-Network Processing for Mission-Critical Wireless Cyber-Physical Systems Qiao Xiang Advisor: Hongwei Zhang Department of Computer Science Wayne.
An Integrated IP Packet Shaper and Scheduler for Edge Routers MSEE Project Presentation Student: Yuqing Deng Advisor: Dr. Belle Wei Spring 2002.
1. Performance Guarantees Introduction –by asking sources about flow behavior it is possible to construct networks that could guarantee performance for.
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 in CSMA-Based Networks with Inconsistent Channel State V. Gambiroza and E. Knightly Rice Networks Group
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.
Opportunistic Traffic Scheduling Over Multiple Network Path Coskun Cetinkaya and Edward Knightly.
Florida State UniversityZhenhai Duan1 BCSQ: Bin-based Core Stateless Queueing for Scalable Support of Guaranteed Services Zhenhai Duan Karthik Parsha Department.
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.
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 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.
Delays in Packet Networks
Lecture Note on Scheduling Algorithms. What is scheduling? A scheduling discipline resolves contention, “who is the next?” Goal: fairness and latency.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Key insight.  With drop-when-decoded, the busy period of the virtual queue contributes to the physical queue size calculation  Responding to ACK of the.
CSci5221: Packet Scheduling11 Packet Scheduling (and QoS) Packet Scheduling and Queue Management Beyond FIFO: –Class-based Queueing: Priority Queueing,
1 Communication Networks Prof. Dr. U. Killat Traffic Engineering for Hard Real Time Multicast Applications Using Genetic Algorithm Shu Zhang, Lothar Kreft.
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.
Simulation and Exploration of
Why Is There a Need to Implement a Weighted Fair Queue?
QoS & Queuing Theory CS352.
Measuring Service in Multi-Class Networks
Delays in Packet Networks
Intro to Deterministic Analysis
Fair Queueing.
Schedulability Conditions for Scheduling Algorithms
CIS679: Two Planes and Int-Serv Model
Introduction to Packet Scheduling
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Chengzhi Li and Edward W. Knightly Schedulability Criterion and Performance Analysis of Coordinated Schedulers

Edward W. Knightly Rice University Background: Priority Scheduling Each packet has a priority index Scheduler selects smallest priority index pkt first Examples: WFQ, VC, EDF, SCED … Index assignment scheme  Service discipline Arrival Index L/r Arrival Index FIFO index = arrival_time Virtual Clock index = max(arrival_time, prev_index) + L/r

Edward W. Knightly Rice University Earliest Deadline First Scheduler services packet with smallest – deadline = arrival_time + delay_bound EDF is optimal for a single server Arrival Index

Edward W. Knightly Rice University Multiple Nodes: Sub-Optimality Over multiple nodes, EDF is not optimal –Locally optimal rules do not achieve global optimum (best end-to-end performance)  … Can do better

Edward W. Knightly Rice University Multiple Nodes: Issue 2, Traffic Distortion l Traffic can become more bursty downstream –Arrivals previously in now in l Consequence: difficult to analyze and efficiently support multi-node QoS Node j Node j+1 t + It arrivals

Edward W. Knightly Rice University Existing Solutions to Distortion Problem 1. Reshape traffic (Ex. Rate Controlled EDF) Hold packets until conform to original pattern 2. Isolate flows (Ex. Weighted Fair Queueing) Limit distortion by limiting sharing (e.g., guaranteed rate) l Problems –Utilization impact of isolation/non-work-conserving –Scalability issues with per-flow operations Node j Node j+1 t + It

Edward W. Knightly Rice University Our Approach: CNS Coordinated Network Scheduling [LiKn00] Virtual Coordination among servers –Server computes priority index as a function of upstream index –Ex. Downstream index = upstream index + constant –Target at end-to-end service Implications –Late packets have increased priority downstream –Early packets have priorities reduced downstream CNS is a general framework that includes –FIFO+ –Coordinated EDF (CEDF) –Coordinated Jitter Controlled Virtual Clock (CJVC)

Edward W. Knightly Rice University CNS Definition CNS is a work conserving scheduler that selects the packet with the smallest priority index first Indexes are given by: Recursive Priority Index Assignment

Edward W. Knightly Rice University Main Contribution End-to-end deterministic analysis of CNS –Characterize downstream priority index distortion vs. traffic pattern distortion using Essential Traffic Envelope –Exploit coordination property –Allow local (per-node) violations provided e2e satisfied –Devise end-to-end schedulability condition Show that CNS outperforms WFQ –Devise an index assignment scheme –If WFQ can schedule a set of flows, so can CNS

Edward W. Knightly Rice University Traffic Envelopes l Envelopes characterize arrivals as a function of interval length –Max and deterministic [Cr92, KWLZ95] –Statistical [QK99] l Recall: traffic distortion problem  envelopes distorted time t + It E *( I ) = 3

Edward W. Knightly Rice University New Concept: Essential Traffic Envelope l Essential traffic impedes a packet’s ability to meet a deadline –Ex. with FIFO, it’s pkts arriving earlier l Approach: bound traffic with a deadline range vs. an arrival time range (ETE vs. TE) Arrival Index Essential Traffic

Edward W. Knightly Rice University Illustration: First Hop (EDF and CNS) l 1st hop: priority indexes are the same in CNS and EDF l Suppose that the third packet is seriously delayed due to cross traffic Packet Arrival Event Packet Departure Event Packet Priority Index

Edward W. Knightly Rice University Second Hop Without Coordination (EDF) l At the second hop, the priority indexes depend on the (local/late) arrival times in EDF l Traffic distortion is large and propagates downstream Packet Arrival Event Packet Departure Event Packet Priority Index

Edward W. Knightly Rice University Second Hop With Coordination (CNS) Illustration of Essential Traffic Smoothing l 2 nd hop: the priority indexes are independent of the (local/late) arrival times in CNS l Departures are narrowly distorted (without reshaping) l Theory tightly bounds distortion of essential traffic Packet Arrival Event Packet Departure Event Packet Priority Index

Edward W. Knightly Rice University End-to-End Schedulability Condition l Allow local violations (ex. missed per-node deadlines) –…contrast to all previous deterministic work l Bound Essential Traffic Envelope downstream l Derive an end-to-end delay bound Schedulability Condition for all coordinated schedulers (CEDF, CJVC, GEDF, FIFO+, …)  CEDF, FIFO+, … not previously derived  CJVC bound tighter than previous results

Edward W. Knightly Rice University Index Assignment Coordinated scheduling achieves the same end-to-end delay bound as WFQ l Recall: indexes can be delay targets or L/r rate assignments l Result: under CJVC-like rate assignment and leaky bucket constrained flows Same WFQ bounds, yet scalable (unlike WFQ and RC-EDF), work conserving (unlike RC-EDF), … CNS is no worse than WFQ. But can be much better!

Edward W. Knightly Rice University A Simple Priority Index Assignment At Ingress Servers At Downstream Servers Coordinated scheduling achieves the same end-to-end delay bound as WFQ  Also scalable, work conserving If flow traffic is bounded by

Edward W. Knightly Rice University Simulation Study Simplified CNS priority index assignment schemes: –Constant local delay assignment scheme (5 msec and 15 msec respectively) Path for target trafficPath for background traffic Server 1Server 2Server 3Server 4Server 5Server 6

Edward W. Knightly Rice University CNS vs. EDF (Pareto on-off) With 300 flows, reduction in delay form 120 msec to 50 msec On rate: 64 kbps Mean of on period: 312 msec Mean of off period: 325 msec Parato shape: 1.9

Edward W. Knightly Rice University CNS vs. WFQ (Pareto on-off) With 300 flows, delay reduced from 170 to 50 msec On rate: 64 kbps Mean of on period: 312 msec Mean of off period: 325 msec Pareto shape: 1.9

Edward W. Knightly Rice University Conclusions Proposed a shedulability criterion for CNS Derived a general end-to-end delay bound for CNS Proved CNS can outperform WFQ and EDF

Edward W. Knightly Rice University Example Recursive Priority Index Assignments (CEDF) t+5 t+5+5 t t target packet t = arriving time of target packet at ingress router vs. local arrival time + 5

Edward W. Knightly Rice University A Numerical Example  CNS can be better! CNSWFQ D1 = 4L/CD1<=4L/C  r1=C, r2=r3=0 D2 = 3L/C r2 = 0  D2 >= 4L/C D3 = 3L/C r3 = 0  D3 >= 4L/C flow 3 Server 1 flow 1 flow 2 Server 2 CC flow 2