GATE Computer ScienceHardGATE CS (PYQ pattern)

A cache with 4 ns access backs a 120 ns memory. Find the minimum hit ratio for an average access time of at most 14 ns (a) when memory is accessed only after the cache misses (a miss costs 4 + 120 ns), and (b) when memory is accessed in parallel with the cache (a miss costs 120 ns).

  1. A. (a) 91.38%, (b) 91.67%
  2. B. (a) 91.67%, (b) 91.38%
  3. C. (a) 91.67%, (b) 91.67%
  4. D. (a) 88.33%, (b) 91.38%

Correct answer: B. (a) 91.67%, (b) 91.38%

(a) 4 + (1 − h) × 120 ≤ 14 → h ≥ 91.67%. (b) 4h + 120(1 − h) ≤ 14 → 116h ≥ 106 → h ≥ 91.38%. The parallel scheme needs a slightly lower hit ratio because a miss does not also pay the cache time.

More Computer Organization and Architecture questions

Exams that ask this topic