Then the average memory access time in this system in nanoseconds is __________ . (rounded off to one decimal place)
View worked solution
Answer: 4:4
To find the average memory access time (AMAT), we analyze the hierarchical access penalty at each level of the cache hierarchy:
- L1 Cache: Access time ns, Hit rate , Miss rate .
- L2 Cache: Hit rate , Miss rate .
When an L1 miss occurs, the data must be retrieved from L2 or main memory:
- If L2 hits (probability ), the transfer penalty from L2 to L1 is ns.
- If L2 misses (probability ), the data is first transferred from main memory to L2 (penalty ns) and then from L2 to L1 (penalty ns). Thus, the total penalty is ns.
The average penalty for an L1 miss is calculated as:
Now, we compute the overall Average Memory Access Time (AMAT):
Free practice · Your answers on this page are not saved.
