HomeComputer ScienceDisk Scheduling: FCFS, SSTF, SCAN & C-SCAN

Disk Scheduling: FCFS, SSTF, SCAN & C-SCAN

Interactive 3D disk-scheduling simulator: watch a hard-disk read/write head sweep across cylinders under FCFS, SSTF, SCAN, C-SCAN and LOOK, with a live seek-distance graph and total/average seek-time readouts.

Computer Science3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
operating-systems ↗ Open standalone

Every operating system keeps a queue of pending disk I/O requests, and the order it services them in is governed by a disk-scheduling algorithm — one of the classic mechanisms an OS kernel uses to turn "what the programs asked for" into "what the hardware actually does." This simulator renders a real hard-disk cylinder track in 3D: a read/write head sweeps toward a queue of pending requests under First-Come-First-Served, Shortest-Seek-Time-First, SCAN, C-SCAN or LOOK, while a live graph above the track traces the classic seek-pattern chart used to compare these policies. Switch algorithms on the same request queue to see how total head movement — and therefore total seek time — changes, watch requests turn from pending amber to serviced green as the head reaches them, and read live total and average seek-length numbers as the sweep runs.

⚙ Under the hood

Watch a hard-disk read/write head sweep across cylinders under FCFS, SSTF, SCAN, C-SCAN and LOOK scheduling policies, with a live seek-pattern graph and total/average seek-distance readouts.

operating systemsdisk schedulingSCANSSTFkernelalgorithms

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

What did you find?

Add reproduction steps (optional)