giuseppe bianchi basic teletraffic concepts an intuitive approach (theory will come next) focus on...

18
Giuseppe Bianchi Basic teletraffic concepts Basic teletraffic concepts An intuitive approach An intuitive approach (theory will come next) (theory will come next) Focus on “calls” Focus on “calls”

Upload: agnes-dorsey

Post on 26-Dec-2015

224 views

Category:

Documents


0 download

TRANSCRIPT

Giuseppe Bianchi

Basic teletraffic conceptsBasic teletraffic concepts

An intuitive approachAn intuitive approach(theory will come next)(theory will come next)

Focus on “calls”Focus on “calls”

Giuseppe Bianchi

1 user making phone calls1 user making phone calls

BUSY 1

IDLE 0time

How to characterize this process? statistical distribution of the “BUSY” period statistical distribution of the “IDLE” period statistical characterization of the process “memory”

E.g. at a given time, does the probability that a user starts a call result different depending on what happened in the past?

TRAFFIC is a “stochastic process”

Giuseppe Bianchi

Traffic characterizationTraffic characterizationsuitable for traffic suitable for traffic

engineeringengineering

valueprocessmean

state BUSYin isuser t, timerandom aat y that,probabilit

minduration call averageminper calls of number average

t

tin busy time ofamount Aintensity traffic limi

t

All equivalent (if stationary process)

Giuseppe Bianchi

Traffic Intensity: exampleTraffic Intensity: example

User makes in average 1 call every hour

Each call lasts in average 120 sTraffic intensity = 120 sec / 3600 sec = 2 min / 60 min = 1/30

Probability that a user is busyUser busy 2 min out of 60 = 1/30

adimensional

Giuseppe Bianchi

Traffic generated by more Traffic generated by more than one usersthan one users

TOT

U1

U2

U3

U4

ii

i AAA 44

1

Traffic intensity (adimensional, measured in Erlangs):

AAE

AAk

P

i

ki

ki

4calls active

14

calls activek 4

Giuseppe Bianchi

exampleexample5 usersEach user makes an average of 3 calls

per hourEach call, in average, lasts for 4 minutes

erlerlA

erlhourshour

callsAi

15

15

5

1

60

43

Meaning: in average, there is 1 active call; but the actual number of active calls varies from 0 (no active user) to 5 (all users active),with given probability

number of active users probability0 0,3276801 0,4096002 0,2048003 0,0512004 0,0064005 0,000320

Giuseppe Bianchi

Second exampleSecond example 30 users Each user makes an

average of 1 calls per hour

Each call, in average, lasts for 4 minutes

Erlangs260

4130

A

SOME NOTES: -In average, 2 active calls (intensity A);-Frequently, we find up to 4 or 5 calls;-Prob(n.calls>8) = 0.01%-More than 11 calls only once over 1M

TRAFFIC ENGINEERING: how many channels to reserve for these users!

n. active users binom probab cumulat0 1 1,3E-01 0,1262131 30 2,7E-01 0,3966692 435 2,8E-01 0,6767843 4060 1,9E-01 0,8635274 27405 9,0E-02 0,9535645 142506 3,3E-02 0,9870066 593775 1,0E-02 0,9969607 2035800 2,4E-03 0,9993978 5852925 5,0E-04 0,9998989 14307150 8,7E-05 0,99998510 30045015 1,3E-05 0,99999811 54627300 1,7E-06 1,00000012 86493225 1,9E-07 1,00000013 119759850 1,9E-08 1,00000014 145422675 1,7E-09 1,00000015 155117520 1,3E-10 1,00000016 145422675 8,4E-12 1,00000017 119759850 5,0E-13 1,00000018 86493225 2,6E-14 1,00000019 54627300 1,2E-15 1,00000020 30045015 4,5E-17 1,00000021 14307150 1,5E-18 1,00000022 5852925 4,5E-20 1,00000023 2035800 1,1E-21 1,00000024 593775 2,3E-23 1,00000025 142506 4,0E-25 1,00000026 27405 5,5E-27 1,00000027 4060 5,8E-29 1,00000028 435 4,4E-31 1,00000029 30 2,2E-33 1,00000030 1 5,2E-36 1,000000

Giuseppe Bianchi

A note on binomial coefficient computationA note on binomial coefficient computation

exp...)before !overflow! (no

)!problems!overflowbut

48

1

12

1

60

1

logloglogexp

!48log!12log!60logexp12

60logexp

12

60

(8132099.8!60

1239936.1!48!12

!60

12

60

iii

iii

e

e

)never! !overflow! (no

iiiii

ii

AAiii

AA

1log48log12logloglogexp

112

60

48

1

12

1

60

1

4812

Giuseppe Bianchi

Infinite UsersInfinite Users

k

M

kkM

iki

MA

MA

M

A

kkM

MAA

k

MP

1

1

!!

!1users Mcalls, activek

Assume M users, generating an overall traffic intensity A (i.e. each user generates traffic at intensity Ai =A/M).We have just found that

Let Minfinity, while maintaining the same overall traffic intensity A

!

1111

lim!

11!

1

!

!limusers calls, activek

k

Ae

M

A

M

A

M

kMMM

k

A

M

A

M

A

M

A

kkM

MP

kA

kA

A

M

kM

k

kM

k

k

M

Giuseppe Bianchi

Poisson DistributionPoisson Distribution

!k

AeAP

kA

k

0%

5%

10%

15%

20%

25%

30%

0 2 4 6 8 10 12 14 16 18 20 22

poisson

binomial (M=30)A=2 erl

A=10 erl

Very good matching with Binomial(when M large with respect to A)

Much simpler to use than Binomial(no annoying queueing theory complications)

Giuseppe Bianchi

Limited number of channelsLimited number of channels

The number of channels C is less than the number of users M (eventually infinite)

Some offered calls will be “blocked”

What is the blocking probability?We have an expression for

P[k offered calls]We must find an expression for

P[k accepted calls]As: TOT

U1

U2

U3

U4

THE most important problem in circuit switching

X

X

No. carried calls versus tNo. offered calls versus t

calls accepted C]block[ PP

Giuseppe Bianchi

Channel utilization Channel utilization probabilityprobability

C channels available Assumptions:

Poisson distribution (infin. users) Blocked calls cleared

It can be proven (from Queueing theory) that:

(very simple result!)

Hence:

C

i

P

P

P

0

calls offered i

calls offeredk

]C)(0,k system, in the callsk [

offered traffic: 2 erl - C=3

0%

5%

10%

15%

20%

25%

30%

35%

0 1 2 3 4 5 6 7 8

offered calls

accepted calls

C

i

P

PPP

0

calls offered i

calls offered C]calls accepted C[]full system[

Giuseppe Bianchi

Blocking probability: Erlang-Blocking probability: Erlang-BB

Fundamental formula for telephone networks planning Ao=offered traffic in Erlangs

oCC

j

jo

Co

block AE

jACA

,1

0 !

!

oCo

oCooC AEAC

AEAAE

1,1

1,1,1

0,01%

0,10%

1,00%

10,00%

100,00%

0 1 2 3 4 5offered load (erlangs)

blo

ckin

g p

rob

abil

ity

C=1,2,3,4,5,6,7

Efficient recursive computation available

Giuseppe Bianchi

Erlang-B obtained for the infinite users case

It is easy (from queueing theory) to obtain an explicit blocking formula for the finite users case:

ENGSET FORMULA:

M

AA

i

MA

C

MA

oi

C

k

ki

Ci

block

0

1

1

Erlang-B can be re-obtained as limit case Minfinity Ai0

M·AiAo

Erlang-B is a very good approximation as long as: A/M small (e.g. <0.2)

In any case, Erlang-B is a conservative formula yields higher blocking

probability Good feature for planning

NOTE: finite usersNOTE: finite users

Giuseppe Bianchi

Capacity planningCapacity planningTarget: support users with a given Grade Of

Service (GOS)GOS expressed in terms of upper-bound for the blocking probability

GOS example: subscribers should find a line available in the 99% of the cases, i.e. they should be blocked in no more than 1% of the attempts

Given:C channelsOffered load Ao

Target GOS Btarget

C obtained from numerical inversion of

oC AEB ,1target

Giuseppe Bianchi

Channel usage efficiencyChannel usage efficiency

oA C channels BAA oc 1

Offered load (erl) Carried load (erl)

BAo

Blocked traffic

blocking small if

1:efficiency ,1

C

A

C

AEA

C

A ooCoc

Fundamental property: for same GOS, efficiency increases as C grows!! (trunking gain)

Giuseppe Bianchi

exampleexample

0,1%

1,0%

10,0%

100,0%

0 20 40 60 80 100 120capacity C

blo

ck

ing

pro

ba

bili

ty

A = 40 erl

A = 60 erl

A = 80 erl

A = 100 erl

GOS = 1% maximum blocking. Resulting system dimensioning

and efficiency:

40 erl C >= 5360 erl C >= 7580 erl C >= 96100 erl C >= 117

= 74.9% = 79.3% = 82.6% = 84.6%

Giuseppe Bianchi

Erlang B calculation - tablesErlang B calculation - tables