Project ForgeSign up free
Computer Organization & Architecture
Memory Hierarchy & Floating Point
GATE 2022
Hard

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 ____.

0.85(± 0.01 accepted)

Explanation

Original AMAT = 10 + (1−0.8)×100 = 10+20 = 30 ns. After optimization, AMAT = 15 + (1−h)×100. For this to not exceed 30: 15+(1−h)×100 ≤ 30 ⟹ (1−h)×100 ≤ 15 ⟹ 1−h ≤ 0.15 ⟹ h ≥ 0.85. Minimum hit rate = 0.85.

Source: GATE CS 2022 (2022)

This question is part of a 15-day revision cycle — sign in and Project Forge will bring it back the day before you'd forget it.

Start revising free