- About this Journal ·
- Abstracting and Indexing ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Modelling and Simulation in Engineering
Volume 2012 (2012), Article ID 408395, 6 pages
A Study of the Source Traffic Generator Using Poisson Distribution for ABR Service
Department of Computer Engineering, Wadi International University, The Valley, Homs, Syria
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 traffic in asynchronous transfer mode (ATM) network using traffic generator, which employs Poisson distribution for modeling the burst length () and exponential distribution for modeling the gap time (). This traffic generator inherits the advantages of both Poisson and exponential distribution functions to achieve enhanced link performance. Analytical and simulation results for traffic generator have been presented and compared.
The Poisson process is an extremely useful process for modeling purposes in many practical applications, such as, for example, to model arrival processes for queueing models or demand processes for inventory systems. It is empirically found that in many circumstances the arising stochastic processes can be well approximated by a Poisson process. From the standpoint of the network users, the messages within a session are typically triggered by particular events. But from the standpoint of the network, these message initiations are somewhat arbitrary and unpredictable. Therefore, the sequence of times at which messages arrive for a given session is a random process. Further, the arrival process of one session has to be independent of others. The poisson process has been proved to be the most appropriate for such purpose and therefore has been considered in the present work.
In this paper source traffic modeling and simulation have been carried out for ABR service in ATM networks using Poisson distribution for modeling the burst length () and exponential distribution for modeling the gap time (). The corresponding traffic generator is designated as .
2. Traffic Generator
traffic generator generates cells sent at a fixed rate (ACR) during and no cells are sent during . is assumed to be Poisson distributed () whereas is exponentially distributed (). traffic generator was created and parameterized as explained below.
When events occur according to an exponential distribution, they are said to occur completely at random. Thus the arrival time of the next event is not affected by the time elapsed since the previous event [1–5]. An exponential random variable with a mean value of (where ) is given by the following probability density function (PDF): and the cumulative density function (probability that time between events is x) can be obtained by integrating (1): The mean and variance of the exponential distribution are A Poisson random variable with parameter (where ) has PDF given by [1, 2] The mean and variance are identical for the Poisson distribution : where a Poisson distribution can be developed by involving the definition of a Poisson Process for a fixed time (), so that . For Poisson distributed events, the time between successive events is exponentially distributed with mean . For an event that occurs at a time interval with an exponential distribution, the rate of occurrence of the event is Poisson distributed with mean . Required distribution modeling involves a transformation function for converting a random variable of uniform distribution into the required distribution. Considering the fundamental transformation law of probabilities for two probability density functions and where is the PDF of random variable and is another PDF of random variable . Since is a random variable of a uniform distribution in the range 0 to 1, is a constant (=1) and hence Equation (7) can be used to find source random variable through inverse transformation of . For the required distribution, the inverse can easily be found from (7) with corresponding to the required distribution. is uniformly distributed in the range . It can be generated by using the function provided by the standard Linux library or using Mersenne Twister (MT) .
2.1. Estimation of the Load () for the Traffic Generator
The load variation of the traffic can be realized by synthesizing predefined load such that the resulting load , where is the traffic load due to th source. Therefore, the aggregate traffic from sources will generate the load on a link with rate Mbps giving average throughput of Mbps. The load generated by an individual source can be expressed as where , , K, and are the mean , mean gap length, cell size, and minimum intercell gap length (Preamble), respectively in bytes, and then the load can be found from (11).
2.2. Estimation of the Minimum Gap Time ()
The minimum is a secondary parameter dependent on load. Given a desired load, is calculated by the source automatically using exponential distribution. Using (11) the can be expressed as The can be written as where is the minimum .
can be written as Substituting the values of and from (13) and (14), respectively, in (12) can be written as Considering the link rate and using the following relation: the now can be computed as Now the value of /ACR is readily available, depending upon the selected value(s) of ACR that can be separately taken as variable, and thus (17) can be rewritten as Therefore, (18) can be used for computing the value of that would result in link load closer to using the selected values of of the th source, , and Poisson distribution parameters. Considering the same parameter values for burst and gap lengths and , (18) can be simplified as
2.3. Generating the GTEXP
Bearing in mind that , since in ABR service a source sends its data with a rate equal to ACR, defining as the exponential mean arrival rate for , and considering (14) in terms of time, we get (20) Now the traffic generator can compute the using the relation
2.4. BLPos Generating
can be modeled as follows: for ABR service in ATM networks the value of ACR should be within the range . 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 distribution. The source will go on repeating this cycle until completing transmission. In every cycle the number of cells is determined by ACR, which is changed due to the feedback used in the switch. The source repeats the calculation of Poisson distribution, (4) with , times, where is changing from 0 to peak cell rate (PCR). The results will be saved in an array with size . The number of cells inside the burst can be found by generating a random number u , 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 relation gives the BLPos that is used by the traffic generator: where the number of cells inside the burst should be at least one ().
3. Analytical Results
The analytical result of traffic generator for 1000 count values of , generated by the uniform distribution, are shown in Figure 1, and the corresponding computed values of mean, variance, maximum, and minimum values of and , and are given in Table 2.
The variations in , as functions of and for traffic generator for 100 count values of U are shown in Figures 2 and 3 respectively. The increment steps for (1–110) cells/sec and (1–110) cells/sec are 10 for each. Referring to Table 2 it is seen that the minimum values of are greater than their corresponding values of . Referring to Figure 2 it can be concluded that the Poisson mean arrival parameter should not be a very large value, because 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 traffic generator resulting in less-bursty traffic. Referring to Figure 3 it can be concluded that the exponential mean arrival parameter should be selected between 2 and 30 cells/sec for simulation of real bursty traffic because it offers higher peak values of . This is further supported by the observation that for in the range 30 to 100 cells/sec, the peak values of have the least variation indicating smoothest traffic.
4. Simulation Results
The ATM network simulation was carried out under Linux network programming. The parameters specified in Table 1 were used for this simulation. Six sources sending their data at the rate between minimum cell rate (MCR) and peak cell rate (PCR) were considered. The performance of the relative rate marking (RRM) switch was evaluated for traffic generator with respect to the allowed cell rate (ACR), switch input rate (SWIR)/switch output rate (SWOR), memory access time (MAT), queue length (), and cell transfer delay (CTD). The initial value of ACR for sources was taken as whereas the final ACR value was kept between 200 to 700 cells/sec in incremental steps of 100 for and taking buffer cells, higher queue threshold cells, lower queue threshold () = 100 cells, and assuming that each source has to send a total of 1000 cells. The variations in ACR, SWIR/SWOR, MAT, , and CTD as a function of time are given, respectively, in Figures 4–8.
It can be seen from Figure 4 that ACR changes due to the feed back received from the switch. When the switch is heavily loaded (congestion) there is a decrease in the ACR and when it is lightly loaded (no impeding congestion) the ACR is either kept constant or it is increased. The relative changes between the SWIR and SWOR are shown in Figure 5 are responsible for the variations in the MAT (Figure 6) and (Figure 7). When the SWIR becomes greater than SWOR the buffer starts filling and reaches a specified threshold level. The switch then signals the source to start reducing its data rate. Consequently, source ACR reduces, and its effect appears at the queue, which causes a reduction in the rate of increase in the queue size. For a SWIR smaller than a SWOR, the buffer starts becoming empty and when reaches its minimum value, the source is signaled to start increasing its data rate. There is a time lag between the switch experiencing a traffic load variation, effect of switch feedback control, and the occurrence of the new load due to the feedback.
Examining the simulation results for ACR, SWIR, SWOR, MAT, and CTD, which indicate the performance of RRM switch under traffic generator, it is seen that the switch offers the best performance.
In this paper a mathematical modeling of the source traffic generator has been carried out. The analytical results showed that the minimum values of are greater than their corresponding values of and the Poisson mean arrival parameter should not be a very large value, because 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 traffic generator resulting in less-bursty traffic. It can be concluded also that the exponential mean arrival parameter should be selected between 2 and 30 cells/sec for simulation of real bursty traffic because it offers higher peak values of . This is further supported by the observation that for in the range 30 to 100 cells/sec, the peak values of have the least variation indicating smoothest traffic. The analytical results have been verified through simulation for six sources.
- H. William and M. Douglas, Probability Statistics in Engineering and Management Science, John Wiley and Sons, New York, NY, USA, 3rd edition, 1990.
- T. Dias, W. Keerthipala, and I. Murray, “Performance analysis of Aloha channels with self similar input traffic,” in Proceedings of the 11th Asian Test Symposium (ATS '02), pp. 255–262, San Diego, Calif, USA, 2000.
- M. Ghanbari, C. Hughes, M. Sinclair, and J. Eade, Principles of Performance Engineering for Telecommunication and Information Systems, The Institute of Electrical Engineers, London, UK, 1997.
- A. Leon-Garcia, Probability and Random Processes for Electrical Engineering, Addison Wesley, Reading, Mass, USA, 2nd edition, 1994.
- M. Sadiku and M. Ilyas, Simulation of Local Area Networks, CRC Press, Florida, Fla, USA, 1995.
- M. Matsumoto and T. Nishimura, “Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator,” ACM Transactions on Modeling and Computer Simulation, vol. 8, no. 1, pp. 3–30, 1998.