< previous page page_372 next page >

Page 372
0372-01.gif
Figure 6.17
Time and queue size.
6.4.5 Queue Properties
For all of the previous distributions, the average time spent in the system (T) consists of an average service time Ts, plus a waiting time (due to contention) Tw:
d87111c01013bcda00bb8640fdff6754.gif
T = Ts+Tw.
If N is the average queue length (including request being serviced) and T is the average time (including service time) for completion of service:
d87111c01013bcda00bb8640fdff6754.gif
N = lT (Little's result).
Since N consists of items in the queue and an item in service (Figure 6.17), then
d87111c01013bcda00bb8640fdff6754.gif
N = Q + r.
Recall that the server is occupied r part of the time. Hence the average number of items in service is r. Since
d87111c01013bcda00bb8640fdff6754.gif
N = lT,
then (see also Figure 6.17)
Q + r
=
l(Ts + Tw),
Q + r
=
l(1/m + Tw),
Q + r
=
r + lTw,
Q
=
lTw.

Note that Q = N - r or N = Q + r.
Queues that result from the buffering of requests that do not affect the request rate l are called open queues,Qo. Again, for these queues:
d87111c01013bcda00bb8640fdff6754.gif
Qo = lTw.
ForM/G/1,
0372-02.gif

 
< previous page page_372 next page >