How does the SSTF disk-scheduling algorithm work, and what problem (starvation) can it cause?

Last updated 5 July 2026

  • SSTF (Shortest Seek Time First) always services the pending request closest to the current head position, greatly improving average seek time over FCFS.

  • Its greedy choice can cause starvation: if nearby requests keep arriving, requests at far tracks may wait indefinitely.

  • Sweeping schedulers like SCAN/LOOK cover the whole disk, bounding worst-case wait and avoiding starvation.

  • https://www.geeksforgeeks.org/operating-systems/sstf-full-form/
  • https://www.geeksforgeeks.org/operating-systems/program-for-sstf-disk-scheduling-algorithm/
  • https://medium.com/@sahil.deogade03/optimizing-disk-performance-a-deep-dive-into-fcfs-sstf-scan-and-c-scan-algorithms-27d23ca06dbd
  • https://www.tutorialspoint.com/operating_system/os_sstf_disk_scheduling_algorithm.htm
  • https://fiveable.me/lists/disk-scheduling-algorithms
  • https://cse.poriyaan.in/topic/disk-scheduling-50812/
All Operating Systems interview questions