Shortest Seek Time First (SSTF)
Shortest Seek Time First (SSTF) is a disk scheduling algorithm that selects the request closest to the current head position of the disk. By minimizing the distance the read/write head must move, SSTF aims to reduce the overall time taken to service disk requests. This approach can improve efficiency, especially when requests are clustered in specific areas of the disk.
However, SSTF can lead to a problem known as "starvation," where some requests may wait indefinitely if they are consistently farther away from the current head position. This can occur in scenarios with a high volume of requests, making it less ideal for certain workloads compared to other algorithms like First-Come, First-Served or Round Robin.