The GATE Grind

GATE 2010 CS (CS1) – Question 59

Computer Organization and Architecture · Memory Interfacing and Hierarchy · 2 marks · Multiple choice

An L1 cache has four-word blocks and 2 ns access time; L2 has sixteen-word blocks and 20 ns access time; main memory takes 200 ns. Both buses transfer four words at a time. If both caches miss, how long does it take to fill the L2 block and then the required L1 block?

Diagram for GATE 2010 CS (CS1) question 59
  1. 222 ns
  2. 888 ns
  3. 902 ns
  4. 968 ns

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) 902 ns

Explanation

The sixteen-word L2 block needs four transfers of four words. Each main-memory read plus L2 write takes 200+20=220 ns, totalling 880 ns. Then one four-word transfer from L2 into L1 takes 20+2=22 ns. Total is 902 ns, C. The measurement is the block-fill process stated, not an additional initial lookup.

More Memory Interfacing and Hierarchy questions

All Memory Interfacing and Hierarchy questions →