LOOK disk scheduling 2026-10-31
Sweep in one direction through pending requests, reversing at the last pending track rather than travelling to the disk's physical endpoint. It shares the directional sweep of SCAN disk scheduling but can avoid movement into an empty end region.
The previous motion from 135 to 133 fixes the initial direction as downward. Under SCAN disk scheduling, the head continues to the physical endpoint 0 before reversing:
133 -> 112 -> 97 -> 91 -> 76 -> 23 -> 0 -> 135 -> 142 -> 157
Thus SCAN crosses tracks, stopping once the final pending request has been served.
If “elevator” means LOOK disk scheduling, reversal occurs at the lowest pending request, 23, rather than track 0. Its route omits 0, and the total is tracks. Stating the turnaround convention is necessary to make the numerical answer unambiguous.
Figure 1.
Disk scheduling service paths and the SCAN–LOOK turnaround distinction
. Original paths from the given starting position. The extra zero-track endpoint in SCAN is a movement step rather than a serviced request. Totals measure absolute track displacement. Details.