Class Notes � Server Utilization
Notation
A/B/c/N/k
Let�s put it together!
If �������������������������������������������� , then everything�s fine.
If �������������������������������������������� , then more arrivals than can be serviced.
Let pn: probability that there�s n in the system.� (That�s �p� sub zero!)
Let
p0: probability that there�s zero in the system.
�
pn: probability that there�s n in the system.
What is the relationship between p0 and p1?
l p0 = p1 m
or
l p0 = m p1
and
(l + m) pn = l pn-1 + m pn+1, where n = 1, 2, 3, �
l p0 = m p1
����������������������������������� equations or ���������������� ����������� equations or ���������������� �equations.
Rewrite:
l p0 = m p1
p1 = ����������������������������
Now introducing rho (r) � the server utilization:
r = l/m, for 1 server!
r + 1 = l/m + m/m = (l+ m)/m
r + n = l/m + nm/m = (l+ nm)/m
So,
p1 = (r) p0
In this equation,
(l + m) pn = l pn-1 + m pn+1, for n = 1
(l + m) p1 = l p0 + m p2
p2 = [(l + m)/m] p1 � (l/m) p0 = [r + 1] p1 � (r) p0 = [r + 1] (r) p0 � (r) p0
=� r2 p0
+ rp0
� rp0
= r2
p0
In general,
pn = ���������������������������������������� (in terms of r)
For the summation in the range 0 <= i < �:
S pi = 1
S ri p0 = 1
p0 S ri = 1
The term S ri� is an ���������������������������������������������������� �and becomes smaller as i becomes larger.
Remember:
Sum = S = (1st term)/(1 � r), where |r| < 1
So:
S ri� = 1/(1 - r), for |r| < 1
Then, for above:
p0 S ri = 1
p0 [1/(1 - r)] = 1, for |r| < 1
p0 [1/(1 - r)] = 1
p0 /(1 - r) = 1
p0 = 1 - r
So, in general:
pn = ���������������������������������������������������� , for n = 0, 1, 2, �, �, and r < 1
pn is now in terms of server utilization!
For parallel servers, when is the system stable?
r is stable when it is less than 1.
So, stable when:
r < 1
l/(cm) < 1
l < cm
or
c > l/m
(# servers) (is greater than) (traffic intensity)
Ex.� Let l = 3, m = 4, and c = 3.� Is the system stable?
r is stable when it is less than 1.
So, stable when:
r < 1
r = l/(cm) = 3/(3�4) = 0.75
Stable!
What about for l = 5, m = 4, and c = 3.� When is the system stable?