Question: 8 points Five jobs P 1 , . . . P 5 arrive at a processor at time 0 , 1 , 2 , 3
points
Five jobs P P arrive at a processor at time and the lengths of their CPU bursts are respectively. Draw the Gantt Chart and calculate the average
waiting time and the average response time for the following policies:
SJF ShortestJobFirst scheduling policy.
SRTF ShortestRemainingTimeFirst scheduling policy.
PPS Preemptive priority scheduling policy with priority assignment to dots, where priority is the highest priority.
RR RoundRobin scheduling policy with a time quantum of
Drag n Drop here or Browse
We consider the above question for a simplified MLFQ scheduling policy with simplification. We ignore priority boost and IO and the detailed policy is as follows: A new job
enters Q in RoundRobin RR When it gains CPU, job receives time unit; If it does not finish in time unit, it is moved to Q At Q job is again served in RR and receives
time units. If it still does not complete, it is preempted and moved to Q Run RR in Q with quantum size
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
