Sunteți pe pagina 1din 7

Hindawi Publishing Corporation

Modelling and Simulation in Engineering


Volume 2012, Article ID 408395, 6 pages
doi:10.1155/2012/408395

Research Article
A Study of the Source Traffic Generator Using Poisson
Distribution for ABR Service

Mohsen Hosamo
Department of Computer Engineering, Wadi International University, The Valley, Homs, Syria

Correspondence should be addressed to Mohsen Hosamo, mohsen hosamo@yahoo.com

Received 8 April 2012; Accepted 18 June 2012

Academic Editor: Agostino Bruzzone

Copyright 2012 Mohsen Hosamo. This is an open access article distributed under the Creative Commons Attribution License,
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This paper describes modeling of the available bit rate (ABR) source trac in asynchronous transfer mode (ATM) network
using BLPos /GTEXP trac generator, which employs Poisson distribution for modeling the burst length (BLPos ) and exponential
distribution for modeling the gap time (GTEXP ). This trac generator inherits the advantages of both Poisson and exponential
distribution functions to achieve enhanced link performance. Analytical and simulation results for BLPos /GTEXP trac generator
have been presented and compared.

1. Introduction 2. BLPos /GTEXP Traffic Generator


The Poisson process is an extremely useful process for BLPos /GTEXP trac generator generates cells sent at a fixed
modeling purposes in many practical applications, such as, rate (ACR) during BL and no cells are sent during GT.
for example, to model arrival processes for queueing models BL is assumed to be Poisson distributed (BLPos ) whereas
or demand processes for inventory systems. It is empirically GT is exponentially distributed (GTExp ). BLPos /GTEXP trac
found that in many circumstances the arising stochastic generator was created and parameterized as explained below.
processes can be well approximated by a Poisson process. When events occur according to an exponential distri-
From the standpoint of the network users, the messages bution, they are said to occur completely at random. Thus
within a session are typically triggered by particular events. the arrival time of the next event is not aected by the
But from the standpoint of the network, these message initi- time elapsed since the previous event [15]. An exponential
ations are somewhat arbitrary and unpredictable. Therefore, random variable with a mean value of Exp (where Exp > 0)
the sequence of times at which messages arrive for a given is given by the following probability density function (PDF):
session is a random process. Further, the arrival process of
one session has to be independent of others. The poisson  
eExp x x 0
process has been proved to be the most appropriate for such f (x)Exp = Exp , (1)
purpose and therefore has been considered in the present 0 x<0
work.
In this paper source trac modeling and simulation have and the cumulative density function (probability that time
been carried out for ABR service in ATM networks using between events is x) can be obtained by integrating (1):
Poisson distribution for modeling the burst length (BLPos )
and exponential distribution for modeling the gap time  
(GTExp ). The corresponding trac generator is designated as 1 eExp x x 0
F(x)Exp = . (2)
BLPos /GTExp . 0 x<0
2 Modelling and Simulation in Engineering

The mean and variance of the exponential distribution are 2.1. Estimation of the Load (Li ) for the Trac Generator. The
 load variation of the trac can be realized by synthesizing
1 
E(x)Exp = x Exp eExp x dx = , predefined load such that the resulting load L = Ni=1 Li ,
0 Exp
where Li is the trac load due to ith source. Therefore, the
  2 aggregate trac from N sources will generate the load L on
Exp x 1 1
Var(x)Exp = 2
x Exp e dx = . a link with rate R Mbps giving average throughput of R L
0 Exp 2Exp Mbps. The load Li generated by an individual source can be
(3) expressed as
A Poisson random variable x with parameter Pos
BLPos K
(where Pos > 0) has PDF given by [1, 2] Li = , (11)
BLPos (K + Pr ) + GLExp
xPos Pos
f (x)Pos = e , x = 0, 1, 2, . . . . (4)
where BLPos , GLExp , K, and Pr are the mean BLPos , mean
x!
gap length, cell size, and minimum intercell gap length
The mean and variance are identical for the Poisson distribu-
(Preamble), respectively in bytes, and then the load Li can
tion [1]:
be found from (11).
E(X)Pos = Var(X)Pos = Pos , (5)
2.2. Estimation of the Minimum Gap Time (MGTExp ). The
where a Poisson distribution can be developed by involving
minimum GTExp (MGTExp ) is a secondary parameter depen-
the definition of a Poisson Process for a fixed time (t), so
dent on load. Given a desired load, MGTExp is calculated by the
that Pos = Exp t. For Poisson distributed events, the time
source automatically using exponential distribution. Using
between successive events is exponentially distributed with
(11) the GTExp can be expressed as
mean 1/Pos . For an event that occurs at a time interval
with an exponential distribution, the rate of occurrence of

1 Li
the event is Poisson distributed with mean Exp . Required GLExp = BLPos K Pr . (12)
Li
distribution modeling involves a transformation function
for converting a random variable of uniform distribution The BLPos can be written as
into the required distribution. Considering the fundamental
transformation law of probabilities for two probability density BLPos = E(x)BLPos = MBLPos , (13)
functions f (x) and p(u)
  where MBLPos is the minimum BLPos .
     du 
 f (x)dx =  p(u)du or f (x) = p(u)  (6) GLExp can be written as
 dx ,

where p(u) is the PDF of random variable u and f (x) is GLExp = E(x)GLExp = MGLExp . (14)
another PDF of random variable x. Since u is a random
variable of a uniform distribution in the range 0 to 1, p(u) Substituting the values of BLPos and GLExp from (13) and
is a constant (=1) and hence (14), respectively, in (12) MGLExp can be written as
x

du K
f (x) = and therefore u = F(x) = f (z)dz. (7) MGLExp = MBLPos [K + Pr ] . (15)
dx 0 Li
Equation (7) can be used to find source random variable x = Considering the link rate and using the following relation:
G(u) through inverse transformation of u = F(x). For the
required distribution, the inverse can easily be found from Byte Size (bits) b
(7) with f (z) corresponding to the required distribution. u Byte Time = or Byte Time = ,
Link Rate (bits/sec) R
is uniformly distributed in the range 0 u 1. It can (16)
be generated by using the function rand() provided by the
standard Linux library or using Mersenne Twister (MT) [6]. the MGTExp now can be computed as
For modeling the GTExp , (7) is used with

b K
u = F(x) = 1 e Exp x
or 1u=e Exp x
. (8) MGTExp = MBLPos [K + Pr ] . (17)
R Li
Therefore, the required transformation is Now the value of Pr = 1/ACR is readily available, depending
1 upon the selected value(s) of ACR that can be separately
x= ln(1 u). (9) taken as variable, and thus (17) can be rewritten as
Exp

By changing the variables x and (1 u) of (9) with XExp and K b 1


MGTExp = MBLPos 1 . (18)
U respectively, we get R Li
1 Therefore, (18) can be used for computing the value of
XExp = ln(U). (10)
Exp MGTExp that would result in link load closer to Li using
Modelling and Simulation in Engineering 3

the selected values of Li of the ith source, K, and Poisson dis- Table 1: The evaluated parameters for the BLPos /GTExp trac
tribution parameters. Considering the same parameter val- generator.
ues for burst and gap lengths and MBLPos = 1, (18) can be
The parameters The values
simplified as
Li 0.3

K b 1 R 149.76 Mbps
MGTExp = MBLPos 1 . (19)
R Li K 53 8 bits
MBLPos 1 cell
2.3. Generating the GTEXP . Bearing in mind that Exp = ACR, BLPos 1 cell/sec
since in ABR service a source sends its data with a rate equal GTExp 30 cells/sec
to ACR, defining GTExp as the exponential mean arrival rate MGTExp 0.2202 sec
for GTExp , and considering (14) in terms of time, we get (20)
1 BLPos /GTExp trac generator
E(x)GTExp = = MGTExp . (20) 102
GTExp

Now the BLPos /GTEXP trac generator can compute the


GTExp using the relation 101

GTExp = MGTExp ln(U). (21)


100

2.4. BLPos Generating. BLPos can be modeled as follows: for


ABR service in ATM networks the value of ACR should be 101
within the range MCR ACR PCR. The source first starts
transmitting a random-sized burst of cell at ICR. It then waits
for a random amount of time, which follows exponential 102
distribution. The source will go on repeating this cycle
BLPos /GTExp until completing transmission. In every cycle
103
the number of cells is determined by ACR, which is changed 0 200 400 600 800 1000
due to the feedback used in the switch. The source repeats Count values of U
the calculation of Poisson distribution, (4) with Pos = ACR,
k times, where k is changing from 0 to peak cell rate (PCR). U for GT U for BL
GTExp BLPos
The results will be saved in an array with size k. The number
of cells inside the burst can be found by generating a random Figure 1: BLPos /GTExp trac generator for 1000 count values of U.
number u [6], applying the cumulative distribution function
(cdf) for all array values, so that the cumulative values are
smaller than or equal to a random number u. The following Table 2: BLPos (cells) and GTExp (sec) for BLPos /GTExp trac
relation gives the BLPos that is used by the BLPos /GTExp trac generators.
generator:
Mean Variance Maximum Minimum
=u
x  x

Pos BLPos 29.98100 31.05969 50.00000 16.00000
BLPos = ePos , Pos = ACR, (22) GTExp 0.436102 0.043788 1.917750 0.220461
x=0
x!

where the number of cells inside the burst should be at least


one (MBLPos = 1). values of U are shown in Figures 2 and 3 respectively. The
increment steps for BLPos (1110) cells/sec and GTExp (1110)
3. Analytical Results cells/sec are 10 for each. Referring to Table 2 it is seen that
the minimum values of BLPos /GTExp are greater than their
Consider the values of Li , R, K, MBLPos , Poisson mean arrival corresponding values of MBLPos /MBLExp . Referring to Figure 2
rate (BLPos ), and GTExp for BLPos /GTExp trac generator as it can be concluded that the Poisson mean arrival parameter
given in Table 1. The value of MGTExp was determined using BLEXP should not be a very large value, because BLPos will,
(19) (Table 1). consequently, be very large as well, and the source will spend
The analytical result of BLPos /GTExp trac generator for most of its time sending only the burst cells with a smaller
1000 count values of U, generated by the uniform distribu- number of gap intervals for BLPos /GTExp trac generator
tion, are shown in Figure 1, and the corresponding computed resulting in less-bursty trac. Referring to Figure 3 it can be
values of mean, variance, maximum, and minimum values of concluded that the exponential mean arrival parameter GTExo
BL and GT, and are given in Table 2. should be selected between 2 and 30 cells/sec for simulation
The variations in BLPos , GTExp as functions of BLPos of real bursty trac because it oers higher peak values of
and GTExp for BLPos /GTExp trac generator for 100 count GTExp . This is further supported by the observation that for
4 Modelling and Simulation in Engineering

150 40

30
100

GTExp
BLPos

20
50
10

0 0
150 150
100 100 100 100
80 80
BL 50 60 50 60
40 U GTExp 40 fU
Pos 20 es of 20 lues
o
0 0 ount valu 0 0 count va
100 c 100

Figure 2: BLPos versus BLPos and U. Figure 3: GTExp versus GTExo and U.

Table 3: The values of the ACR (cells/sec).

ACR1 ACR2 ACR3 ACR4 ACR5 ACR6


Mean 69.57 187.05 329.01 172.78 262.24 339.74 600
Variance 911.5 10334. 11456. 42343. 42850. 65698.
Maximum 125.28 300.00 400.00 500.00 600.00 700.00
Minimum 25.36 21.75 24.51 5.00 8.71 5.00
400

Table 4: The values of the SWIR, SWOR, MAT, and Q.

Mean Variance Maximum Minimum


SWIR (cells/sec) 1812.55 39712.45 2303.96 1461.94 200
SWOR (cells/sec) 1804.66 13421.52 2338.33 1576.5
MAT (sec) 0.32 0.03 0.76 0.1
Q 163.65 16902.05 618 25
0
0

3.59
5.06
6.29
7.54
8.15
9.41
10.15
11.1
12.56
14.61
15.3
16.09
16.99
GTExo in the range 30 to 100 cells/sec, the peak values of
GTExp have the least variation indicating smoothest trac.
Time (seconds)
ACR (S1) ACR (S4)
4. Simulation Results ACR (S2) ACR (S5)
ACR (S3) ACR (S6)
The ATM network simulation was carried out under Linux
network programming. The parameters specified in Table 1 Figure 4: The variation of ACR.
were used for this simulation. Six sources Si (i = 1, 2, . . . 6)
sending their data at the rate AC Ri (i = 1, 2, . . . 6) between
minimum cell rate (MCR) and peak cell rate (PCR) were The simulation results for mean, variance, maximum and
considered. The performance of the relative rate marking minimum values of ACR, SWIR, SWOR, MAT, Q and CTD
(RRM) switch was evaluated for trac generator with are given in Tables 3, 4, and 5 respectively.
respect to the allowed cell rate (ACR), switch input rate It can be seen from Figure 4 that ACR changes due to
(SWIR)/switch output rate (SWOR), memory access time the feed back received from the switch. When the switch is
(MAT), queue length (Q), and cell transfer delay (CTD). heavily loaded (congestion) there is a decrease in the ACR
The initial value of ACR for sources Si was taken as PCR/2 and when it is lightly loaded (no impeding congestion) the
whereas the final ACR value was kept between 200 to ACR is either kept constant or it is increased. The relative
700 cells/sec in incremental steps of 100 for i = 1, 2, . . . 6 changes between the SWIR and SWOR are shown in Figure 5
and taking buer size = 1000 cells, higher queue threshold are responsible for the variations in the MAT (Figure 6) and
(QH ) = 200 cells, lower queue threshold (QL ) = 100 cells, and Q (Figure 7). When the SWIR becomes greater than SWOR
assuming that each source has to send a total of 1000 cells. the buer starts filling and reaches a specified threshold
The variations in ACR, SWIR/SWOR, MAT, Q, and CTD as level. The switch then signals the source to start reducing its
a function of time are given, respectively, in Figures 48. data rate. Consequently, source ACR reduces, and its eect
Modelling and Simulation in Engineering 5

2400

600

2200

Q (Pos/Exp)
400

2000

200

1800

2.46
3.26
5.06
5.9
7.09
8.31
8.69
9.9
10.59
11.44
12.67
14.32
15.45
16.28
16.88
18.08
18.65
18.86
1600

Time (seconds)

Figure 7: The variation of Q.


1400
3
4
6
8
8
9
10
11
11
12
12
13
13
14
15
15
15
16
16
17
17
18
18
19
19
20
20
21
22

1.2
Time (seconds)
SWIR(Pos/Exp)
SWOR(Pos/Exp)
1
Figure 5: The variation of SWIR/SWOR.

0.8
0.8

0.6

0.6
MAT (Pos/Exp)

0.4

0.4
0.2
3.54
5.39
6.9
8.81
9.53
10.96
11.86
14
15.86
16.5
17.39
18.97
19.29
0.2

Time (seconds)
CTD (S1 D1) CTD (S4 D4)
0
CTD (S2 D2) CTD (S5 D5)
CTD (S3 D3) CTD (S6 D6)
2
3
3
4
5
5
6
7
7
7
8
8
9
9
10
10
11
11
11
12
13
13
13
15
15
16
16
16
17
17
18
18
19
19
19
19

Time (seconds) Figure 8: CTD using BLPos /GTExp trac generator.


Figure 6: The variation of MAT.

Examining the simulation results for ACR, SWIR,


appears at the queue, which causes a reduction in the rate of SWOR, MAT, Q and CTD, which indicate the performance
increase in the queue size. For a SWIR smaller than a SWOR, of RRM switch under BLPos /GTExp trac generator, it is seen
the buer starts becoming empty and when Q reaches its that the switch oers the best performance.
minimum value, the source is signaled to start increasing its
data rate. There is a time lag between the switch experiencing 5. Conclusion
a trac load variation, eect of switch feedback control, and
the occurrence of the new load due to the feedback. In this paper a mathematical modeling of the BLPos /GTExp
Referring to Figure 8, and Table 5 it is noticed that the source trac generator has been carried out. The analytical
CTD between any source and its corresponding destination results showed that the minimum values of BLPos /GTExp
changes from minimum value of 0.2 sec to a maximum value are greater than their corresponding values of MBLPos /MBLExp
of 1.04 sec. and the Poisson mean arrival parameter BLExp should not
6 Modelling and Simulation in Engineering

Table 5: The values of the CTD (sec).

CTD (S1 D1) CTD (S2 D2) CTD (S3 D3) CTD (S4 D4) CTD (S5 D5) CTD (S6 D6)
Mean 0.67 0.64 0.65 0.67 0.69 0.67
Variance 0.02 0.04 0.04 0.03 0.02 0.02
Maximum 1.01 1.03 1.04 1.02 1 1
Minimum 0.29 0.26 0.2 0.25 0.4 0.31

be a very large value, because BLPos will, consequently, be


very large as well, and the source will spend most of its
time sending only the burst cells with a smaller number
of gap intervals for BLPos /GTExp trac generator resulting
in less-bursty trac. It can be concluded also that the
exponential mean arrival parameter GTExo should be selected
between 2 and 30 cells/sec for simulation of real bursty trac
because it oers higher peak values of GTExp . This is further
supported by the observation that for GTExo in the range 30 to
100 cells/sec, the peak values of GTExp have the least variation
indicating smoothest trac. The analytical results have been
verified through simulation for six sources.

References
[1] H. William and M. Douglas, Probability Statistics in Engineering
and Management Science, John Wiley and Sons, New York, NY,
USA, 3rd edition, 1990.
[2] T. Dias, W. Keerthipala, and I. Murray, Performance analysis
of Aloha channels with self similar input trac, in Proceedings
of the 11th Asian Test Symposium (ATS 02), pp. 255262, San
Diego, Calif, USA, 2000.
[3] M. Ghanbari, C. Hughes, M. Sinclair, and J. Eade, Principles
of Performance Engineering for Telecommunication and Informa-
tion Systems, The Institute of Electrical Engineers, London, UK,
1997.
[4] A. Leon-Garcia, Probability and Random Processes for Electrical
Engineering, Addison Wesley, Reading, Mass, USA, 2nd edition,
1994.
[5] M. Sadiku and M. Ilyas, Simulation of Local Area Networks, CRC
Press, Florida, Fla, USA, 1995.
[6] M. Matsumoto and T. Nishimura, Mersenne twister: a 623-
dimensionally equidistributed uniform pseudo-random num-
ber generator, ACM Transactions on Modeling and Computer
Simulation, vol. 8, no. 1, pp. 330, 1998.
International Journal of

Rotating
Machinery

International Journal of
The Scientific
Engineering Distributed
Journal of
Journal of

Hindawi Publishing Corporation


World Journal
Hindawi Publishing Corporation Hindawi Publishing Corporation
Sensors
Hindawi Publishing Corporation
Sensor Networks
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

Journal of

Control Science
and Engineering

Advances in
Civil Engineering
Hindawi Publishing Corporation Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

Submit your manuscripts at


http://www.hindawi.com

Journal of
Journal of Electrical and Computer
Robotics
Hindawi Publishing Corporation
Engineering
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

VLSI Design
Advances in
OptoElectronics
International Journal of

International Journal of
Modelling &
Simulation
Aerospace
Hindawi Publishing Corporation Volume 2014
Navigation and
Observation
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014
in Engineering
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014
Engineering
Hindawi Publishing Corporation
http://www.hindawi.com Volume 2010
Hindawi Publishing Corporation
http://www.hindawi.com
http://www.hindawi.com Volume 2014

International Journal of
International Journal of Antennas and Active and Passive Advances in
Chemical Engineering Propagation Electronic Components Shock and Vibration Acoustics and Vibration
Hindawi Publishing Corporation Hindawi Publishing Corporation Hindawi Publishing Corporation Hindawi Publishing Corporation Hindawi Publishing Corporation
http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014 http://www.hindawi.com Volume 2014

S-ar putea să vă placă și