Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Earliest deadline first scheduling

Optimization Algorithm

Earliest deadline first scheduling, often shortened to EDF, is a dynamic priority scheduling algorithm used in real-time operating systems. Each time a scheduling event occurs, such as a task finishing or a new task being released, the ready queue is searched and the process closest to its deadline runs next. On a preemptive single processor it is optimal in a precise sense: if any algorithm can schedule a set of independent jobs, each with an arrival time, an execution requirement and a deadline, so that every job finishes in time, then EDF can too. For periodic tasks whose deadlines equal their periods, the schedulability test is that total processor utilization is at most 100 percent. That compares with a theoretical maximum of around 69 percent for fixed-priority rate-monotonic scheduling, although most real-time systems still use fixed priorities. EDF support has been added to the Linux kernel by projects such as AQuoSA.

Connections

In Field

Source Earliest deadline first scheduling (Wikipedia)
Sources
Earliest deadline first scheduling (Wikipedia)
  • In Group: Scheduling Algorithms, Lead paragraph
    Earliest deadline first (EDF) or least time to go is a dynamic priority scheduling algorithm used in real-time operating systems to place processes in a priority queue.
  • In Field: Operating Systems, Lead paragraph
    Earliest deadline first (EDF) or least time to go is a dynamic priority scheduling algorithm used in real-time operating systems to place processes in a priority queue.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.