Memory Hierarchy
If the L1 miss rate (as a fraction of all accesses) is 4% and the L2 global miss rate (the fraction of all accesses that also miss in L2) is 1%, what is the L2 local miss rate?
- A25%
- B4%
- C1%
Show answer and explanation
Answer: A. 25%
The local miss rate is the fraction of accesses reaching a cache that miss there. L2 receives the 4% of all accesses that miss in L1, and 1% of all accesses miss in L2 as well, so the local miss rate is 1 ÷ 4 = 25%. The high local rate does not mean L2 is ineffective; L2 only sees the low-locality accesses L1 could not capture. 1% is the global miss rate relative to all accesses, and 4% is the L1 miss rate.
- A. Correct. 1% out of the 4% reaching L2 gives 25%.
- B. 4% is the L1 miss rate.
- C. 1% is the global miss rate relative to all accesses.