Outlines
Introduction To unit # 02
Introduction to Unit # 02
Unit No-02: Traffic Characterization
The purpose of this unit is to characterize various kinds of traffic, the various types of traffic are as follow: Poisson Traffic Compressed Video Traffic Ethernet Traffic The overall purpose is to analyze these different kinds of Traffic.
3 Principles of Teletraffic Engineering
this lab we will study and compare the properties of network traffic. The traffic type considered will be: Poisson traffic In order to analyze Poisson Traffic we will require a Data file which is a named as poisson1.
4 Principles of Teletraffic Engineering
Fundamental Concepts
Basic Single Queue Model Classical queuing theory can be applied to an output link in a router.
Fundamental Concepts
For example, a 56 kbps transmission
Fundamental Concepts
The Poisson Arrival Model A Poisson process is a sequence of events randomly spaced in time
Fundamental Concepts
Examples
Fundamental Concepts
Properties of a Poisson Process For a length of time t the probability of n arrivals in t units of time is
( t )n t Pn (t ) e n!
Fundamental Concepts
For
2 disjoint (non-overlapping) intervals, (t1, t2) and (t3, t4), (i.e. t1 < t2 and t3 < t4), the number of arrivals in (t1, t2) is independent of the number of arrivals in (t3, t4).
10
Fundamental Concepts
Interarrival Times of a Poisson Process Pick an arbitrary starting point in time (call it 0). 1 Let = the time until t the next arrival
P ( 1 t ) P0 (t ) e
F So (t ) P(
1
t t t ) 1 e and f ( t ) e 1 1
11
the time until the first arrival, Has an Principles of Teletraffic Engineering exponential distribution!
Fundamental Concepts
Let 2 = the length of time between the first
P( 2 t | 1 s ) P( 2 t ) et for any s, t 0
1 of i.e. 2 is exponential and independent
Fundamental Concepts
1 The random variables
, are called the Interarrival times of the Poisson process The interarrival time random variables, 1 2 , , Are (pair-wise) independent. Each has an exponential distribution with mean 1/.
Fundamental Concepts
Queuing Notation
M/M/1 is a special case of more general (Kendall) notation: X/Y/m /k, where X is a symbol representing the Interarrival process M = Poisson (exponential Interarrival times, ) D = Deterministic (constant ). Y is a symbol representing the service distribution M = exponential, D = deterministic G = General (or arbitrary). m = number of servers k= k = number of buffer slots (omitted when )
Principles of Teletraffic Engineering
14
Fundamental Concepts
The M/M/1 Queue An M/M/1 queue has
Poisson arrivals (with rate ) Exponential service times (with mean 1/, so is
element stores the number of bytes from the Poisson trace (poisson1) that arrive in a time period of 1 second. 1st element: # bytes arriving in time period [0, 1 s]; 2nd element: # bytes arriving in time period [1, 2 s];
Principles of Teletraffic Engineering
17
12
10
20
100
120
20
Tasks
1. Generate a vector with 100 elements. Each
21
element stores the number of bytes from the Poisson trace that arrive in a time period of 100 milliseconds, beginning at a randomly selected start time. Pick a random starting point, e.g., time 30 s. 1st element: # bytes arriving in time period [30, 30.1 s]; 2nd element: # bytes arriving in time period [30.1, 30.2 s]; Principles of Teletraffic Engineering .
Tasks
2. Generate a vector with 100 elements. Each
element stores the number of bytes from the Poisson trace that arrive in a time period of 10 milliseconds, beginning at a randomly selected start time.
Pick a random starting point, e.g., time 50.2 s. 1st element: # bytes arriving in time period [50.2,
22
50.21 s]; 2nd element: # bytes arriving in time period [50.21, 50.22 s]; . %Hint: For Task1 and Task2, you only need to Principles of Teletraffic Engineering change 'initial_p', the initial time in microseconds,