Slide 11
Slide 11
Sharing systems
Contents
2
9. Sharing systems
µ1
λ µ
n+m µ
µ
n 3
9. Sharing systems
∞ µ1
λ µ
µ
µ
n 4
9. Sharing systems
Contents
5
9. Sharing systems
M/M/1-PS queue
6
9. Sharing systems
• Note that this is the same irreducible birth-death process with an infinite
state space S = {0,1,2,...} as for the M/M/1-FIFO queue.
7
9. Sharing systems
π i λ = π i +1µ (LBE)
⇒ π i +1 = λ π i = ρπ i
µ
⇒ π i = ρ iπ 0 , i = 0,1,2, K
• Normalizing condition (N):
∞ ∞
∑π i = π 0 ∑ ρ i = 1 (N)
i =0 i =0
−1
∞
i
⇒ π 0 = ∑ ρ
i =0
= ( )
1 −1
1− ρ
= 1 − ρ , if ρ < 1
8
9. Sharing systems
• Thus, for a stable system (ρ < 1), the equilibrium distribution exists
and is a geometric distribution:
ρ < 1 ⇒ X ∼ Geom( ρ )
P{ X = i} = π i = (1 − ρ ) ρ i , i = 0,1,2, K
ρ 2 ρ
E[ X ] = 1− ρ , D [X ] =
(1− ρ ) 2
• Remark: Insensitivity with respect to service time distribution
– The result for the PS discipline is insensitive to the service time
distribution, that is: it is valid for any service time distribution with mean 1/µ
– So, instead of the M/M/1-PS model, we can consider, as well, the more
general M/G/1-PS model
9
9. Sharing systems
Mean delay
• Let D denote the total time (delay) in the system of a (typical) customer
• Since the mean number of customers in the system, E[X], is the same
for all work-conserving queueing disciplines, also the mean delay is the
same, by Little’s result.
• Thus, we may apply the result derived for the FIFO discipline in Lect. 8:
E[D ] = µ1 ⋅ 1−1ρ
10
9. Sharing systems
– Note that the time unit is the average service requirement E[S]
6
E[D] 3
11
9. Sharing systems
Relative throughput
E[ S ] 1
= ⋅ µ (1 − ρ ) = 1 − ρ
E[ D ] µ
12
9. Sharing systems
0.8
0.6
E[S]/E[D]
0.4
0.2
13
9. Sharing systems
Contents
14
9. Sharing systems
M/M/n-PS queue
• Note that this is the same irreducible birth-death process with an infinite
state space S = {0,1,2,...} as for the M/M/n-FIFO queue.
16
9. Sharing systems
π i λ = π i +1 (i + 1) µ (LBE)
nρ
⇒ π i +1 = ( +λ1) µ π i = i +1π i
i
( nρ )i
⇒ π i = i! π 0 , i = 0,1,K , n
• Local balance equations (LBE) for i ≥ n:
π i λ = π i +1nµ (LBE)
⇒ π i +1 = nλµ π i = ρπ i
n nn ρ i
i−n i − n ( nρ )
⇒ πi = ρ πn = ρ n!
π0 = n!
π 0, i = n, n + 1, K 17
9. Sharing systems
• Thus, for a stable system (ρ < 1, that is: λ < nµ), the equilibrium
distribution exists and is as follows:
ρ <1 ⇒
( nρ )i 1
i! ⋅ α + β , i = 0,1, K , n
P{ X = i} = π i = n i
n ρ ⋅ 1 , i = n, n + 1, K
n! α + β
• Remark: Insensitivity with respect to service time distribution
– The result for the PS discipline is insensitive to the service time
distribution, that is: it is valid for any service time distribution with mean 1/µ
– So, instead of the M/M/n-PS model, we can consider, as well, the more
general M/G/n-PS model 19
9. Sharing systems
Mean delay
• Let D denote the total time (delay) in the system of a (typical) customer
• Since the mean number of customers in the system, E[X], is the same
for all work-conserving queueing disciplines, also the mean delay is the
same, by Little’s result.
• Thus, we may apply the result derived for the FIFO discipline in Lect. 8:
(
E[ D ] = µ1 ⋅ n(1W
−ρ )
p
+1 )
– where pw refers to the probability
∞ ∞ ( nρ ) n
nn ρ i β
pW = P{ X * ≥ n} = ∑ π i = ∑ π 0 ⋅ n! = π 0 ⋅ n!(1− ρ ) = α +β
i =n i =n
20
9. Sharing systems
– Note that the time unit is the average service requirement E[S]
6
4
n=1
E[D] 3
2
3
2
10
100
1
21
9. Sharing systems
Relative throughput
E[ S ] 1− ρ
n = 1 : E[ D ] = p (1) +1− ρ = 1 − ρ
W
E[ S ] 2(1− ρ )
n = 2: =
E[ D ] pW ( 2) + 2(1− ρ )
= 1− ρ 2
22
9. Sharing systems
0.8
10 100
2 3
0.6
n=1
E[S]/E[D]
0.4
0.2
23
9. Sharing systems
Contents
24
9. Sharing systems
25
9. Sharing systems
r=C
0.8
0.6
r = C/2
throughput θ
0.4 r = C/3
0.2
r = C/10
r = C/100
0.2 0.4 0.6 0.8 1
traffic load ρ
26
9. Sharing systems
Contents
27
9. Sharing systems
M/M/1/k/k-PS queue
28
9. Sharing systems
30
9. Sharing systems
THE END
32