Earliest Deadline First
Updated 2026-08-13
Summary
A real-time scheduling policy that always runs the task with the nearest deadline first, optimal on a single processor.
Definition
Earliest Deadline First (EDF) is a real-time scheduling strategy that dynamically assigns the highest priority to the ready task with the closest deadline. For single-processor systems, when tasks are schedulable, EDF is the optimal dynamic scheduling algorithm. Related ideas include the earliest due date rule, a synonym, longest processing time first, the opposite policy, and minimum slack time, which factors in remaining execution time.
Introduction
How to use
- Let urgency set priority: rank ready tasks by deadline so the most urgent one runs first. - Re-rank dynamically: re-check the full deadline list whenever a new task arrives. - Survive overload: when capacity is exceeded, protect near-deadline tasks and defer low-priority ones.
Mechanism
EDF dynamically gives the highest priority to whichever ready task has the nearest deadline. Because urgency, not static importance, drives sequencing, the processor always works on whatever is closest to missing its target, which is provably optimal for schedulable single-processor task sets.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Operating systems schedule real-time tasks by deadline; personal to-do lists can be re-ordered dynamically as deadlines shift.
Common pitfalls
- Confusing EDF with fixed-priority scheduling; under sustained overload EDF can fail globally, so it needs admission control to reject unschedulable work.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Earliest_deadline_first_schedulingverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS