Deterministic Network Calculus p.2. DNC arrival results Accumulated arrival functions R(t): traffic recieved in [0,t] Arrival function may be constrained:

Slides:



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

Traffic and routing. Network Queueing Model Packets are buffered in egress queues waiting for serialization on line Link capacity is C bps Average packet.
Lecture 4. Topics covered in last lecture Multistage Switching (Clos Network) Architecture of Clos Network Routing in Clos Network Blocking Rearranging.
1 Lecture 32 Closure Properties for CFL’s –Kleene Closure construction examples proof of correctness –Others covered less thoroughly in lecture union,
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Resource Allocation: Deterministic Analysis. Traffic Model Stochastic Different sample paths with different properties Expected case analysis Deterministic.
1.  Congestion Control Congestion Control  Factors that Cause Congestion Factors that Cause Congestion  Congestion Control vs Flow Control Congestion.
Berlin Network Calculus & Related Models with Applications by George I. Stassinopoulos Prof. NTUA
Queuing Theory For Dummies Jean-Yves Le Boudec 1.
THE SYSTEM THEORY OF NETWORK CALCULUS J.-Y. Le Boudec EPFL WoNeCa, 2012 Mars 21 1.
Communication Networks Network Calculus: Deterministic Traffic Analysis Last updated: Thursday, May 07, 2015 Prof. Amir Herzberg Dept of Computer.
Analytical Modeling and Evaluation of On- Chip Interconnects Using Network Calculus M. BAkhouya, S. Suboh, J. Gaber, T. El-Ghazawi NOCS 2009, May 10-13,
0 A Short Course on Network Calculus CH-1015 Ecublens Jean-Yves Le Boudec Patrick Thiran ICA, EPFL.
Analysis and Simulation of a Fair Queueing Algorithm A. Demers, S. keshav, and S. Shenker Wireless/Mobile Network Lab 임상택.
Recent Progress on a Statistical Network Calculus Jorg Liebeherr Department of Computer Science University of Virginia.
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 Transport Analysis Computer Science Division Department of Electrical Engineering and Computer.
Worst-case Fair Weighted Fair Queueing (WF²Q) by Jon C.R. Bennett & Hui Zhang Presented by Vitali Greenberg.
Algorithm Orals Algorithm Qualifying Examination Orals Achieving 100% Throughput in IQ/CIOQ Switches using Maximum Size and Maximal Matching Algorithms.
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.
Deterministic Network Calculus. Background ● Queueing Theory gives probabilistic results ● Critical applications need hard bounds ● Queueing theory extends.
CS444/CS544 Operating Systems Scheduling 2/05/2007 Prof. Searleman
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Performance Modeling Computer Science Division Department of Electrical Engineering and Computer.
Network Calculus: Reference Material: J.-Y. LeBoudec and Patrick Thiran: “Network Calculus: A Theory of Deterministic Queuing Systems for the Internet”,
Energy-Efficient Rate Scheduling in Wireless Links A Geometric Approach Yashar Ganjali High Performance Networking Group Stanford University
Deterministic Network Calculus. DNC history DNC motivation.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
CS144, Stanford University Error in Q3-7. CS144, Stanford University Using longest prefix matching, the IP address will match which entry? a /8.
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
References for M/G/1 Input Process
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.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
1 Network Calculus Jean-Yves Le Boudec, lecturer Patrick Thiran Pisa 2003.
Network Analysis A brief introduction on queues, delays, and tokens Lin Gu, Computer Networking: A Top Down Approach 6 th edition. Jim Kurose.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Smart-Grid Calculus Dan-Cristian Tomozei (joint work with J.-Y. Le Boudec) DESL-LCA2 Workshop Orsières-Verbier March 2013.
1. Performance Guarantees Introduction –by asking sources about flow behavior it is possible to construct networks that could guarantee performance for.
Introduction to Queueing Theory
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Queuing Theory and Traffic Analysis Based on Slides by Richard Martin.
ECE466 - Tutorial Simple Delay and Throughput Analysis.
CS 267: Automated Verification Lecture 3: Fixpoints and Temporal Properties Instructor: Tevfik Bultan.
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.
1 © Jean-Yves Le Boudec and Patrick Thiran Network calculus : CH-1015 Lausanne Jean-Yves.Leboudec Jean-Yves.
Time Complexity of Algorithms (Asymptotic Notations)
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.
Stochastic Optimization for Markov Modulated Networks with Application to Delay Constrained Wireless Scheduling Michael J. Neely University of Southern.
1 Queuing Delay and Queuing Analysis. RECALL: Delays in Packet Switched (e.g. IP) Networks End-to-end delay (simplified) = End-to-end delay (simplified)
Deterministic Network Calculus. DNC history Queueing Theory, Agner Krarup Erlang, 1909 Queueing Networks, James R. Jackson, 1957 Scheduling Theory, Liu.
1 COMP541 Sequential Logic Timing Montek Singh Sep 30, 2015.
Chengzhi Li and Edward W. Knightly Schedulability Criterion and Performance Analysis of Coordinated Schedulers.
Reduced Rate Switching in Optical Routers using Prediction Ritesh K. Madan, Yang Jiao EE384Y Course Project.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
Department of Statistics University of Rajshahi, Bangladesh
BSnetworks.pptTKK/ComNet Research Seminar, SRPT Applied to Bandwidth Sharing Networks (to appear in Annals of Operations Research) Samuli Aalto.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Section 5.4 Flow Models, Optimal Routing, and Topological Design p.1.
Fixpoints and Reachability
Intro to Deterministic Analysis
Buffer Management in a Switch
A Short Course on Network Calculus
Network calculus ( system theory )
CSE 550 Computer Network Design
Switch Performance Analysis and Design Improvements
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Deterministic Network Calculus p.2

DNC arrival results Accumulated arrival functions R(t): traffic recieved in [0,t] Arrival function may be constrained: R(t)-R(s) <=  (t-s)  (t-s) is typically either affine or staircase Packet spacing with period T and tolerance  is constrained by staircase arrival curve. For fixed length packets affine and staircase constraints are equivalent. Leaky buckets and GCRAs are euqivalent and are affine and staircase constrained.

DNC arrival results Arrival curves  and their left limits  L are equivalent. Good functions have  (0)=0 and are subadditive:  (t+s) <=  (t) +  (s) Arrival curves  and their subadditive closures are equivalent. Good functions are sufficient as arrival functions. Affine and staircase functions are good. R R (t) = sup {R(t+v)-R(v)} (for all positive v) is the smallest arrival curve for R

Service curves (definition) Service curves specify in the worst service to be experienced by some service element in a network. Service curves play the role of transfer functions (system impulse responses in our network calculus) Definition (of service curve) An input flow R is guaranteed a service  from som network element iff: R >= R* >= R  = inf {  (t-s)+R(s)} (for all s <= t) Where R* is the output flow from the network element.

Service curves (motivation) Consider a service element where the output rate is constantly r within busy periods. Input flow is R and output flow is R* We have directly for t0 < t R*(t)-R*(t0) = r(t-t0) when t and t0 are in the same busy period. If t0 is the beginning of the busy period: R(t0)=R*(t0) so that R*(t)-R(t0) = r(t-t0) R*(t)=R(t0)+r(t-t0) R*(t) >= inf {r(t-s)+R(s)} (for all s <= t)

Service Curves (motivation) Consider a service element where every bit is delayed constantly d. We have directly for t0 < t R*(t)=R(t-d) Consider the funtion  d defined by  d (t)=0 for t <=d  d (t)=infinity for t > d Then R*(t) =R(t-d) = inf {  d (t-s)+R(s)} (for all s <= t) (s must be the smallest value for which t-s <= d i.e. s = t-d) d infinity

Service curves (motivation) (strict service curves) Consider a network element where the output from the beginning of the present busy period is above  (t-t0) (t0 – beginning of busy period) when t is in busy period. Then for some t in a busy period: R*(t)-R*(t0) >=  (t-t0) R*(t) >= R*(t0) +  (t-t0) R*(t) >= R(t0) +  (t-t0) >= inf {  (t-s)+R(s)} (for all s <= t) Then for some t in an idle period: R*(t) = R(t) >= inf {  (t-s)+R(s)} (for all s <= t)

Service Curves (Concatenation) Consider the following tandem configuration of network elements R(t)R**(t)R*(t) Then the tandem guarantees a service curve     What we need to prove is that is monotone and associative, i.e. R** >= R*  R  R ( 

Concatenation (associativity)  R  inf  s  t {  (t-s) +  inf  <= s {  (s  R(   inf  s  t {inf  <= s {  (t-s) +  (s  R(   inf  s  t,  <= s {  (t-s) +  (s  R(  R (  inf  s  t {  inf  <= t-s {  (t-s-  )+  (  R(s) }} = inf  s  t {  inf  <= t-s {  (t-s-  ) +  (  R(s) }}  inf  s  t,  <= t-s {  (t-s-  ) +  (  R(s) } (t-  =  = t-  = inf  t, s<=  {  -s) +  (t  R(s) } = inf  t, s<=  {  (t  (  -s  R(s) } (  -> s, s ->  = inf  s  t,  <= s {  (t-s  (s  R  }=  R 

Concatenating Constant Rates   = inf s <= t {  (t-s  1  s)} = inf s <= t {r2(t-s) + r1(s)} r2 t for r1>r2 (s=0) r1 t for r2>r1 (s=t) = min{r1,r2} t CONSITENT WITH BOTTLENECK INTUITION

Concatenating with max. Delay  d  = inf s <= t {  (t-s  d  s)} = min{inf s <= d {  (t-s)},inf} = inf s <= d {  (t-s)}=  (t-d) or in fact [  (t-d)]+ d

Prioritizing Servers (preemptive)  H = c t  L = [c t –  H ]+ HH  H = c t LL

Queue Lengths R t R* time q(t) q

Queue Lengths from Specifications   q max

Proof R(t)-R*(t) <= R(t)-inf s<=t {  (t-s)+R(s)} = sup s<=t {R(t) -  (t-s) - R(s)} = sup s<=t {R(t) – R(s) -  (t-s)} <= sup s<=t {  (t-s) -  (t-s)} = sup 0<=t-s {  (t-s) -  (t-s)}

Waiting Times R t R* time w(t)

Waiting Times from Specifications   w max

Output Flow Let the inflow R to some service element be constrained by  and the service element guarantee a service curve  Then The output flow R* is constrained by  sup u>=0 {  (t+u) –  (u)}

Output Flow (example)   sup u>=0 {  (t+u) –  (u)}= sup u>=0 {r(t+u)+b – [s u – p]+}= max{sup 0 =d {r(t+u)+b – s u + p}}= max{{r(t+d)+b},{r (t+d) – (s d – p)}}= r(t+d) + b = rt + rd + b = rt + r (p/s) + b d  rd

Converging Flows  n+x <=  n +  x

Loops (example) RR LL c c  L low  R low  L high  R high  L high =  R high =c t,  L low = [c t-  R low ]+,  R low = [c t-  L low ]+,

Loops (example)  L high =  R high =c t,  L low = [c t-  R low ]+,  R low = [c t-  L low ]+  L = rL t + bL,  R = rR t + bR  R low = rR low t + bR low,  L low = rL low t + bL low rR low = rR, rL low = rL bR low = bR + rR bL low /(c- rL low ) = bR + bL low rR /(c- rL low ) bL low = bL + rL bR low /(c- rR low ) = bL + bR low rL /(c- rR low )