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 cache and a hit in cache, a block is transferred from cache to cache. What is the time taken for this transfer?
View worked solution
Answer: C
To find the total time taken for the transfer when there is a miss in the cache and a hit in the cache, we follow the hierarchical access path:
- L1 Cache Search: The CPU first searches the cache. Since it is a miss, this step takes the access time:
- L2 Cache Access: Upon a miss in , the request is forwarded to the cache. Since it is a hit in , the block is accessed and transferred to . This takes the access time:
Therefore, the total time taken for this transfer is:
Hence, the correct option is C.
Free practice · Your answers on this page are not saved.
