Network calculus ( system theory )

Slides:



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

Routing and Congestion Problems in General Networks Presented by Jun Zou CAS 744.
Min-Plus Linear Systems Theory and Bandwidth Estimation Min-Plus Linear Systems Theory and Bandwidth Estimation TexPoint fonts used in EMF. Read the TexPoint.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
Resource Allocation: Deterministic Analysis. Traffic Model Stochastic Different sample paths with different properties Expected case analysis Deterministic.
Abhay.K.Parekh and Robert G.Gallager Laboratory for Information and Decision Systems Massachusetts Institute of Technology IEEE INFOCOM 1992.
Berlin Network Calculus & Related Models with Applications by George I. Stassinopoulos Prof. NTUA
LOGO Video Packet Selection and Scheduling for Multipath Streaming IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 9, NO. 3, APRIL 2007 Dan Jurca, Student Member,
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
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.
EE 685 presentation Optimal Control of Wireless Networks with Finite Buffers By Long Bao Le, Eytan Modiano and Ness B. Shroff.
0 A Short Course on Network Calculus CH-1015 Ecublens Jean-Yves Le Boudec Patrick Thiran ICA, EPFL.
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”,
1 Network Coding: Theory and Practice Apirath Limmanee Jacobs University.
CS 268: Lecture 15/16 (Packet Scheduling) Ion Stoica April 8/10, 2002.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Network Calculus: Reference Material: J.-Y. LeBoudec and Patrick Thiran: “Network Calculus: A Theory of Deterministic Queuing Systems for the Internet”,
Smoothing Variable-Bit-Rate Video in an Internetwork Jennifer Rexford, Member, IEEE, and Don Towsley, Fellow, IEEE IEEE/ACM Transactions on Networking,
Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED Vishal Misra Wei-Bo Gong Don Towsley University of Massachusetts,
Deterministic Network Calculus p.2. DNC arrival results Accumulated arrival functions R(t): traffic recieved in [0,t] Arrival function may be constrained:
CS144, Stanford University Error in Q3-7. CS144, Stanford University Using longest prefix matching, the IP address will match which entry? a /8.
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.
1 Network Calculus Jean-Yves Le Boudec, lecturer Patrick Thiran Pisa 2003.
Bandwidth Estimation TexPoint fonts used in EMF.
Logical Topology Design
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
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.
Loss-Bounded Analysis for Differentiated Services. By Alexander Kesselman and Yishay Mansour Presented By Sharon Lubasz
Stochastic Optimization for Markov Modulated Networks with Application to Delay Constrained Wireless Scheduling Michael J. Neely University of Southern.
Signals and Systems Analysis NET 351 Instructor: Dr. Amer El-Khairy د. عامر الخيري.
Chengzhi Li and Edward W. Knightly Schedulability Criterion and Performance Analysis of Coordinated Schedulers.
Managing VBR Videos. The VBR Problem Constant quality Burstiness over multiple time scales Difference within and between scenes Frame structure of encoding.
Energy Optimal Control for Time Varying Wireless Networks Michael J. Neely University of Southern California
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Congestion Control in Data Networks and Internets
Packet Scheduling (and QoS)
Digital and Non-Linear Control
QoS & Queuing Theory CS352.
Intro to Deterministic Analysis
Intro to Deterministic Analysis
Advanced Engineering Mathematics 6th Edition, Concise Edition
Empirically Characterizing the Buffer Behaviour of Real Devices
Digital Control Systems (DCS)
Columbia University in the city of New York
CONGESTION CONTROL.
Random Process The concept of random variable was defined previously as mapping from the Sample Space S to the real line as shown below.
COMP/ELEC 429/556 Introduction to Computer Networks
Intro to Deterministic Analysis
EE 122: Quality of Service and Resource Allocation
Intro to Deterministic Analysis
Computer Science Division
A Short Course on Network Calculus
Lightweight but Powerful QoS Solution for Embedded Systems
Schedulability Conditions for Scheduling Algorithms
Understanding Congestion Control Mohammad Alizadeh Fall 2018
ECE 1545 Service Curve Earliest Deadline Due (SCED) or How to construct a scheduler from a service curve.
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
DetNet Bounded Latency-02
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
DetNet Bounded Latency-01
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Network calculus ( system theory ) Jean-Yves Le Boudec ICA, EPFL CH-1015 Lausanne jean-yves.leboudec@epfl.ch http://icawww.epfl.ch

Contents 1. background material 2. the greedy shaper viewed as a min-plus system 3. min-plus operators and a theorem 4. the packetized shaper 5. other examples

Part 1: Background Material Arrival and Service Curves Internet integrated and differentiated services use the concepts of arrival curve and service curves

Arrival Curves Arrival curve  R(t) -R(s)  (t-s) Examples: leaky bucket (u) = ru+b standard arrival curve in the Internet (u) = min (pu+M, ru+b) bits slope r b slope m M time

Arrival Curves can be assumed sub-additive Theorem: can be replaced by a sub-additive function sub-additive: (s+t)  (s) + (t) concave => subadditive

Service Curve System S offers a service curve  to a flow iff for all t there exists some s such that R R*(t) R(s) R* s t

The constant rate server has service curve b(t)=ct buffer s t Proof: take s = beginning of busy period: R*(t) – R*(s) = c (t-s) R*(t) – R(s) = c (t-s)

The guaranteed-delay node has service curve dT seconds  T R R* 0 T T (t) Function T t

The standard model for an Internet router rate-latency service curve bits R T seconds

Part 2: The Greedy Shaper viewed as a Min-Plus System fresh traffic R R* shaped traffic s-smooth shaper: forces output to be constrained by  greedy shaper storesdata in a buffer only if needed examples: constant bit rate link (s(t)=ct) ATM shaper; fluid leaky bucket controller Pb: find input/output relation

A Min-Plus Model for Shapers fresh traffic R x shaped traffic s-smooth Shaper Equations: (1) x  x  (2) x  R

Solving the Min-Plus Model (1) x  x  (2) x  R Solving the Min-Plus Model Theorem: There is a maximum solution; it is equal to R  Proof: (1) find a solution: fixed point x0 = R ; xi = xi-1  and x* = inf {x0, x1, ..., xi, ...} here:   =  and thus xi = R =x* (2) if x is a solution, then x  R thus x   R 

I/O of Greedy Shaper for any shaper, output  R  fresh traffic R R* shaped traffic s-smooth for any shaper, output  R  R is wide-sense increasing, thus R  also thus: the greedy shaper output is R*= R 

A consequence: Greedy Shaper Keeps Arrival Constraints fresh traffic constrained by a R R* re-shaped traffic The output of the shaper is still constrained by  Proof R* = R  (R R R* 

Part 3: Min-Plus Operators and a theorem G = set of functions R -> R+ that are wide-sense increasing works also if time is discrete: N -> R+ we consider operators  : G -> G  is isotone if x(t)  y(t) => (x)(t)  (y)(t)  is upper-semi continuous iff infi((xi )) = (infi(xi)) for  sequences xi

Min-Plus Linear Operators  is min-plus linear if for any constant K, (x + K) = (x) + K (x  y) = (x)  (y)  is upper-semi continuous. Representation Theorem:  is min-plus linear <=> there is some H: R x R -> R+ such that (x)(t)=infs[H(t,s)+x(s)] min-plus linear => isotone

Other Properties of Operators  is time invariant if for some T y(t) = (x)(t) and x’(t) = x(t+T) => (x’)(t) = y(t+T)  is causal if (x)(t) depends only on x(s), 0  s  t

Two linear operators Convolution by a fixed function: Cs: x -> x  s Cs is linear, time invariant, not causal Cso Cs’ = Css’ Idempotent operator hM x-> hM (x) with hM(t) = infst { M(t)- M(s) + x(s) } is idempotent: hMo hM = hM linear, causal, not time invariant

The Packetizer Define function PL by PL(x) = L(n)  L(n)  x < L(n+1) [Chang 99] call PL the operator: PL(R)(t) = PL(R(t)) accumulates bits until entire packets can be delivered PL is idempotent, not linear, but is isotone and upper-semi continuous

A Min-Plus Theorem Implicitely contained in Baccelli et al, “Synchronization and Linearity”, Baccelli et al. Theorem: Assume that  is isotone and upper-semi-continuous. The problem x(t)  b(t)  (x)(t) has one maximum solution in G, given by x*(t) = (b)(t) (Definition of closure)  (x) = inf {x, (x), (x), (x),...} in other words: x0 = b ; xi =  (xi-1) and x* = inf {x0, x1, ..., xi, ...}

Part 4: packetized shaper fresh traffic R R* shaped traffic s-smooth same as previous, but releases only entire packets example : leaky bucket controller Pb: find input/output relation of packetized greedy shaper

Model for packetized shapers fresh traffic R R* shaped traffic s-smooth Define L(i) = l1 + l2 + … + li The output satisfies: (1) R*  R*  (2) R*  R (3) R* is L-packetized

Modelling packetized greedy shapers system equation : R*  PL (R*)  C(R*)  R maximum solution: R* = PL  C(R) th 4.3.3: closure ((PId)o(QId))= closure(PQ) thus closure(PL  C)=closure(PL o C) after some algebra: R* = inf {R(1) , R(2) , R(3), …} with R(i) = PL o C o … o PL o C (R) i.e. R(0)=R, R(i) = PL(R(i-1) )

Numerical Example for R* = PL  C(R) (t) = 25  t/T  for t >0, else 0  - smooth<=> at most 25 data unit per time unit R(t)= a burst of 10 packets of size 10 at time 0 R(i) = PL(R(i-1) ) R* = R(4) 1 2 3 4 5 R(1) R(2) R(3)

Special Case Theorem (LeBoudec, Sigmetrics 2001) If s = s0 + l with l  lmax then PL o C o … o PL o Cs = PL o C oPL and thus R* = PL(R) Applications: if  is concave and (0+)  lmax then the packetized shaper can be realized as the concatenation : shaper + packetizer leaky bucket controllers based on bucket replenishment are functionally equivalent to leaky bucket based on virtual finish times

Part 5: Other Examples Ex3: Variable Capacity Node fresh traffic m(t) R R* node has a time varying capacity µ(t) Define M(t) =0t m(s) ds. the output satisfies R*  R R*(t) -R*(s)  M(t) -M(s) for all s  t and is “as large as possible”

Variable Capacity Node fresh traffic m(t) R R* R*  R R*(t) -R*(s)  M(t) -M(s) for all s  t R*  R  hM(R*) thus there is a maximum solution in G, and R*= hM(R) now hR is idempotent thus hM = hM finally: R*(t) = infst { M(t)- M(s) + R(s) }

Ex 4: Loss System node with service curve b(t) and buffer X fresh traffic R(t) buffer X Loss L(t) b R’(t) R*(t) node with service curve b(t) and buffer X when buffer is full incoming data is discarded modelled by a virtual controller (not buffered) fluid model or fixed sized packets Pb: find loss ratio

Model for Loss System fresh traffic R(t) buffer X Loss L(t) b R’(t) R*(t) R’(t) satisfies R’  (X + P(R’))  h R(R’) d0 where P is the transformation R’ -> R* assume P isotone and usc (« physical assumptions »); thus R’ = (X + P )  h R(d0) we don’t know P but P  Cb theorem: P  P’ => P  P’ thus R’  (X + Cb )  h R(d0)

Representation of Loss fresh traffic R(t) buffer X Loss L(t) b R’(t) R*(t) we have shown: R’  (X + Cb )  h R(d0) compute the closure, obtain R’, thus the loss process L=R-R’

Bound on Loss Ratio Theorem: if R is a-smooth, then L(t)/R(t)  1 - r with r = min(1, inf t  0 [b(t) +X] /a(t)) best bound with these assumptions proof: define x(t) = r R(t) x satisfies the system equation: x  (X + x b)  h R(x)  (X + P(x))  h R(x) R’ is the maximum solution => x(t)  R’(t) for all t

Ex 5: Optimal smoothing  R(t-D) R’(t) R*(t) Network Smoother ß(t) s Video display B server R(t) Network offers a service curve b to flow R’(t), Smoother delivers a flow R’(t) conforming to an arrival curve s. Video stream is stored in the client buffer B read after a playback delay D. Pb: which smoothing strategy minimizes D and B ?

System Equations (1) R’ is s-smooth (2) (R’(t)  R(t-D) Network Smoother ß(t) s Video display B server R(t) (1) R’ is s-smooth (2) (R’(t)  R(t-D) R’(t) = 0 for t  0 Define min-plus deconvolution (a Ø b)(t) = sups 0 [a(s+t)-b(s)] x  y   <=> x Ø   y

Max-Plus operators replace  by , min-plus becomes max-plus Deconvolution with a fixed function x -> x Ø a is max-plus linear

A max-plus model for Example 5  R(t-D) R’(t) R*(t) Network Smoother ß(t) s Video display server R(t) R’ satisfies: (1) R’  R’ Ø s (2) R’  (R Ø  )(t-D) a max-plus system, , with minimum solution x* = inf {x0, x1, ..., xi, ...} x0 (t) = (R Ø  )(t-D) xi = xi-1 Ø s thus R’ = (R Ø  ) Ø s (t-D) = R Ø (  s) (t-D)

Example s  b(t) R  (s  b) R(t) minimum value of D 5 * 106 4 3 2 1 -50 0 50 100 150 200 250 300 350 400 450 Frame # 5 4 3 2 1 * 106 R  (s  b) R(t) minimum value of D

Minimum Playback Delay D must satisfy : R Ø (  s) (-D)  0 this is equivalent to D  h(R,   s)

Back to our example D=h(R,s  b) s  b(t) R(t) 5 * 106 4 3 2 1 -50 0 50 100 150 200 250 300 350 400 450 Frame # 5 4 3 2 1 * 106 s  b(t) D=h(R,s  b)

R(t) D = 435 ms (s  b)(t) D = 102 ms (s  b)(t) 100 200 300 400 2000 4000 6000 8000 10000 R(t) 10 20 30 40 50 60 70 (s  b)(t) D = 435 ms 100 200 300 400 2000 4000 6000 8000 10000 10 20 30 40 50 60 70 (s  b)(t) D = 102 ms Ce théorème est le pendant du théorème de capacité

Deconvolution is the time inverse of convolution (4) Invert time again bits R(t) R( ) T (2) S(t) in inverted time bits R() T R(t) bits R(t) R( ) T (1) R (t) in real time bits R() T S(t) S  s  b R  (s  b ) (3) Shape with s  b s  b

Back to our example R  (s  b) R(t) -50 0 50 100 150 200 250 300 350 400 450 Frame # 5 4 3 2 1 * 106 R  (s  b) Infocom 2001: Joint Smoothing and Source Rate Selection (Verscheure, Frossard, Le Boudec) R(t)

Conclusion Network Calculus is a set of tools and theories for the deterministic analysis of communication networks Application of min-plus algebra Does not supersede stochastic queueing analysis, but gives new tools for analysis of sample paths Book and slides available online at Le Boudec’s or Thiran’s home page