The GATE Grind

GATE 2015 CS (CS1) – Question 54

Operating System · File Systems and Disk Performance · 2 marks · Numerical answer

Consider a disk pack with a seek time of 4 milliseconds and rotational speed of 10000 rotations per minute (RPM). It has 600 sectors per track and each sector can store 512 bytes of data. Consider a file stored in the disk. The file contains 2000 sectors. Assume that every sector access necessitates a seek, and the average rotational latency for accessing each sector is half of the time for one complete rotation. The total time (in milliseconds) needed to read the entire file is ________.

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 14020

Explanation

Rotation speed 10 000 RPM, so one rotation takes $\dfrac{60\,000\text{ ms}}{10\,000}=6$ ms.

Per sector: $4+3+0.01=7.01$ ms. For 2000 sectors:
$$2000\times7.01=\mathbf{14\,020}\text{ ms}.$$

More File Systems and Disk Performance questions

All File Systems and Disk Performance questions →