recent progress on a statistical network calculus jorg liebeherr department of computer science...

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

Upload: ruby-small

Post on 17-Dec-2015

215 views

Category:

Documents


2 download

TRANSCRIPT

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

Recent Progress on a Statistical NetworRecent Progress on a Statistical Network Calculusk Calculus

Jorg Liebeherr

Department of Computer ScienceUniversity of Virginia

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

CollaboratorsCollaborators

Almut Burchard

Robert Boorstyn

Chaiwat Oottamakorn

Stephen Patek

Chengzhi Li

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

ContentsContents

• 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. 2651-2664, December 2000.

• A. Burchard, J. Liebeherr, and S. D. Patek. “A Calculus for End–to–end Statistical Service Guarantees.” (2nd revised version), Technical Report, May 2002.

• J. Liebeherr, A. Burchard, and S. D. Patek , “Statistical Per-Flow Service Bounds in a Network with Aggregate Provisioning”, Infocom 2003.

• C. Li, A. Burchard, J. Liebeherr, “Calculus with Effective Bandwidth”, July 2002.

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

Service GuaranteesService Guarantees

SenderReceiverSwitch

• A deterministic service gives worst-case guarantees

Delay d

• A statistical service provides probabilistic guarantees

Pr[ Delay d ] or Pr[ Loss l ]

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

Multiplexing GainMultiplexing Gain

flow 1 for

QoS support to

needed Resource

flows N for

QoS support to

needed Resource

N

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

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

SchedulingScheduling

• Scheduling algorithm determines the order in which traffic is transmitted

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

Deterministic

worst-caseExpected

caseProbable worst-

case

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

Designing Networks for Multiplexing Designing Networks for Multiplexing GainGain

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

TrafficCharacterization/ Conditioning

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

Token BucketMultiple Buckets

Deterministic service

Statistical service

Static Priority

Earliest-Deadline-First

GPS

Average Rate

Peak Rate

FCFS

Peak Rate Allocation

TrafficCharacterization/ ConditioningService /

Admission Control

Scheduling

Designing Networks for Multiplexing Designing Networks for Multiplexing GainGain

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

Peak RateToken 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 BucketsDeterministic service

Earliest-Deadline-First

TrafficCharacterization/ ConditioningService /

Admission Control

Scheduling

Designing Networks for Multiplexing Designing Networks for Multiplexing GainGain

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

Peak RateToken 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 serviceMultiple Buckets

TrafficCharacterization/ Conditioning

Scheduling

Service /Admission Control

Designing Networks for Multiplexing Designing Networks for Multiplexing GainGain

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

Related Work (small subset) Related Work (small subset)

1985 1990 1995 2000

Deterministic network calculusCruz, 1991

(min,+) algebra for det. networks:

Agrawal et.al. 99Chang 98LeBoudec 98

Effective bandwidth in network calculusChang 94

Effective Bandwidth:

J. Hui ’88Guerin et.al. ’91Kelly `91Gibbens, Hunt `91

Motivation for our work on statistical network calculus:

(1) Maintain elegance of deterministic calculus

(2) Exploit know-how of statistical multiplexing

ServiceCurvesCruz 95

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

Source AssumptionsSource AssumptionsArrivals Aj(t,t+) are random processes

Deterministic Calculus:Deterministic Calculus:

(A1) Additivity: For any t1 < t2 < t3, we have:

(A2) Subadditive Bounds: Traffic Aj is constrained by a subadditive deterministic envelope A*

j as follows

with

P

A*=min (Pt,+t)

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

Source AssumptionsSource Assumptions

Statistical Calculus:Statistical Calculus:

(A1) +(A2)

(A3) Stationarity: The Aj are stationary random variables

(A4) Independence: The Ai and Aj (ij) are stochastically independent

(No assumptions on arrival distribution!)

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

Aggregating ArrivalsAggregating Arrivals

Arrivals from multiple flows:

Deterministic Calculus:Deterministic Calculus:Worst-case of multiple flows is sum of the worst-case of each flow

Regulatedarrivals

RegulatorBufferwith Scheduler

Flow 1

Flow N

)(A*1

)(A*N

C

),(1 ttA... ),( ttAN

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

Aggregating ArrivalsAggregating Arrivals

Statistical Calculus: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

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

Obtaining Effective EnvelopesObtaining Effective Envelopes

with

with

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

Effective vs. Effective vs. Deterministic Deterministic Envelope Envelope EnvelopesEnvelopes

A*=min (Pt, +t)

Type 1 flows:P =1.5 Mbps = .15 Mbps=95400 bits

Type 2 flows:P = 6 Mbps = .15 Mbps= 10345 bits

Type 1 flows

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

Effective vs. Effective vs. Deterministic Deterministic Envelope Envelope Envelopes Envelopes

Traffic rate at t = 50 msType 1 flows

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

t t pt qdt

qdArrivals from class p

0)ˆ(),ˆ(supˆ

p

qpC dttAp

with

FIFO:

SP:

EDF:

.0p

q). (p , )( 0 , )( ˆ qp dqpqp

.,ˆmax pqp dd

Scheduling AlgorithmsScheduling Algorithms

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

Admission Control for Scheduling Admission Control for Scheduling AlgorithmsAlgorithms

with Strong Effective Envelopes:

with Effective Envelopes:

with Deterministic Envelopes:

qp

pQ

C dp

ˆ)ˆ(sup /

ˆ

,lH

qp

pQ

C dp

ˆ)ˆ(sup /

ˆG

qp

pj dA

ˆ)ˆ(sup *

ˆ

2000

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

Effective vs. Effective vs. Deterministic Deterministic Envelope Envelope Envelope Envelope

Statistical multiplexing makes a big difference

Scheduling has small impact

C= 45 Mbps, = 10-6

Delay bounds: Type 1: d1=100 ms, Type 2: d2=10 ms,

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

Effective Envelopes and Effective Bandwidth Effective Envelopes and Effective Bandwidth

Effective Bandwidth (Kelly, Chang)

Given (s,), an effective envelope is given by

2002

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

Effective Envelopes and Effective Bandwidth Effective Envelopes and Effective Bandwidth

Now, we can calculate statistical service guarantees for schedulers and traffic types

Schedulers:

SP- Static PriorityEDF – Earliest Deadline FirstGPS – Generalized Processor Sharing

Traffic:

Regulated – leaky bucketOn-Off – On-off sourceFBM – Fractional Brownian Motion

C= 100 Mbps, = 10-6

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

Statistical Network Calculus with Min-Plus Statistical Network Calculus with Min-Plus AlgebraAlgebra

.....

........

............

.

D(t)

A(t)

s

..........

..

backlog=B(s)

delay=W(s)

S(t)

A(t) D(t)

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

•Convolution operation:

•Deconvolution operation

• Impulse function:

Convolution and Deconvolution Convolution and Deconvolution operatorsoperators

t

f(t)

g(t)

f*g(t)

)()(inf (t) g ft][0,

gtf

)()(sup (t) g ft][0,

gtf

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

Service Curves (Cruz 1995)Service Curves (Cruz 1995)

0t, )( S )( tAtD

A (minimum) service curve for a flow is a function S such that:

Examples:

• Constant rate service curve:

• Service curve with delay guarantees:

)( S tct

(t) )( S dt

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

Network Calculus Main Results Network Calculus Main Results (Cruz, Chang, LeBoudec(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

SA*

)( D - )( D)( SA* tt

(0) SA*

)()(A:0|0infd *

t][0,max tSdttd

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

Network Service CurveNetwork Service Curve (Cruz, Chang, LeBoudec)(Cruz, Chang, LeBoudec)

SenderReceiver

TrafficConditioning

S3S1S2

Network Service Curve:

If S1, S2 and S3 are service curves for a flow at nodes, then

Snet = S1 * S2 * S3

is a service curve for the entire network.

Snet

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

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 CalculusStatistical Network Calculus

0t, -1 )( )(Pr tAtD S

2001

0t, )( S )( tAtD

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

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 TheoremsStatistical Network Calculus Theorems

(0) A* S

)()(A:0|0infd *

t][0,max tdttd

S

S*A

0t,, -1 )( D - )( D)( APr * ttS

0t, -1 )0( A)(Pr * StB

0t, -1 d)(Pr max tW

2001

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

Effective Network Service CurveEffective Network Service Curve

Network Service Curve:

If S1,, S2 , … SH , are effective service curves for a flow at nodes, then

. 0t, /Ht-1 )])( ... ()([Pr ,,2,1 atAtD aHH SSS

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

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

What is the cause of the problem What is the cause of the problem with the network effective service with the network effective service curve?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.

Sender ReceiverS2, S1,

D1 = A2

)()( )( )( ,22

t][0,

,222inf

SS

tAtAtD

A1 D2

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

Statistical Per-Flow Service BoundsStatistical Per-Flow Service Bounds

Given:

• Service guarantee to aggregate (SC ) is known

• Total Traffic is known

What is a lower bound on the service seen by a single flow?

2002

Service available to aggregate SC

Sender Receiver

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

Statistical Per-Flow Service BoundsStatistical Per-Flow Service Bounds

Can show:

is an effective service curve for a flow where is a strong effective envelope andis a probabilistic bound on the busy period

2002

Service available to aggregate SC

Sender Receiver

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

Number of flows that can be Number of flows that can be admittedadmitted

Type 1 flows:

Goal: probabilisticdelay bound d=10ms

2002

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

• 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

ConclusionsConclusions