A processor has a 2-level cache hierarchy. If L1 cache has a hit rate of 90% and L2 cache has a hit rate of 80%, what is the overall hit rate?
Q1. A processor has a 2-level cache hierarchy. If L1 cache has a hit rate of 90% and L2 cache has a hit rate of 80%, what is the overall hit rate?
Answer: 0.98
Explanation: Overall hit rate = L1 hit rate + L1 miss rate * L2 hit rate = 0.9 + 0.1 * 0.8 = 0.98