GATE Computer ScienceHardGATE CS (PYQ pattern)

A cache line holds 8 words. Memory returns the first word 20 cycles after the request and then one word per cycle. Without critical-word-first the processor waits for the whole line (27 cycles); with critical-word-first and early restart it resumes when the requested word arrives (20 cycles). Hit time is 1 cycle and miss rate 5%. What are the average access times (no CWF, CWF)?

  1. A. (2.00, 2.35)
  2. B. (1.35, 1.00)
  3. C. (2.35, 1.35)
  4. D. (2.35, 2.00)

Correct answer: D. (2.35, 2.00)

No CWF: 1 + 0.05 × 27 = 2.35. With CWF the miss penalty seen by the processor is 20: 1 + 0.05 × 20 = 2.00 (assuming the requested word is the first one fetched).

More Computer Organization and Architecture questions

Exams that ask this topic