Queueing Systems: Lecture 2
Queueing Systems: Lecture 2
Amedeo R. Odoni
Lecture Outline
• M/M/m
• M/M/∞
• M/M/1: finite system capacity, K
• M/M/m: finite system capacity, K
• M/M/m: finite system capacity, K=m
• Related observations and extensions
• M/E2/1 example
• M/G/1: epochs and transition probabilities
λ λ λ λ λ λ λ
… m-1 m m+1 ….
0 1 2
(m-1)μ mμ mμ mμ
μ 2μ 3μ
λ
( )n
μ
Pn = P0 for n = 0, 1, 2,...., m −1
n!
λ
( ) n
μ
Pn = P0 for n = m, m + 1, m + 2,....
m n −m ⋅ m!
• Condition for steady state?
λ λ λ λ λ λ λ
… m-1 m m+1 …
0 1 2
−( )
λ
( )n ⋅ e μ
μ
Pn = for n = 0, 1, 2,.....
n!
• N is Poisson distributed!
• L = λ / μ ; W = 1 / μ ; Lq = 0; Wq = 0
• Many applications
M/M/1: finite system capacity, K;
customers finding system full are lost
λ λ λ λ λ
… K-1 K
0 1 2
μ μ μ
μ μ
ρ n ⋅ (1 − ρ )
Pn = for n = 0, 1, 2, ....., K
1 − ρ
K +1
…… m m+1 …… K-1 K
0 1 2
3μ mμ mμ mμ mμ mμ
μ 2μ
…… m-1 m
0 1 2
3μ (m-1)μ mμ
μ 2μ
λ
( )n
μ
Pn = n! for n = 0, 1, 2,...m
λ
i
m ( )
μ
∑ i!
i =0
λ λ λ λ λ λ λ
… m-1 m m+1 …
0 1 2
−( )
λ
( )n ⋅ e μ
μ
Pn = for n = 0, 1, 2,.....
n!
• N is Poisson distributed!
• L = λ / μ ; W = 1 / μ ; Lq = 0; Wq = 0
• Many applications
Variations and extensions of
birth-and-death queueing systems
• Huge number of extensions on the previous
models
• Most common is arrival rates and service
rates that depend on state of the system;
some lead to closed-form expressions
• Systems which are not birth-and-death, but
can be modeled by continuous time, discrete
state Markov processes can also be
analyzed [“phase systems”]
• State representation is the key (e.g. M/Ek/1)
M/G/1: Background
N' = N + R – 1 if N > 0
N' = R if N = 0
• Note: make sure to understand how R is defined
t
t1 t2 t3 t4 t5 t6
M/G/1: Transition probabilities for
system states at epochs (2)
• Transition probabilities can be written in
terms of the probabilities: