A computer system has an cache, an cache, and a main memory unit connected as shown below. The block size in cache is words. The block size in cache is words. The memory access times are nanoseconds, nanoseconds and nanoseconds for cache, cache and the main memory unit respectively.

When there is a miss in both cache and cache, first a block is transferred from main memory to cache, and then a block is transferred from cache to cache. What is the total time taken for these transfers?
View worked solution
Answer: C
To find the total transfer time, we determine the data path (bus) width from the cache block size, which is words.
Step 1: Transfer from Main Memory to Cache
- The block size of is words.
- With a -word bus width, the transfer requires transactions.
- Each transaction involves reading from Main Memory and writing to :
- Total time for MM to transfer:
Step 2: Transfer from Cache to Cache
- The block size of is words, requiring exactly transaction.
- This transaction involves reading from and writing to :
Step 3: Total Time Taken
Free practice · Your answers on this page are not saved.
