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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started