Memory Hierarchy
If the cache hit rate is 95%, what is the miss rate?
- A95%
- B0.95%
- C5%
Show answer and explanation
Answer: C. 5%
Every access is either a hit or a miss, so miss rate = 1 − hit rate = 100% − 95% = 5%. A small-looking miss rate still matters a lot when the miss penalty is large: with a 1-cycle hit time and a 100-cycle penalty, the average is 1 + 0.05 × 100 = 6 cycles, shrinking to 2 cycles at a 99% hit rate. 95% is the hit rate itself, and 0.95% confuses a fraction with a percentage.
- A. 95% is the hit rate itself.
- B. 0.95% confuses a fraction with a percentage.
- C. Correct. 100% − 95% = 5%.