Assuming the same systems as question 46, what is the average memory latency for a trip round the loop if prefetching is used and each access to main memory results in the next line being loaded into L2 cache? Assume that preloading the L2 cache incurs no further memory access penalty.

What will be an ideal response?


In this case we have to consider pairs of memory accesses across two trips round the loop.

On the first trip, a memory access takes place, a miss occurs and memory is accessed and L2 updated with the
second line. The access time is as before, 44 cycles.

On the second trip, an access to the array does not miss and the access time for the loop is 6 (L2) + 2 + 2 = 10
cycles. The average memory time per loop is ½ (44 + 10) = 27 cycles.

Computer Science & Information Technology

You might also like to view...

A(n) ____ story is a prose description of what software is to do, from the perspective of a person using the software.

A. objective B. user C. short D. viewer

Computer Science & Information Technology

Running an update query from ________ view does not display the results in a datasheet like a select query does.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is a DBMS, and what are its functions?

Computer Science & Information Technology

Which of the following is not an example of application software?

a. Microsoft Word b. Windows c. PowerPoint d. a web browser

Computer Science & Information Technology