Beruflich Dokumente
Kultur Dokumente
Contents
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. Introduction Definitions Application Delay analysis Littles theorem Basic queuing models Queuing model classifications Queuing system variable Basic multiplexer model- M/M/1/K Effect of scale on performance Average packet delay in a network General multiplexer model- M/G/1 M/M/C/C model and Erlangs B formula References .
1.Introduction
Queue Customers that have arrived at server but are waiting for their service to start are in the queue. Queuing theory-a collection of mathematical models of various queuing system. - make an analytical model of customers needing service, and use that model to predict queue length and waiting times Why study Queuing Theory? Basic tool for network performance evaluation. Help to manage the network traffic towards performance
2. Definitions
(Bose) the basic phenomenon of queuing arises whenever a shared facility needs to be accessed for service by a large number of jobs or customers. (Wolff) The primary tool for studying these problems [of congestions] is known as queuing theory. (Kleinrock) We study the phenomena of standing, waiting, and serving, and we call this study Queuing Theory." "Any system in which arrivals place demands upon a finite capacity resource may be termed a queuing system.
4. Delay analysis
A basic model for a delay/loss system:
5.Littles theorem
The average number of customers in a stable system (over some time interval) is equal to their average arrival rate multiplied by their average time in the system
E[N] =
E[N] =
E[T]
(without blocking)
By littles formula we are finding the average delay experienced by a packet in traversing a packet switching network.
Arrival process
Service times
Resources are denoted by servers because their function is to serve customer requests The time required to service a customer is called the service time, X Processing capacity, m, is given by m= 1/E[X] customers/s
By Littles theorem :
average number in the system and average delay in the system are related by
E[N] =(1-pb) E[T] average number of customers in queue and average waiting time are related by E[Nq ] =(1-pb) E[W] average number of customers in service and average service time are related by
Offered(traffic) load a= l E[X] = L/M Erlangs - rate at hich work arrives at the system Carried load = E[X]L(1-Pb)=l/m(1-Pb) = a(1-Pb) -average rate at which system does work
Utilisation r=E[Ns] /c= l/cm (1-Pb) - Average fraction of servers that are in use
Average packet length is E[L] bits/packet, Transmission line speed is R bits/second, Mean packet processing rate is m= R/E[L] packets/second Maximum K packets are allowed in the system before the buffer overflows (K1in buffer and 1in processor) If > m the system will loose packets If < m the system may loose packets due to occasional surges in arrivals or long consecutive service times (long packets)
. M/M/1/K
M/M/1/K
.M/M/1/K
.M/M/1/K
.M/M/1/K
m/m/1/
..M/G/1General Model
14. References
1.Kleinrock, L., Communication Nets: Stochastic Message Flow and Delay, McGraw-Hill, New York, 1964 2.Cohen, J.W., The Single Server Queue, North-Holland, Amsterdam, 1969 3.Kleinrock, L., Queueing Systems, Vol. I: Theory, WileyInterscience, New York, 1975 4.Kleinrock, L., Queueing Systems, Vol. II: Computer Applications, Wiley-Interscience, New York, 1976 5.Betserkas D. and Gallager R., Data Networks, Prentice-Hall, Englewood Cliffs, NJ, 1987 6.Leon-Garcia A. and Widjaja I., Communication Networks: Fundamental Concepts and Key Architectures, McGraw-Hill, New York, 2004