Shortest positioning time first
Shortest positioning time first selects the pending disk request with the lowest predicted combined seek and rotational delay.
Unlike shortest seek time first (SSTF), SPTF accounts for where the target sector will be after the head moves. Worthington, Ganger and Patt use this name to distinguish positioning from seek alone; earlier papers use STF and SATF. [1]
The platter keeps rotating during the seek. In Hesela's synthetic 10 ms revolution example, a 1 ms seek followed by 9.5 ms of residual rotation loses to a 3 ms seek followed by 0.5 ms. These are invented inputs, not measured drive timings or a workload speedup. [4]
Predicted sector passage has a boundary: arriving just after the target has passed can cost another revolution. The executable witness also shows that minimizing positioning need not minimize completion when transfer lengths differ. [4]
SPTF is a greedy next-request rule, not a proof of globally optimal order. It can postpone older requests; age priorities and frozen admission address a separate fairness problem. [2]
A host implementation needs layout and current-position information that an LBA interface may hide. Device caching and prefetching can change both the cost and the head position. This mechanical model is not an SSD scheduling prescription. [1]
Relations
Citations
- Worthington, Ganger and Patt. Scheduling Algorithms for Modern Disk Drives. SIGMETRICS 1994, sections 2-4.
- Jacobson and Wilkes. Disk scheduling algorithms based on rotational position. HPL-CSP-91-7rev1, 1991, sections 4-5.
- Hesela: Why the shorter seek can lose; synthetic integer-time model and regression tests.
Further reading
Sources & caveats
- Primary-paper synthesis plus a separately labelled synthetic calculation; no hardware experiment or paper-performance replication.
- The 1991 report was revised on 1 March 1991 and issued electronically in 1995; the electronic issue date is not the algorithm's invention date.
- D-SPTF is an existing distributed replica-coordination protocol, not an alias of this local selection rule.