A cache memory that has a hit rate of has an access latency and miss penalty An optimization is done on the cache to reduce the miss rate. However, the optimization results in an increase of cache access latency to 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 _______________.
View worked solution
Answer: 0.85
The Average Memory Access Time () of a cache system is given by the formula:
Step 1: Calculate the initial AMAT ()
Given:
- Initial hit rate () =
- Initial miss rate () =
- Initial access latency (Hit Time, ) =
- Miss penalty () =
Step 2: Set up the inequality for the optimized cache
After optimization:
- New access latency () =
- New hit rate =
- New miss rate =
- Miss penalty () remains unchanged =
For the average memory access time not to increase, we must have:
Step 3: Solve for the minimum hit rate ()
Thus, the minimum hit rate needed after the optimization is .
Free practice · Your answers on this page are not saved.
