CS FundamentalsVery hardGATE CS

A disk spins at 7200 RPM, has an average seek of 6 ms and 500 sectors of 512 bytes per track. A 1 MB file is read as 256 blocks of 4 KB, each stored at a random location (each needs a full average seek and rotational delay). About how long does reading it take?

  1. A. 1.10 s
  2. B. 2.64 s
  3. C. 1.57 s
  4. D. 3.70 s

Correct answer: B. 2.64 s

One rotation is 8.33 ms, so per block: 6 + 4.17 (half rotation) + 8/500 × 8.33 = 0.13 ms transfer ≈ 10.3 ms; × 256 ≈ 2.64 s. 1.10 s drops the seek, 1.57 s drops rotational delay, and 3.70 s uses a full rotation. Stored contiguously the file would take only about 44 ms.

More Operating Systems questions

Exams that ask this topic