performance modelling of distributed systems · performance modelling of distributed systems 3....

12
Distributed Computer Systems Lab http://disco.informatik.uni-kl.de Prof. Dr.-Ing. Jens B. Schmitt ([email protected]) Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes

Upload: trinhthien

Post on 08-Sep-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Distributed Computer Systems Lab

http://disco.informatik.uni-kl.de

Prof. Dr.-Ing. Jens B. Schmitt

([email protected])

Performance Modelling of Distributed

Systems

3. Modelling of the Arrival Processes

Page 2: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Performance Analysis of Distributed Systems

Classical method: Queueing Theory (QT)

Huge success: telephone network

Poisson arrivals: M/M/1, etc.

Product-form networks rely on Poisson assumption

Mainly for average-case analysis

Lately: Deterministic Network Calculus (DNC)

Get rid of stochastic assumptions

Work out worst-case behaviour

Elegant network analysis without many assumptions

Yet, does not capture statistical multiplexing

Most recently: Stochastic Network Calculus (SNC)

Falls in the middle between QT and DNC: probabilistic worst-case

Captures statistical multiplexing

Promises elegant network analysis

2 Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14)

Page 3: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

The „Canonical“ Problem

Goal: Compute delay for a single flow at a single server

QT approach: knowledge about arrival and service

distributions

DNC approach: deterministic bounds on arrivals and service

SNC approach: probabilistic bounds on arrivals and

service

3

Arrivals Departures

Queue Server

Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14)

Page 4: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Probabilistic Bounds on Arrivals: Preliminaries

Several ways to do it, two mainstreams

MGF bounds

Tail bounds

Cumulative functions

Here: discrete time mainly

Deterministic arrival curve

Background: Stochastic Processes

Trajectory / Sample Path

Example: Markov chain

Here: time space is typically , with the state space being

Increments of a stochastic process

4 Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14)

Page 5: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

5 Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14)

Page 6: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

6 Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14)

Page 7: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Why Deterministic Bounds Do not Work?

Bernoulli process

Exponentially distributed increments

Bottom line: best possible arrival curve is bad - at best.

7 Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14)

Page 8: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Probabilistic Bounds on Arrivals: Tail Bound

What we want is a probabilistic extension of the arrival curve

Or, equivalently

Definition:

Example: Exponentially Bounded Burstiness [YaronSidi93]

Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14) 8

Page 9: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14) 9

Page 10: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Probabilistic Bounds on Arrivals: Potential Gain

Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14) 10

Page 11: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Probabilistic Bounds on Arrivals: MGF Bound

Some inequalities first

Markov‘s Inequality

Chernoff‘s Inequality

Definition:

Instead of a linear (MGF) envelope a general function

can also be used.

Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14) 11

Page 12: Performance Modelling of Distributed Systems · Performance Modelling of Distributed Systems 3. Modelling of the Arrival Processes ... Elegant network analysis without many assumptions

Prof. Dr.-Ing. Jens B. Schmitt – Performance Modelling in Distributed Systems (WS 13/14) 12