Question
A cache memory that has a hit rate of 0.8 has an access latency 10 ns and miss penalty 100 ns. An optimization is done on the cache to reduce the miss rate. However, the optimization results in an increase of cache access latency to 15 ns, whereas the miss penalty is not affected. The minimum hit rate (rounded off to two decimal places) needed after the optimization such that it should not increase the average memory access time is _____________.
Official answer and solution
- Official answer
- 0.85
- From
- Official GATE 2022 answer key
Solution
Set the new average memory access time to be less than or equal to the initial AMAT and solve for the new hit rate.
The initial average memory access time (AMAT) is:
After optimization, the access latency increases to while the miss penalty remains . We require the new AMAT not to exceed 30 ns:
Thus, the minimum hit rate required after the optimization is 0.85.
0.85
Using the formula without including the cache lookup time on a miss.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2022 Computer Science and Information Technology (CS)
- Question
- 33 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.