Home▸Computer Science▸Hard-Disk Scheduling: Seek Distance, Latency and Service Time

Hard-Disk Scheduling: Seek Distance, Latency and Service Time

A hard drive serves a queue of read and write requests with a single moving arm, so the order matters. Pick FCFS, SSTF, SCAN or C-SCAN, load the textbook queue 98, 183, 37, 122, 14, 124, 65, 67 with the head at cylinder 53 or a seeded random queue, and watch a Blender-modelled drive with three platters swing its arm over the requested tracks. Read the total head travel, the seek, rotational and transfer times and the service time, compare all four rules on the graphs, and see the true minimum travel confirmed by trying every possible order of a small queue.

Computer Science3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Hard-Disk Scheduling: Seek Distance, Latency and Service Time ↗ Open standalone

A hard drive serves a queue of read and write requests with a single moving arm, so the order matters. Pick FCFS, SSTF, SCAN or C-SCAN, load the textbook queue 98, 183, 37, 122, 14, 124, 65, 67 with the head at cylinder 53 or a seeded random queue, and watch a Blender-modelled drive with three platters swing its arm over the requested tracks. Read the total head travel, the seek, rotational and transfer times and the service time, compare all four rules on the graphs, and see the true minimum travel confirmed by trying every possible order of a small queue.

⚙ Under the hood

A hard drive serves a queue of read and write requests with a single moving arm, so the order matters. Pick FCFS, SSTF, SCAN or C-SCAN, load the textbook queue 98, 183, 37, 122, 14, 124, 65, 67 with the head at cylinder 53 or a seeded random queue, and watch a Blender-modelled drive with three platters swing its arm over the requested tracks. Read the total head travel, the seek, rotational and transfer times and the service time, compare all four rules on the graphs, and see the true minimum travel confirmed by trying every possible order of a small queue.

Disk schedulingSSTFSCANC-SCANOperating systemsSeek time

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)