VirtualClock.

Slides:



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

1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
Congestion Control Algorithms
Abhay.K.Parekh and Robert G.Gallager Laboratory for Information and Decision Systems Massachusetts Institute of Technology IEEE INFOCOM 1992.
Ion Stoica, Scott Shenker, and Hui Zhang SIGCOMM’98, Vancouver, August 1998 subsequently IEEE/ACM Transactions on Networking 11(1), 2003, pp Presented.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
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.
May, Bit Round Robin Scheduling t t t. May, Bit Round Robin Scheduling t t t.
Advanced Computer Networks1 Providing Guaranteed Services Without Per Flow Management By: Ion Stoica, Hui Zhang Presented by: Sanjeev R. Kulkarni.
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.
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
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.
Distributed Fair Scheduling in a Wireless LAN
An Adaptive Deficit-based Scheduler for IEEE e Networks Nararat RUANGCHAIJATUPON and Yusheng JI The Graduate University for Advanced Studies National.
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.
CSE 561 – Congestion Control with Network Support David Wetherall Spring 2000.
15744 Course Project1 Evaluation of Queue Management Algorithms Ningning Hu, Liu Ren, Jichuan Chang 30 April 2001.
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.
Scheduling Determines which packet gets the resource. Enforces resource allocation to each flows. To be “Fair”, scheduling must: –Keep track of how many.
Lecture Note on Scheduling Algorithms. What is scheduling? A scheduling discipline resolves contention, “who is the next?” Goal: fairness and latency.
Chengzhi Li and Edward W. Knightly Schedulability Criterion and Performance Analysis of Coordinated Schedulers.
Adaptive Power Control Algorithm for Ad Hoc Networks with Short and Long Term Packet Correlations Jun Zhang, Zuyuan Fang, and Brahim Bensaou Dept. of Computer.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
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.
New Distributed QoS Control Scheme for IEEE Wireless Access Networks Xiaofeng Bai 1, Abdallah Shami 1, Khalim Amjad Meerja 1 and Chadi Assi 2 1.
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Packet Scheduling (and QoS)
QoS & Queuing Theory CS352.
Topics discussed in this section:
Sriram Lakshmanan Zhenyun Zhuang
Intro to Deterministic Analysis
Intro to Deterministic Analysis
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
Queuing and Queue Management
Chapter 9 Copyright 2001 Prentice-Hall
Quality of Service For Traffic Aggregates
COMP/ELEC 429/556 Introduction to Computer Networks
Variations of Weighted Fair Queueing
Hierarchical Scheduling Algorithms
Nov Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Adaptive Random Access Scheme for PAC Date.
Scheduling Algorithms in Broad-Band Wireless Networks
Virtual-Channel Flow Control
Intro to Deterministic Analysis
Aggressiveness Protective Fair Queuing for Bursty Applications
Fair Queueing.
Computer Science Division
Variations of Weighted Fair Queueing
Advanced Computer Networks
© J. Liebeherr, All rights reserved, 2018
Packet Scheduling in Linux
A Fair Scheduling Scheme for HCF
CIS679: Two Planes and Int-Serv Model
ECE 1545 Service Curve Earliest Deadline Due (SCED) or How to construct a scheduler from a service curve.
Introduction to Packet Scheduling
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Fair Queueing.
Introduction to Packet Scheduling
کنترل جریان امیدرضا معروضی.
Presentation transcript:

VirtualClock

Virtual Clock (VC) Proposed by Lixia Zhang (PhD thesis 1989, Sigcomm 1990) Goal: A scheduler that emulates a system with transmissions in periodic intervals Two state variables for each flow j: auxVCj virtual transmission time of the flow rj reserved rate The variable auxVCj keeps track of hypothetical departure times. If all traffic from flow j is limited to the reserved rate, then auxVCj is the departure time of an arrival. Upon arrival of a packet from flow j with size Ljk at time ajk: auxVCj = max (auxVCj , ajk ) + Ljk / rj Stamp auxVCj in packet header Packet are transmitted in increasing order of virtual transmission times

Virtual clock order (with auxVCi) Example: Virtual Clock (with place holder) C = 1 Mbps, r1=r2=r3=1/3 Mbps, L=1000 bits wall clock (ms)= 1 3 4 6 7 8 9 2 5 10 11 1 2 3 4 5 6 7 8 9 10 11 r1=1/3 auxVC1 1 2 3 4 5 6 7 8 9 10 11 12 time r2=1/3 auxVC2 1 2 3 4 5 6 7 8 9 10 11 12 time r3=1/3 auxVC3 1 2 3 4 time Virtual clock order (with auxVCi) time

Example: Virtual Clock C = 1 Mbps, r1=r2=r3=1/3 Mbps, L=1000 bits wall clock (ms)= 1 3 4 6 7 8 9 2 5 10 11 r1=1/3 auxVC1= 1 2 3 4 5 6 7 8 9 10 11 12 time 3 6 9 12 15 18 r2=1/3 auxVC2 = 1 2 3 4 5 6 7 8 9 10 11 12 time 3 6 9 12 15 18 r3=1/3 auxVC3 = 1 2 3 4 time 3 6 9 12 Virtual clock order (with auxVCi) 1 1 1 2 2 2 3 3 3 4 4 4 time 3 3 3 6 6 6 9 9 9 12 12 12

Virtual clock order (with auxVCi) Example: Virtual Clock (with place holder) C = 1 Mbps, r1=r2=r3=1/3 Mbps, L=1000 bits “auxVCj = max (auxVCj , ajk ) + Ljk / rj” prevents credit accumulation of idle flows wall clock (ms)= 1 3 4 6 7 8 9 2 5 10 11 r1=1/3 auxVC1 1 2 3 4 time r2=1/3 auxVC2 1 2 3 4 time r3=1/3 auxVC3 1 2 3 4 time Virtual clock order (with auxVCi) time

Virtual clock order (with auxVCi) Example: Virtual Clock (complete) C = 1 Mbps, r1=r2=r3=1/3 Mbps, L=1000 bits “auxVCj = max (auxVCj , ajk ) + Ljk / rj” prevents credit accumulation of idle flows 1 3 4 6 7 8 9 2 5 10 11 wall clock (ms)= r1=1/3 auxVC1 1 2 3 4 time 3 6 9 12 r2=1/3 auxVC2 1 2 3 4 time 3 6 9 12 r3=1/3 auxVC3 1 2 3 4 time 9 12 15 18 Virtual clock order (with auxVCi) 1 1 2 2 1 3 3 2 4 4 3 4 time 3 3 6 6 9 9 9 12 12 12 15 18

Problem with Virtual Clock (with place holder) Flow that gets more than reserved rate may be penalized in the future 1 3 4 6 7 8 9 2 5 10 11 9 10 11 r1=1/3 auxVC1= 1 2 3 4 5 6 7 8 time 3 6 9 12 15 18 21 24 r2=1/3 auxVC2 = 1 2 3 4 time 8 11 14 17 r3=1/3 auxVC3 = 1 2 3 4 time 8 11 14 17 Virtual clock order (with auxVCi) time

Problem with Virtual Clock (with place holder) Flow that gets more than reserved rate may be penalized in the future 1 3 4 6 7 8 9 2 5 10 11 r1=1/3 auxVC1= 1 2 3 4 5 6 7 8 time 3 6 9 12 15 18 21 24 r2=1/3 auxVC2 = 1 2 3 4 time 8 11 14 17 r3=1/3 auxVC3 = 1 2 3 4 time 8 1 14 17 1 2 3 4 5 1 1 2 2 3 3 4 4 6 7 8 Virtual clock order (with auxVCi) time 3 6 9 12 15 8 8 11 11 14 14 17 17 18 21 24 time

Discussion The “penalty” of service in VirtualClock can be viewed as a fairness issue Note that WFQ timestamps essentially replace the wall-clock arrival time with the arrival time in system virtual time Using network calculus methods, we can see that the root of the problem is that rate guarantees of Virtual Clock are too weak (so it is not a fairness issue) VirtualClock = SCED with lower service curve S(t) = r t ”Penalty” is inherent to lower service cuves of the form S(t) = r t This motivates to look for: Service curves that that offer stronger rate guarantees (strong sc, adaptive sc) Schedulers that realize these service curves (PSRG)