ITPEC FE Morning April 2019 Question 11
In a memory system that has a cache memory, which of the following causes an increase in the average memory access time?
Explanation
A decrease in the cache hit rate — fewer hits send more accesses to the slower main memory.
Average memory access time = hit time + miss rate × miss penalty, or equivalently h × Tc + (1 − h) × Tm with hit rate h, cache access time Tc and main memory access time Tm. Since Tm > Tc, a smaller h shifts weight to Tm and the average rises.
Answer (b)
Why not others:
- •(a) — a faster cache lowers the hit time, so the average falls
- •(c) — a smaller miss penalty makes each miss cheaper, so the average falls
- •(d) — a lower miss rate is a higher hit rate, so the average falls
Key rule: Average access time grows with the hit time, the miss rate and the miss penalty; a lower hit rate is the same thing as a higher miss rate.
Computer Component · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.