Question: Consider the following processes Calculate the Average waiting times. Average response times, and Average turnaround As described in class - all processes are initialized as

Consider the following processes Calculate the Average waiting times. Average response times, and Average turnaround As described in class - all processes are initialized as Q1 processes, if the process is preempted for Ta it is moved to Q2. if it is preempted from O2 it is moved to Q3 MF (Multilevel Feedback Queue) Q1RRTO (3) (preemptive priority over Q2 and 3) 2. RR -- TQ (5) preemptive priority over Q3) Q3 - FCFS Process arrival time CPU, 1/0, CPU P1 0 2. 3. 2 P2 2. 7, 6, 5 4 6. 7. 8 P4 6 3. 4. 5 P3 Q2 - RR - Tq (5) (preemptive priority over Q3) Q3 - FCFS Process arrival time CPU, I/O. CPU PI 0 2. 3. 2 P2 2. 7, 6, 5 P3 4 6. 7. 8 P4 6 3, 4, 5 avg RT: 1.25, avg WT: 8.25, avg TT: 22.75 avg RT: 1.25. avg WT: 8.25, avg TT: 25.75 avg RT: 1.5, avg WT: 12.5, avg TT: 31.5 avg RT: 1.5, avg WT: 12.5, avg TT: 25.75
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
