Question: Hw2 A system adopts a priority-based preemptive scheduling where the initial priority of a process increases by 1 after every 5 ms. In a recorded
Hw2 A system adopts a priority-based preemptive scheduling where the initial priority of a process increases by 1 after every 5 ms. In a recorded time span, the system has fourprocesses, :P1, P2, P3, P4 and PS, as shown in the following table Burst time (TOTAL Arrival time CP TIME IN Priority Process (NES 0 4 1 P1 0 3 2 P2 6 7 1 P3 11 3 P4 NA 12 2 P5 Draw a timing diagram similar to gure 3.7 and find the turnaround time for eachprocess. Assume that the dispatcher takes 2.5 milliseconds for a process switch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
