Examples: Lect03.ppt S-38.145 - Introduction To Teletraffic Theory - Spring 2005
Examples: Lect03.ppt S-38.145 - Introduction To Teletraffic Theory - Spring 2005
Examples: Lect03.ppt S-38.145 - Introduction To Teletraffic Theory - Spring 2005
Examples
Contents
2
3. Examples
3
3. Examples
µ
1
λ µ
µ
µ
n
4
3. Examples
Traffic process
channel-by-channel
occupation call holding time
6
channels
5
4
3
2
1
time
call arrival times
blocked call
nr of channels
occupied
nr of channels
6
5
4
3
2
1
0
traffic volume time
5
3. Examples
Traffic intensity
a = λh
– The traffic intensity is a dimensionless quantity. Anyway, the unit of the
traffic intensity a is called erlang (erl)
– By Little’s formula: traffic of one erlang means that one channel is occupied
on average
• Example:
– On average, there are 1800 new calls in an hour, and the average holding
time is 3 minutes. Then the traffic intensity is
a = 1800 ∗ 3 / 60 = 90 erlang
6
3. Examples
Blocking
7
3. Examples
Call rates
• In a loss system each call is either lost or carried. Thus, there are
three types of call rates:
– λoffered = arrival rate of all call attempts
– λcarried = arrival rate of carried calls
– λlost = arrival rate of lost calls
λoffered λcarried
λlost
Traffic streams
• The three call rates lead to the following three traffic concepts:
– Traffic offered aoffered = λofferedh
λoffered λcarried
– Traffic carried acarried = λcarriedh
– Traffic lost alost = λlosth λlost
9
3. Examples
• System capacity
– n = number of channels on the link
• Traffic load
– a = (offered) traffic intensity
• Quality of service (from the subscribers’ point of view)
– Bc = call blocking = probability that an arriving call finds all n channels
occupied
• Assume an M/G/n/n loss system:
– calls arrive according to a Poisson process (with rate λ)
– call holding times are independently and identically distributed according to
any distribution with mean h
10
3. Examples
• Then the quantitive relation between the three factors (system, traffic,
and quality of service) is given by Erlang’s formula:
an
Bc = Erl(n, a ) := n!
n i
∑ ai!
i =0
Example
• Assume that there are n = 4 channels on a link and the offered traffic is
a = 2.0 erlang. Then the call blocking probability Bc is
24 16
4! 24 2
B c = Erl( 4 , 2 ) = = = ≈ 9 .5 %
22 23 24 1+ 2 + 4+8 16
+ 24 21
1+ 2 + 2!
+ 3!
+ 4! 2 6
26
Bc = Erl( 6 , 2 ) = 6! ≈ 1 .2 %
2 3 4 5 6
1 + 2 + 22! + 23! + 24! + 25! + 26!
12
3. Examples
• Given the quality of service requirement that Bc < 1%, the required
capacity n depends on the traffic intensity a as follows:
80
60
capacity n
40
20
20 40 60 80 100
13
traffic a
3. Examples
1 − Bc (a ) = 1 − Erl(20, a )
1
0.8
0.6
quality of service
1 − Bc 0.4
0.2
20 40 60 80 100
14
traffic a
3. Examples
• Given the traffic intensity a = 15.0 erlang, the required quality of service
1 − Bc depends on the capacity n as follows:
1 − Bc (n) = 1 − Erl(n,15.0)
1
0.8
0.6
quality of service
1 − Bc 0.4
0.2
10 20 30 40 50
15
capacity n
3. Examples
Contents
16
3. Examples
R
R R
R
17
3. Examples
µ
λ
18
3. Examples
Traffic process
time
packet arrival times
number of packets in the system
4
3
2
1
0
time
link occupation
1
0
time
19
3. Examples
Traffic load
20
3. Examples
Example
21
3. Examples
Delay
22
3. Examples
• System capacity
– C = link speed in kbps
• Traffic load
– λ = packet arrival rate in pps (considered here as a variable)
– L = average packet length in kbits (assumed here to be constant 1 kbit)
• Quality of service (from the users’ point of view)
– Pz = probability that a packet has to wait “too long”, i.e. longer than a given
reference value z (assumed here to be constant z = 0.00001 s = 10 µs)
• Assume an M/M/1 queueing system:
– packets arrive according to a Poisson process (with rate λ)
– packet lengths are independent and identically distributed according to the
exponential distribution with mean L
23
3. Examples
• Then the quantitive relation between the three factors (system, traffic,
and quality of service) is given by the following formula:
Pz = Wait(C , λ ; L, z ) :=
λL exp(−( C − λ ) z ) = ρ exp(− µ (1 − ρ ) z ), if λL < C ( ρ < 1)
C L
1, if λL ≥ C ( ρ ≥ 1)
• Note:
– The system is stable only in the former case (ρ < 1). Otherwise the number
of packets in the buffer grows without limits.
24
3. Examples
Example
25
3. Examples
• Given the quality of service requirement that Pz < 1%, the required link
speed C depends on the arrival rate λ as follows:
• Given the link speed C = 1.0 Gbps = 1.0 kbit/µs, the quality of service
1 − Pz depends on the arrival rate λ as follows:
1 − Pz (λ ) = 1 − Wait(1.0, λ ;1,10)
1
0.8
0.6
quality of service
1 − Pz 0.4
0.2
• Given the arrival rate λ = 600,000 pps = 0.6 packets/µs, the quality of
service 1 − Pz depends on the link speed C as follows:
1 − Pz ( R ) = 1 − Wait(C ,0.6;1,10)
1
0.8
0.6
quality of service
1 − Pz 0.4
0.2
Contents
29
3. Examples
• Sharing models are suitable for describing elastic data traffic at flow
level
– Elasticity refers to the adaptive sending rate of TCP flows
– This kind of models have been proposed, e.g., by J. Roberts and his
researchers (http://perso.rd.francetelecom.fr/roberts/)
• Consider a link between two packet routers
– traffic consists of TCP flows loading the link
R
R R
R
30
3. Examples
∞ µ
λ
31
3. Examples
Traffic process
transfer time
flow duration with full link rate
extra delay
time
flow arrival times
number of flows in the system
4
3
2
1
0
time
relative transmission rate for single flows
1
1/2
1/41/3
0
time 32
3. Examples
Traffic load
33
3. Examples
Example
34
3. Examples
Throughput
θ =S/D
• Example:
– S = 1 Mbit
– D=5s
– θ = S/D = 0.2 Mbps
35
3. Examples
• System capacity
– C = link speed in Mbps
• Traffic load
– λ = flow arrival rate in flows per second (considered here as a variable)
– S = average flow size in kbits (assumed here to be constant 1 Mbit)
• Quality of service (from the users’ point of view)
– θ = throughput
• Assume an M/G/1-PS sharing system:
– flows arrive according to a Poisson process (with rate λ)
– flow sizes are independent and identically distributed according to any
distribution with mean S
36
3. Examples
• Then the quantitive relation between the three factors (system, traffic,
and quality of service) is given by the following formula:
C − λS = C (1 − ρ ), if λS < C ( ρ < 1)
θ = Xput(C , λ ; S ) :=
0, if λS ≥ C ( ρ ≥ 1)
• Note:
– The system is stable only in the former case (ρ < 1). Otherwise the number
of flows as well as the average delay grows without limits. In other words,
the throughput of a flow goes to zero.
37
3. Examples
Example
• Assume that flows arrive at rate λ = 600 flows per second and the link
speed is C = 1000 Mbps = 1.0 Gbps.
• The system is stable since
ρ = λCS = 1000
600 = 0.6 < 1
• Throughput is
38
3. Examples
1400
1200
1000
800
link speed C
(Mbps) 600
400
200
• Given the link speed C = 1000 Mbps, the quality of service θ depends
on the arrival rate λ as follows:
1000
800
600
throughput θ
(Mbps) 400
200
• Given the arrival rate λ = 600 flows per second, the quality of service θ
depends on the link speed C as follows:
400
350
300
250
throughput θ 200
(Mbps) 150
100
50
Contents
42
3. Examples
R
R R
R
43
3. Examples
µ
1
λ µ
•
•
• ∞
44
3. Examples
Traffic process
flow durations
time
flow arrival times
45
3. Examples
Offered traffic
a = λh
– This may be called traffic intensity (cf. telephone traffic)
– It follows that
R = ar = λhr
46
3. Examples
Loss ratio
Nr − C
• The average loss rate is thus
E[( Nr −C ) + ] 1 +
ploss = E[ Nr ]
= ar
E [( Nr − C ) ]
47
3. Examples
• System capacity
– C = nr = link speed in kbps
• Traffic load
– R = ar = offered traffic in kbps
– r = bit rate of a flow in kbps.
• Quality of service (from the users’ point of view)
– ploss = loss ratio
• Assume an M/G/∞ infinite system:
– flows arrive according to a Poisson process (with rate λ)
– flow durations are independent and identically distributed according to any
distribution with mean h
48
3. Examples
• Then the quantitive relation between the three factors (system, traffic,
and the quality of service) is given by the following formula
∞ i −a
1 a
ploss = LR(n, a) := a ∑ (i − n) i! e
i = n +1
• Example:
– n = 20
– a = 14.36
– ploss = 0.01
49
3. Examples
• Given the quality of service requirement that ploss < 1%, the required
capacity n depends on the traffic intensity a as follows:
80
60
capacity n
40
20
20 40 60 80 100
50
traffic a
3. Examples
1 − ploss (a ) = 1 − LR(20, a )
1
0.8
0.6
quality of service
1 − ploss 0.4
0.2
20 40 60 80 100
51
traffic a
3. Examples
• Given the traffic intensity a = 15.0 erlang, the required quality of service
1 − ploss depends on the capacity n as follows:
0.8
0.6
quality of service
1 − ploss 0.4
0.2
10 20 30 40 50
52
capacity n
3. Examples
THE END
53