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).
- A. (a) 91.38%, (b) 91.67%
- B. (a) 91.67%, (b) 91.38%
- C. (a) 91.67%, (b) 91.67%
- 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.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 64-byte, 2-way set-associative cache with 8-byte blocks and LRU replacement is empty. The processor reads these byte addresses in order…
- In IEEE 754 single precision with round-to-nearest-even (every operation rounded to single), which of these are true? I. 0.1f + 0.2f ==…
- An 8-bit data word d1…d8 = 1 0 1 1 0 0 1 0 is stored with a 12-bit single-error-correcting Hamming code: positions 1, 2, 4, 8 hold check…
- A byte-addressed machine has auto-increment (R1)+ (use R1 as the address, then add 4) and auto-decrement −(R1) (subtract 4 from R1, then…
- A fully associative cache holds 4 blocks. A loop cycles through 5 distinct blocks 0,1,2,3,4,0,1,2,3,4,… for 30 references. How many hits…
- In C99, int x = −37 (32-bit two's complement), and this implementation's >> on negative values is an arithmetic shift. What are x / 4, x…