Professional Documents
Culture Documents
7 Results
A/B/m
where
Commonly used symbols for both the A and B positions in this notation are
M and G. The symbol M is used for the exponential distribution to denote its
Markovian (“memoryless”) property. The symbol G is used for a general distri-
bution of independent and identically distributed random variables. For example,
an M/G/1 queue has exponentially distributed interarrival times, a general dis-
tribution for service times, and one server. A G/G/m queue has general distri-
butions for interarrival times and service times, and m servers in parallel.
(Gross and Harris, 1985; Kendall, 1953; Wolff, 1989).
λ
L = Lq + (7.3)
µ
1
W = Wq + (7.4)
µ
where
Special cases:
Hence
Queue
Type m=1 General m
( mρ ) ρ
m
1 (7.12)
m!(1 − ρ )
( mρ ) + 1 − ρ (mρ ) k
m m −1
ρ 2
M/M/m
1− ρ
(7.9) m!
( ) ∑ k!
k =0
ρ 2( m +1)
approx. (7.13)
1− ρ
2 ( m +1)
M/G/m ρ 2 1 + Cs2 (7.10) ρ 1 + Cs2 (7.14)
1 − ρ 2 1− ρ 2 .
where
m = number of servers
λ Arrival rate
ρ= = = Traffic intensity (ρ < 1)
mµ Total service rate
References for Lq and Wq results are given in the table in Section 7.7. For the case
m = 1, Equations 7.9 and 7.10 are exact, Equation 7.11 is approximate. For general
m, Equation 7.12 is exact, Equations 7.13, 7.14, and 7.15 are approximate. The
approximations for M/G/m and G/G/m with general m (Equations 7.14 and 7.15)
Queue
Type m=1 General m
(mρ ) m
1
1 ρ µmm!(1 − ρ ) ( mρ ) m m −1
(mρ ) k
(7.16)
∑
m! + (1 − ρ )
M/M/m
µ 1− ρ
k =0
k!
2( m +1) −1
ρ
approx.
µm(1 − ρ )
2( m +1) −1
M/G/m 1 ρ 1 + Cs2 (7.17) ρ 1 + Cs2 (7.21)
µ 1 − ρ 2 µm(1 − ρ ) 2
2( m +1) −1
G/G/m 1 ρ Ca2 + Cs2 (7.18) ρ Ca2 + Cs2 (7.22)
µ 1 − ρ 2
µm(1 − ρ ) 2
where
m = number of servers
λ Arrival rate
ρ= = = Traffic intensity (ρ < 1)
mµ Total service rate
References for Lq and Wq results are given in the table in Section 7.7. For the case
m = 1, Equations 7.16 and 7.17 are exact, Equation 7.18 is approximate. For
general m, Equation 7.19 is exact, Equations 7.20, 7.21, and 7.22 are approximate.
The approximations for M/G/m and G/G/m with general m (Equations 7.21 and
7.22) can be improved slightly by replacing the first term, ρ 2( m +1) −1 /[µm(1 − ρ )] ,
by the more complicated but exact expression given in Equation 7.19.
Queue
Type m=1 General m
1 σ a2 + σ s2
Wq ≅ λ
1 − ρ
G / G /1 : (7.23)
2
(Kingman, 1961, 1965; Kleinrock, 1976; Larson and Odoni, 1981; Medhi, 1991;
Tanner, 1995).
In terms of coefficients of variation Ca and Cs, Kingman’s result (Equation
7.23) becomes
1 ρ (Ca / ρ ) + Cs
2 2
Wq ≅
µ 1 − ρ 2
For ρ close to 1, this expression and Equation 7.18 are in close agreement.
Numerical comparisons for the performance of these formulas are given in Tanner
(1995). Note that, when interarrival times are exponentially distributed (Ca = 1),
Equation 7.18 reduces to the exact result for Wq in an M/G/1 queue, given by
Equation 7.17.
1 ρ Ca2 + Cs2
G / G / 1 : Wq ≅
µ 1 − ρ 2 g ρ, Ca , Cs
2 2
( ) (7.24)
where
exp − 2(1 − ρ )
1 − Ca2( )
(Ca2 < 1)
3ρ (
Ca2 + Cs2 )
g ( ρ, Ca2 , Cs2 )
=
(
(1 − ρ ) Ca − 1
2
)
exp − (Ca2 ≥ 1)
(
Ca2 + 4Cs2
)
For analyzing networks of queues, Whitt uses this refinement in the case C2a < 1,
and the simpler result (Equation 7.18) in the case Ca2 ≥ 1 (Whitt, 1983).
Under heavy traffic conditions (traffic intensity ρ = λ/µ close to 1), the distribution
of time spent in a G/G/1 queue can be approximated by an exponential distribution,
i.e.,
1 − t / Wq
f (t ) ≅ e (7.25)
Wq
− t / Wq
F (t ) ≅ 1 − e (7.26)
where Wq is the average time in queue for a G/G/1 queue (Kingman, 1961, 1962,
1965; Kleinrock, 1976; Larson and Odoni, 1981; Medhi, 1991).
This heavy traffic approximation can also be applied to a queue with multiple
λ
severs in parallel (i.e., a G/G/m queue). When traffic intensity ρ = is close
mµ
to 1, the distribution of time spent in a G/G/m queue can be approximated by
the exponential distribution given by Equations 7.25 and 7.26, where Wq in this
case is the average time in queue for a G/G/m queue (Kingman, 1965; Kleinrock,
1976; Larson and Odoni, 1981; Medhi, 1991; Whitt, 1993).
Approximations for the average time in queue Wq for G/G/1 and G/G/m
queues are given in Sections 7.6 and 7.9.
For traffic intensity ρ < 1, the departure rate must equal the arrival rate, i.e.,
ν=λ (7.27)
(
Cd2 ≅ ρ 2 Cs2 + 1 − ρ 2 Ca2 ) (7.28)
Number of
Customers in
Number of Customers System (including
in Queue one being served)
ρ2 ρ
Mean E[n] (7.29) (7.33)
1− ρ 1− ρ
Variance Var[n]
(
ρ2 1 + ρ − ρ2 ) (7.30)
ρ
(7.34)
(1 − ρ ) 2 (1 − ρ ) 2
where
λ Arrival rate
ρ= = = Traffic intensity (ρ < 1)
µ Service rate
(Allen, 1978; Cohen, 1985; Cox and Smith, 1961; Hillier and Lieberman, 1980;
Morse, 1958; Wolff, 1989). Note: the distribution of the number of customers in
system, given by Equations 7.33–7.36, is a geometric distribution with parameter
1 – ρ (see Chapter 3, Section 3.3).
ρ 1
Mean E[t] (7.37) (7.41)
µ (1 − ρ ) µ (1 − ρ )
(2 − ρ )ρ 1
Variance Var[t] (7.38) (7.42)
µ 2 (1 − ρ ) µ 2 (1 − ρ )
2 2
where
λ Arrival rate
ρ= = = Traffic intensity (ρ < 1)
µ Service rate
and
(Allen, 1978; Cohen, 1985; Cox and Smith, 1961; Hillier and Lieberman, 1980;
Kleinrock, 1975; Papadopoulos, Heavy, and Browne, 1993). Note: the distribution
of the time in system, given by Equations 7.41–7.44, is an exponential distribution
with parameter µ(1 – ρ) (see Chapter 4, Section 4.2).