Question: (a) Consider the following workload: Process Burst Time Priority Arrival Time P1 60 2 0 P2 20 4 0 50 1 10 P4 10 5

(a) Consider the following workload: Process Burst Time Priority Arrival Time P1 60 2 0 P2 20 4 0 50 1 10 P4 10 5 20 P5 20 3 50 P3 Schedule the above processes using Shortest Remaining Time First (SRTF) and Preemptive Priority algorithms. Please note that for priority scheduling, a lower number indicates higher priority. Compute the AWT (Average Waiting Time), Average Turnaround Time (ATAT) and Average Response Times (ART) for both of the given policies. Which one of these policies is better-suited to the given workload? [6 marks] ker ora
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
