Question: For thread T1, the Execution time = 20 ms, Deadline = 35 ms, Period = 40 ms, release time = 0ms. If a new thread
For thread T1, the Execution time = 20 ms, Deadline = 35 ms, Period = 40 ms, release time = 0ms. If a new thread T2 activates at 10ms, and T2 has the Execution time = 10 ms, Deadline = 20 ms, Period = 60 ms. If you implement the above problem with EDF (Earlier Deadline First) preemptive scheduling algorithm what will be the utilization? How many times context switching happened? What is the maximum CPU time for each process? Assume 5ms is needed for initiation and context switching. What will be the utilization? Do both processes can meet deadline? How many times context switching happened? What is the maximum CPU time for each process? Show CPU timing diagram.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
