Overview
Shortest Job First reduces average waiting time by choosing short tasks before long ones.
Runs the ready task with the smallest expected processing time.
Compact metadata for implementation and discovery.
Shortest Job First reduces average waiting time by choosing short tasks before long ones.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n log n)
Average
O(n log n)
Worst
O(n log n)
Space
O(n)
Show shorter jobs moving ahead of longer jobs in a schedule.
Shortest Job First operates in O(n log n) time and O(n) space within the Greedy Scheduling family. Often compared with Round Robin Scheduling and Earliest Deadline First.
What each reference supports for this entry.
Operating-systems reference for shortest-job-first CPU scheduling, burst-time ordering, and non-preemptive/preemptive variants.
Good next jumps from the relationship graph, ranked for useful discovery.
Scheduling · Core
SRTF is the preemptive form of shortest-job-first.
Compare with thisScheduling · Foundation
Shortest-job-first prioritizes predicted short jobs, while round robin rotates fixed time slices.
Compare with thisScheduling · Core
Earliest Due Date prioritizes due dates, while shortest-job-first prioritizes short processing times.
Compare with thisShortest-job-first prioritizes predicted short jobs, while round robin rotates fixed time slices.