The System Theory of Network Calculus

33
THE SYSTEM THEORY OF NETWORK CALCULUS J.-Y. Le Boudec EPFL WoNeCa, 2012 Mars 21 1

description

J.-Y. Le Boudec EPFL WoNeCa , 2012 Mars 21. The System Theory of Network Calculus. Contents. Network Calculus’s System Theory and Two Simple Examples More Examples Time versus Space. The Shaper. fresh traffic. shaped traffic s -smooth. s. R. R*. - PowerPoint PPT Presentation

Transcript of The System Theory of Network Calculus

Page 1: The System Theory of Network Calculus

THE SYSTEM THEORY OF NETWORK CALCULUS

J.-Y. Le BoudecEPFL

WoNeCa, 2012 Mars 21

1

Page 2: The System Theory of Network Calculus

Contents

1. Network Calculus’s System Theory and Two Simple Examples

2. More Examples

3. Time versus Space

2

Page 3: The System Theory of Network Calculus

The Shaper

shaper: forces output to be constrained by greedy shaper storesdata in a buffer only if neededexamples:

constant bit rate link ((t)=ct)ATM shaper; fluid leaky bucket controller

Pb: find input/output relation

3

fresh traffic

R R*

shaped traffic-smooth

Page 4: The System Theory of Network Calculus

A Min-Plus Model of Shaper

Shaper Equations: (1)

(2) and are functions is sub-additive is min-plus convolution

4

fresh traffic

R x

shaped traffic-smooth

Page 5: The System Theory of Network Calculus

Network Calculus’s System Theory = set of functions that are wide-sense increasingAlso works in continuous time, functions are left-continuous An operator is a mapping :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

5

Page 6: The System Theory of Network Calculus

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 a unique H: R x R -> R+ , in and in , such that (x)(t)=infs[H(t,s)+x(s)]

min-plus linear => isotone and upper semi-continuousExample: convolution operator

Example: is given:

6

Page 7: The System Theory of Network Calculus

Min-Plus Residuation TheoremTheorem: ([L., Thiran 2001] thm 4.3.1., derived from Baccelli

et al., ) Assume that is isotone and upper-semi-continuous. The problem

x(t) b(t) (x)(t)where is the unknown function

has one maximum solution in , 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, ...}

7

Page 8: The System Theory of Network Calculus

Application to Shaper

There is a maximum solution obtained by iterating

because Thus The greedy shaper output is R*= R , the subadditive closure of is

8

(1) x x (2)x R

fresh traffic

R R*

shaped traffic-smooth

Page 9: The System Theory of Network Calculus

Variable Capacity Node

node has a time varying capacity µ(t)

Define M(t) =0

t m(s) ds.

the output satisfies R*(t) R(t)R*(t) -R*(s) M(t) -M(s) for all s t

and is “as large as possible”

9

fresh traffic m(t)

R R*

Page 10: The System Theory of Network Calculus

Variable Capacity Node

Operator : s.t.

We have the problem and the sub-additive closure of is There is a maximum solution,

10

fresh traffic m(t)

R R*

R*(t) R(t)R*(t) -R*(s) M(t) -

M(s) for all s t

Page 11: The System Theory of Network Calculus

MORE EXAMPLES2.

11

Page 12: The System Theory of Network Calculus

A System with Loss [Chuang and Cheng 2000]

node with service curve b(t) and buffer of size X when buffer is full incoming data is discarded modelled by a virtual controller (not buffered)fluid model or fixed sized packetsPb: find loss ratio

12

fresh trafficR(t)

buffer X

Loss L(t)

bR’(t) R*(t)

Page 13: The System Theory of Network Calculus

A System with Loss

Assume is smooth; if then no lossIf , what can we say ?

13

fresh trafficR(t)

buffer X

Loss L(t)

bR’(t) R*(t)

(t)

𝜷 (𝒕)𝑣 (𝛼 , 𝛽)

𝑡

𝑋

Page 14: The System Theory of Network Calculus

Bound on Loss Ratio

Thm [Chuang and Cheng 2000] Let be the largest such that i.e.

Then ; it is the best possible bound.

14

fresh trafficR(t)

buffer X

Loss L(t)

bR’(t) R*(t)

(t)

𝜷 (𝒕)𝑣 (𝛼 , 𝛽)

𝑡

𝑋

(t)

𝜷 (𝒕)𝑋=𝑣 (𝑟 𝛼 , 𝛽)

𝑡

Page 15: The System Theory of Network Calculus

Analysis of System with Loss

1. (splitter)2. (buffer does not overflow)

where is the transformation R’ -> R, assumed isotone and usc (« physical assumptions »)

There is a maximum solution and R’ is the maximum solution

15

fresh trafficR(t)

buffer X

Loss L(t)

bR’(t) R*(t)=

Page 16: The System Theory of Network Calculus

Analysis of System with Loss

Let with given by thm.Eqn 1 is satisfied is smooth, thus required buffer and Eqn 2 is satisfiedThus and

16

fresh trafficR(t)

buffer X

Loss L(t)

bR’(t) R*(t)=

Page 17: The System Theory of Network Calculus

Optimal Smoothing [L.,Verscheure 2000]

Network + end-client offer a service curve b to flow R’(t)Smoother delivers a flow R’(t) conforming to an arrival curve .Video stream is stored in the client buffer, read after a playback delay D.Pb: which smoothing strategy minimizes D?

17

R(t-D)R’(t) R*(t)

NetworkSmoother

ß(t)

Video display

B

Video server

R(t)

Page 18: The System Theory of Network Calculus

Optimal Smoothing, System Equations

(1) R’ is -smooth(2) (R’b)(t) R(t-D)Use deconvolution ) = x y b <=> x b ysystem becomes

(1) R’ R’ (2) R’ (R b)(t-D)

18

R(t-D)R’(t) R*(t)

NetworkSmoother

ß(t)

Video display

B

Video server

R(t)

Page 19: The System Theory of Network Calculus

Optimal Smoothing, System Equations

This is a max-plus linear problem, it has a minimum solution given by the iterations: (R (b))(t-D) because

Thus

19

R(t-D)R’(t) R*(t)

NetworkSmoother

ß(t)

Video display

B

Video server

R(t)

Page 20: The System Theory of Network Calculus

Example

20

R(t-D)

-50 0 50 100 150 200 250 300 350 400 450

Frame #

5

4

3

2

1

* 106

R(b)(t-D)

b(t)

a possible R’(t)

Page 21: The System Theory of Network Calculus

Minimum Playback DelayD must satisfy :

R (b ) (-D) 0this is equivalent to

D h(R, b )

21

Page 22: The System Theory of Network Calculus

22

100 200 300 400

2000

4000

6000

8000

10000 R(t)100 200 300 400

10203040506070

(b)(t)D = 435 ms

100 200 300 400

2000

4000

6000

8000

10000

100 200 300 40010203040506070

(b)(t)D = 102 ms

Page 23: The System Theory of Network Calculus

The Perfect Battery

Battery may be charged ()or discharged ()Load is givenProblem is to determine a power schedule , subject to and within battery constraints

23

Page 24: The System Theory of Network Calculus

System Equations for the Perfect Battery

1. no underflow2. no overflow3. power constraint

where are cumulative functions such as

24

Page 25: The System Theory of Network Calculus

System Equations

25

Relax (eq 1):

There is a maximum solution,

is causalThe problem is feasible iff satisfies (eq 1), i.e.

1. no underflow2. no overflow

Page 26: The System Theory of Network Calculus

System Equations

26

Relax (eq 2):

There is a minimum solution,

is non-causalThe problem is feasible iff satisfies (eq 2)This gives the same conditions

1. no underflow2. no overflow

Page 27: The System Theory of Network Calculus

TIME VERSUS SPACE3.

27

Page 28: The System Theory of Network Calculus

The Residuation Theorem is a Space Method

The maximum solution to the problem

is given by iterates over the entire trajectory

When time is discrete there may be another way to compute by time recursion

28

Page 29: The System Theory of Network Calculus

The Shaper, Time Method

Time is discrete Define by:

is solution For any other solution , [induction] is the maximal solution, i.e. Note the difference in representation:

29

(1) x x (2)x R

fresh traffic

R R*

shaped traffic-smooth

Page 30: The System Theory of Network Calculus

The Time Method for Linear Problems[L., Thiran 2001] Thm 4.4.1: the problem in discrete time

where , in and in

has a maximal solution given by

This is a second, alternative representation for

30

Page 31: The System Theory of Network Calculus

Perfect Battery

31

There is a maximum solution,

It can be computed by the time method:

The minimum schedule is anti-causal and can be computed with time reversal

Page 32: The System Theory of Network Calculus

ConclusionMin-plus and max-plus system theory contains a central result : residuation theorem ( = fixed point theorem)Establishes existence of maximum (resp. minimum) solutionsand provides a representation

Space and Time methods give different representations

32

Page 33: The System Theory of Network Calculus

Thank You…

33