Shortest seek first, also called shortest seek time first, is a secondary storage scheduling algorithm that decides how the read and write head of a disk drive moves to serve requests. The operating system queues the incoming requests and always serves next the one that is closest to the cylinder and sector currently under the head, so a priority queue is ordered by the distance the head must travel. This is quicker than serving requests in the order they arrive, because less actuator arm movement is wasted on seeks, and the source calls the method an improvement over first come, first served. The cost is starvation: when many requests cluster in one region of the disk, requests that are physically far away may wait a long time. It targets magnetic hard disk drives, where seek time and rotational latency dominate the cost of an access, and it is a special case of the shortest job next scheduling algorithm.
Connections
In Field
Source Shortest seek first (Wikipedia)
Uses Design Technique
Source Arpaci-Dusseau Books: Operating Systems: Three Easy Pieces, Hard Disk Drives chapter
Sources
Shortest seek first (Wikipedia)
In Group: Scheduling Algorithms, Lead paragraph
is a secondary storage scheduling algorithm
In Field: Operating Systems, Lead paragraph [in-field]
An operating system using shortest seek first puts requests for data from the drive into a queue
View the SourceArpaci-Dusseau Books: Operating Systems: Three Easy Pieces, Hard Disk Drives chapter
Arpaci-Dusseau BooksUses Design Technique: Greedy Method, Section 37.5 Disk Scheduling, opening paragraph, before SSTFQuote, Uses Design Technique: Greedy Method, Section 37.5 Disk Scheduling, opening paragraph, before SSTF
and thus (greedily) pick the one that will take the least time to service first
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.