Skip to main content

GATE CSE 2024Operating System › I/O, Disk Scheduling & File SystemsVerified

GATE CSE 2024 PYQ: Consider a disk with the following specifications: rotation speed of 6000 6000 6000 RPM, average seek time…

Consider a disk with the following specifications: rotation speed of  6000 RPM, average seek time of 5 milliseconds, 500 sectors/track, 512-byte sectors. A file has content stored in 3000 sectors located randomly on the disk. Assuming average rotational latency, the total time (in seconds, rounded off to  2 decimal places) to read the entire file from the disk is ______.\_\_\_\_\_\_.

    Answer

    30.06

    Approach

    Because the 3000 sectors are scattered randomly, each sector access incurs a fresh average seek, a fresh average rotational latency, and its own transfer time. Compute one full rotation period, divide by two for average rotational latency, divide the rotation period by sectors-per-track for per-sector transfer time, sum these, then multiply by the number of sectors.

    Average seek (5 ms) plus average rotational latency (5 ms) plus per-sector transfer (0.02 ms) gives 10.02 ms per random sector access; scaling by 3000 sectors yields 30060 ms = 30.06 s, matching both community solutions.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.