GATE Computer ScienceHardGATE CS (PYQ pattern)

A disk spins at 7200 rpm, has an 8 ms average seek and a 100 MB/s media rate (1 KB = 1000 B, 1 MB = 10⁶ B). Request X reads one contiguous 400 KB extent: one average seek, the average rotational latency, then the transfer. Request Y reads 100 scattered 4 KB blocks; an elevator scheduler cuts the seek of each of them to 3 ms, but each still pays the average rotational latency and its own transfer. About how many times longer does Y take than X?

  1. A. about 76 times
  2. B. about 45 times
  3. C. about 56 times
  4. D. about 65 times

Correct answer: B. about 45 times

Average rotational latency = half a turn = 0.5 × 60/7200 s = 4.17 ms. Y = 100 × (3 + 4.17 + 0.04) = 720.7 ms; X = 8 + 4.17 + 4.0 = 16.17 ms; ratio ≈ 44.6. Keeping the 8 ms seek for Y gives 76, using a full rotation as latency gives 56, and giving X the 3 ms seek too gives 65.

More Computer Organization and Architecture questions

Exams that ask this topic