

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Page 1 of 3
Queuing theory is the mathematics of waiting lines. It is extremely useful in predicting and evaluating system performance.
Assumptions:
Queueing theory usually provides reasonable answers even if the above do not exactly hold. There are advanced Queueing theory formulas to handle exceptions to all of the above assumptions.
Basic measurable values of a queueing system
Queueing systems are usually described by three values separated by slashes
Arrival distribution / service distribution / number of servers
where: M = M arkovian or exponentially distributed D = D eterministic or constant. G = G eneral or binomial distribution
The most common queueing system is M/M/1 where the arrival rate is exponentially distributed, the service times are exponentially distributed and there is only one server.
Poisson arrival rate. If customers are arriving at the exponentially distributed rate λ, then the probability that there will be k customers after time t is:
t k k e k
t P t^ λ
Utilization = ρ = λs = faction of time the server is busy.
Little's formula states the queue size equals the arrival rate times the average time in the system.
Page 2 of 3
The simplest server is an M/M/1 queue. Both the service time and the arrival rate are variable and exponentially distributed.
Tq
Tw
−
ρ −
2 W
For some systems the service time is always the same. These systems can be modeled as a M/D/ queue. In the equations below, note that the wait time (and hence the time in the system) is smaller because there is less variability in the system.
s Tq 2 ( 1 ) 1 2 ( 1 )
2 2
s Tw 2 ( 1 )
2
When there are N servers, we assume that each server is identical. All customers wait in a single queue and use the first available server. The utilization is ρ = λ s / N. For the calculations, an
intermediate value, K is useful.
=
−
=
N
i i
s
N
i i
s
i
i
0!
( )
1
0!
( )
λ
λ
The probability that all servers are busy is
N
sK
s N
Cs Tq + −
Cs Tw
When working on a problem involving queueing theory, it is advisable to following these steps: