< previous page page_384 next page >

Page 384
0384-01.gif
Figure 6.22
Waiting time.
6.6 Determining the Waiting Time, Relative Performance, and Buffer Size
Assume that from one of the previous models we have determined an effective memory bandwidth. We must determine the effective waiting time, to which must be added our fixed access time through the memory system to determine the overall effective memory access time. Assume first we have a purely closed queue without an open-queue buffer. If n requests are made to m modules each cycle, and only B of these requests are honored each cycle, then n - B requests are delayed. As a simple model, the waiting time of the B accepted requests is zero, while the remaining n - B requests are Ts, the service time (Figure 6.22). Thus, the waiting time per request is:
0384-02.gif
d87111c01013bcda00bb8640fdff6754.gif
since the expected closed-queue size per module (Qc) is
0384-03.gif
and the total closed queue
d87111c01013bcda00bb8640fdff6754.gif
Qc-t = mQc = n - B
and
d87111c01013bcda00bb8640fdff6754.gif
mla = B/Ts,
where Ts is the memory service time and la is the achieved request rate. Recall that
0384-04.gif
and
0384-05.gif
Since l is the arrival rate of requests to memory without interference and la represents the achieved rate, the relative performance of the processor-memory system compared to the processor with an ideal memory is:
0384-06.gif

 
< previous page page_384 next page >