Question: 2. Consider the following two queue system Queue o CPU Queue 1 CPU scheduler used at Queue 0 is Shortest job first-Preemptive CPU scheduler used

2. Consider the following two queue system Queue o CPU Queue 1 CPU scheduler used at Queue 0 is Shortest job first-Preemptive CPU scheduler used at Queue 1 is Shortest job first-Non-Preemptive CPU is scheduled between Queue 0 and Queue 1 according to round robin scheduler. That is, CPU is given to Queue o for 8 ms then switched to Queue 1 for 12 ms then switched back to Queue o for 8 ms then switched back to Queue 1 for 12 ms and so on until all processes completed CPU information for processes are defined as follows: Arrival time CPU time Queue o PO P1 P2 P3 6 10 14 28 CPU time Queue 1 P4 Arrival time 0 P5 8 P6 24 P7 32 Calculate the average waiting time for all eight processes. Show all detailed scheduling events and your calculation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
