FOR FREE CONTENT

EDF Scheduling Example 2

 

Example 2: (Earliest Deadline First (EDF) Scheduling)

 

 

Period: Processes always occur at regular intervals of time which is called the period.

Deadline: The time by which operation of the process must complete.

Execution time: Time required to execute the process i.e. CPU time. 

 

Here deadline and period both are mentioned in this problem.

 

Periodic Task Timing Diagram: 

 

 

Here deadline is mentioned but the process of scheduling is the same as example1 just one simple thing, keep in your mind that the process should be completed within the deadline in each period.

Here red arrow is the deadline.

 

For any problem to understand the example please comment us or mail us.

 

 

Calculation of CPU utilization

Process P1: 3x1 = 3 

Process P2:  2x4= 8 

Process P3:  2x2= 4 

 

CPU utilization: 15/20 = 0.75 means 75%