Consider a two-level cache hierarchy with L1 and L2 caches. An application incurs 1.4 memory accesses per instruction on average. For this application, the miss rate of L1 cache is 0.1; the L2 cache experiences, on average, 7 misses per 1000 instructions. The miss rate of L2 expressed correct to two decimal places is ________.
GATE 2017 · Computer Organization and Architecture · Cache Memory · medium
Answer: The miss rate of L2 is 0.05.
- Find references reaching L2 per 1000 instructions: refs_to_L2 = 1.4 * 0.1 * 1000 = 140 references per 1000 instructions reach L2.
- Compute local miss rate of L2: L2_miss_rate = 7 / 140 = 0.05