Recent Progress on a Statistical Network Calculus Jorg Liebeherr Department of Computer Science University of Virginia.

Slides:



Advertisements
Similar presentations
A Statistical Network Calculus for Computer Networks Jorg Liebeherr Department of Computer Science University of Virginia.
Advertisements

Network and Communications Hongsik Choi Department of Computer Science Virginia Commonwealth University.
Resource Allocation: Deterministic Analysis. Traffic Model Stochastic Different sample paths with different properties Expected case analysis Deterministic.
Engineering Internet QoS
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.
0 A Short Course on Network Calculus CH-1015 Ecublens Jean-Yves Le Boudec Patrick Thiran ICA, EPFL.
Aleksandar Kuzmanovic and Edward W. Knightly Rice Networks Group Measuring Service in Multi-Class Networks.
Network Calculus: Reference Material: J.-Y. LeBoudec and Patrick Thiran: “Network Calculus: A Theory of Deterministic Queuing Systems for the Internet”,
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #11 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”
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.
Edward W. Knightly and Chengzhi Li Rice Networks Group Coordinated Scheduling: A Mechanism for Efficient Multi-Node Communication.
Supporting Stored Video: Reducing Rate Variability and End-toEnd Resource Requirements through Optimal Smoothing By James D. salehi, Zhi-Li Zhang, James.
Making Parallel Packet Switches Practical Sundar Iyer, Nick McKeown Departments of Electrical Engineering & Computer Science,
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.
Bandwidth sharing: objectives and algorithms Jim Roberts France Télécom - CNET Laurent Massoulié Microsoft Research.
1 Scheduling for Variable-Bit- Rate Video Streaming By H. L. Lai.
Service Disciplines for Guaranteed Performance Service Hui Zhang, “Service Disciplines for Guaranteed Performance Service in Packet-Switching Networks,”
1 Token Bucket Based CAC and Packet Scheduling for IEEE Broadband Wireless Access Networks Chi-Hung Chiang
Network Calculus: Reference Material: J.-Y. LeBoudec and Patrick Thiran: “Network Calculus: A Theory of Deterministic Queuing Systems for the Internet”,
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Vikram Kanodia.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
Long Range Dependent Traffic and Leaky Buckets CS215-winter ’01 Demetrios Laios 3/22/2001.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
1 Proportional differentiations provisioning Packet Scheduling & Buffer Management Yang Chen LANDER CSE Department SUNY at Buffalo.
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.
Quality of Service. Overview Why QoS? When QoS? One model: Integrated services Contrast to Differentiated Services (more modern; more practical; not covered)
1 Network Calculus Jean-Yves Le Boudec, lecturer Patrick Thiran Pisa 2003.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
. Post-Internet QoS Research Jorg Liebeherr Department of Computer Science University of Virginia IWQoS 2004 Panel.
Bandwidth Estimation TexPoint fonts used in EMF.
Practical Schedulability Analysis for Generalized Sporadic Tasks in Distributed Real-Time Systems Yuanfang Zhang 1, Donald K. Krecker 2, Christopher Gill.
Measurement-based Admission Control CS 8803NTM Network Measurements Parag Shah.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
A Forward end-to-end delays Analysis for packet switched networks Georges Kemayo, Frédéric Ridouard, Henri Bauer, Pascal Richard LIAS, Université de Poitiers,
QoS Routing in Networks with Inaccurate Information: Theory and Algorithms Roch A. Guerin and Ariel Orda Presented by: Tiewei Wang Jun Chen July 10, 2000.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet Integrated Services (IntServ)
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.
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
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.
EE 122: Lecture 15 (Quality of Service) Ion Stoica October 25, 2001.
Dynamic Bandwidth Allocation with Fair Scheduling For WCDMA Systems Liang Xu, Xumin Shen, and Jon W. Mark University of Waterloo published in IEEE Wireless.
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?
Delays in Packet Networks
Deterministic Network Calculus. DNC history Queueing Theory, Agner Krarup Erlang, 1909 Queueing Networks, James R. Jackson, 1957 Scheduling Theory, Liu.
Chengzhi Li and Edward W. Knightly Schedulability Criterion and Performance Analysis of Coordinated Schedulers.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
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.
Intro to Deterministic Analysis
Intro to Deterministic Analysis
Measuring Service in Multi-Class Networks
Delays in Packet Networks
Scheduling in Packet Networks
Intro to Deterministic Analysis
EE 122: Quality of Service and Resource Allocation
Computer Science Division
Schedulability Conditions for Scheduling Algorithms
Quality-of-Service ECE1545.
ECE 1545 Service Curve Earliest Deadline Due (SCED) or How to construct a scheduler from a service curve.
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Recent Progress on a Statistical Network Calculus Jorg Liebeherr Department of Computer Science University of Virginia

Collaborators Almut Burchard Robert Boorstyn Chaiwat Oottamakorn Stephen Patek Chengzhi Li

Contents R. Boorstyn, A. Burchard, J. Liebeherr, C. Oottamakorn. “Statistical Service Assurances for Packet Scheduling Algorithms”, IEEE Journal on Selected Areas in Communications. Special Issue on Internet QoS, Vol. 18, No. 12, pp , December A. Burchard, J. Liebeherr, and S. D. Patek. “A Calculus for End–to–end Statistical Service Guarantees.” (2nd revised version), Technical Report, May J. Liebeherr, A. Burchard, and S. D. Patek, “Statistical Per-Flow Service Bounds in a Network with Aggregate Provisioning”, Infocom C. Li, A. Burchard, J. Liebeherr, “Calculus with Effective Bandwidth”, July 2002.

Service Guarantees Sender ReceiverSwitch A deterministic service gives worst-case guarantees Delay  d A statistical service provides probabilistic guarantees Pr[ Delay  d ]   or Pr[ Loss  l ]  

Multiplexing Gain Sources of multiplexing gain: Traffic Conditioning (Policing, Shaping) Scheduling Statistical Multiplexing of Traffic

Scheduling Scheduling algorithm determines the order in which traffic is transmitted

Deterministic worst-case Expected case Probable worst- case

Designing Networks for Multiplexing Gain Peak Rate Multiple Buckets FCFS Static Priority Earliest-Deadline-First GPS Average Rate Peak Rate Allocation Deterministic service Statistical service Scheduling Service / Admission Control Token Bucket Traffic Characterization/ Conditioning

Token Bucket Multiple Buckets Deterministic service Statistical service Static Priority Earliest-Deadline-First GPS Average Rate Peak Rate FCFS Peak Rate Allocation Traffic Characterization/ Conditioning Service / Admission Control Scheduling Designing Networks for Multiplexing Gain

Peak Rate Token Bucket Peak Rate Allocation Statistical service FCFS Static Priority GPS Average Rate By now: The design space for determi- nistic guarantees is well understood. Multiple Buckets Deterministic service Earliest-Deadline-First Traffic Characterization/ Conditioning Service / Admission Control Scheduling Designing Networks for Multiplexing Gain

Peak Rate Token Bucket Peak Rate Allocation Deterministic service FCFS Static Priority Earliest-Deadline-First GPS Average Rate Still open: Is there an elegant framework to reason about statistical guarantees?  Statistical Network Calculus Statistical service Multiple Buckets Traffic Characterization/ Conditioning Scheduling Service / Admission Control Designing Networks for Multiplexing Gain

Related Work (small subset) Deterministic network calculus Cruz, 1991 (min,+) algebra for det. networks: Agrawal et.al. 99 Chang 98 LeBoudec 98 Effective bandwidth in network calculus Chang 94 Effective Bandwidth: J. Hui ’88 Guerin et.al. ’91 Kelly `91 Gibbens, Hunt `91 Motivation for our work on statistical network calculus: (1) Maintain elegance of deterministic calculus (2) Exploit know-how of statistical multiplexing Service Curves Cruz 95

Source Assumptions Arrivals A j (t,t+  ) are random processes Deterministic Calculus: (A1) Additivity: For any t 1 < t 2 < t 3, we have: (A2) Subadditive Bounds: Traffic A j is constrained by a subadditive deterministic envelope A * j as follows with

Source Assumptions Statistical Calculus: (A1) +(A2) (A3) Stationarity: The A j are stationary random variables (A4) Independence: The A i and A j (i  j) are stochastically independent (No assumptions on arrival distribution!)

Aggregating Arrivals Arrivals from multiple flows: Deterministic Calculus: Worst-case of multiple flows is sum of the worst-case of each flow Regulated arrivals Regulator Buffer with Scheduler Flow 1 Flow N C......

Aggregating Arrivals Statistical Calculus: To bound aggregate arrivals we define a function that is a bound on the sum of multiple flows with high probability  “Effective Envelope” Effective envelopes are non-random functions effective envelope : strong effective envelope : 2000

Obtaining Effective Envelopes with

Effective vs. Deterministic Envelope Envelopes A*=min (Pt,  +  t) Type 1 flows: P =1.5 Mbps  =.15 Mbps  =95400 bits Type 2 flows: P = 6 Mbps  =.15 Mbps  = bits Type 1 flows

Effective vs. Deterministic Envelope Envelopes Traffic rate at t = 50 ms Type 1 flows

Scheduling Algorithms Consider class- q arrival at t with t + d q : Tagged arrival has no delay bound violation if Class-p arrivals from class p which Are transmitted before tagged arrival. Arrivals from class p Tagged arrival Limit (Scheduler Dependent) Deadline of Tagged arrival Consider a work-conserving scheduler with rate R

Arrivals from class p with FIFO : SP : EDF : Scheduling Algorithms

Admission Control for Scheduling Algorithms with Strong Effective Envelopes: with Effective Envelopes: with Deterministic Envelopes: 2000

Effective vs. Deterministic Envelope Envelope Statistical multiplexing makes a big difference Scheduling has small impact C= 45 Mbps,  = Delay bounds: Type 1: d 1 =100 ms, Type 2: d 2 =10 ms,

Effective Envelopes and Effective Bandwidth Effective Bandwidth (Kelly, Chang) Given  (s,  ), an effective envelope is given by 2002

Effective Envelopes and Effective Bandwidth Now, we can calculate statistical service guarantees for schedulers and traffic types Schedulers: SP- Static Priority EDF – Earliest Deadline First GPS – Generalized Processor Sharing Traffic: Regulated – leaky bucket On-Off – On-off source FBM – Fractional Brownian Motion C= 100 Mbps,  = 10 -6

Statistical Network Calculus with Min-Plus Algebra S(t) A(t) D(t)

Convolution operation: Deconvolution operation Impulse function: Convolution and Deconvolution operators

Service Curves (Cruz 1995) A (minimum) service curve for a flow is a function S such that: Examples: Constant rate service curve: Service curve with delay guarantees:

Network Calculus Main Results (Cruz, Chang, LeBoudec) 1.Output Envelope:is an envelope for the departures: 2.Backlog bound: is an upper bound for the backlog B 3.Delay bound: An upper bound for the delay is

Network Service Curve (Cruz, Chang, LeBoudec) Sender Receiver Traffic Conditioning S3S3 S1S1 S2S2 Network Service Curve: If S 1, S 2 and S 3 are service curves for a flow at nodes, then S net = S 1 * S 2 * S 3 is a service curve for the entire network. S net

A (minimum) service curve for a flow is a function S such that: A (minimum) effective service curve for a flow is a function S  such that: Statistical Network Calculus 2001

1.Output Envelope: is an envelope for the departures: 2.Backlog bound: is an upper bound for the backlog 3.Delay bound: A probabilistic upper bound for the delay, i.e., Statistical Network Calculus Theorems 2001

Effective Network Service Curve Network Service Curve: If S 1, , S 2,  … S H,  are effective service curves for a flow at nodes, then. Unfortunately, this network service is not very useful! A “good” network service curve can be obtained by working with a modified service curve definition 2002

What is the cause of the problem with the network effective service curve? In the convolution the range [0,t] where the infimum is taken is a random variable that does not have an a priori bound. SenderReceiver S 2,  S 1,  D 1 = A 2 A1A1 D2D2

Statistical Per-Flow Service Bounds Given: Service guarantee to aggregate ( S C ) is known Total Traffic is known What is a lower bound on the service seen by a single flow? 2002 Service available to aggregate S C Sender Receiver

Statistical Per-Flow Service Bounds Can show: is an effective service curve for a flow where is a strong effective envelope and is a probabilistic bound on the busy period 2002 Service available to aggregate S C Sender Receiver

Effective service curve of a single flow Type 1 flows: Bandwidth needed by a per- flow allocation to meet a delay bound of d=10ms

Number of flows that can be admitted Type 1 flows: Goal: probabilistic delay bound d=10ms 2002

Convergence of deterministic and statistical analysis with new constructs: Effective envelopes Effective service curves Preserves much (but not all) of the deterministic calculus Open issues: So far: Often need bound on busy period or other bound on “relevant time scale”. Many problems still open for multi-node calculus Conclusions

Adaptive service curves Modified convolution operation

Adaptive service curves adaptive service curve: Many service curves are adaptive (  Cruz/Okino, LeBoudec) Obtain service curve with t 0 =0 l -adaptive service curve: l -adaptive effective service curve: strong (l -adaptive) effective service curve:

Effective Network Service Curve Sender Receiver Traffic Conditioning T3,l,T3,l, T1,l,T1,l, T2,l,T2,l, A* Network Service Curve: If T 1,l, , T 2,l, , and T 3,l, , are strong effective service curves for a flow at nodes, then T net,l, 3  = T 1,l,  * T 2,l,  * T 3,l,  is a service curve for the entire network. T net,l, 3 

Recover original effective setwork curve Given a strong effective service curve T l, . If the backlog clears in any time interval of length l with probability  1, i.e, Thenis an effective service curve