Overview
Least Slack Time scheduling computes each task's slack as deadline minus current time minus remaining work. The task with the smallest slack runs first, making the policy responsive to both deadlines and remaining processing time.
Prioritizes the ready task with the least time cushion before its deadline.
Compact metadata for implementation and discovery.
Least Slack Time scheduling computes each task's slack as deadline minus current time minus remaining work. The task with the smallest slack runs first, making the policy responsive to both deadlines and remaining processing time.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
Show choosing the job with the least remaining slack before deadline on a small real-time scheduling example.
Least Slack Time depends heavily on accurate remaining-time estimates.
What each reference supports for this entry.
Scheduling reference for Least Slack Time Scheduling precedence, due-date, lateness, or project-schedule optimization.
Good next jumps from the relationship graph, ranked for useful discovery.
Scheduling · Core
Least Slack Time accounts for remaining work, while EDF only orders by deadline.
Compare with thisScheduling · Core
Both policies update priorities as remaining work changes.
Compare with thisLeast Slack Time accounts for remaining work, while EDF only orders by deadline.
Both policies update priorities as remaining work changes.