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

Consider the following two queue system Queue 0 Queue 1 CPU CPU scheduler used at Queue 0 is Shortest job  


Consider the following two queue system Queue 0 CPU Queue 1 CPU  

Consider the following two queue system Queue 0 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 0 for 8 ms then switched to Queue 1 for 8 ms then switched back to Queue 0 for 8 ms then switched back to Queue 1 for 8 ms and so on until all processes completed CPU information for processes are defined as follows: Queue 0 PO P1 33339 P2 P3 Arrival time 6 18 20 24 CPU time 7 1 7 1 Queue 1 P4 P5 P6 P7 Arrival time 0 8 24 30 CPU time: 8 6 4 1 Calculate the average waiting time for all eight processes. Show all detailed scheduling events and your calculation. (20 points)

Step by Step Solution

3.45 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To calculate the average waiting time for all eight processes we need to simulate the scheduling eve... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!