← CS Visual Lab · Operating Systems
💽 Disk scheduling
💡 The ideaThe disk head moves across cylinders to serve requests. FCFS serves in order, SSTF picks the nearest, SCAN sweeps to the end like a lift, C-SCAN sweeps one way and jumps back, LOOK turns at the last request instead of the end.
🏠 In real lifeA lift in a building: SCAN goes all the way up, then down, picking people on the way; SSTF always goes to the nearest floor that pressed the button.
🎬 Watch it work
Step 1 of 9
Head at 53 · moved 0 cylinders so far · total for SSTF: 236