In: Computer Science
Suppose there are 4 processes P1, P2, P3 and P4 getting to ready queue in various arrival times and with various bursts times as detailed in the table below. Using Shortest-remaining-time-first scheduling approach, find waiting time for each process and the average waiting time and provide detailed steps taken to find the answer. Using time quantum of milliseconds.
Process |
Arrival time (ms) |
Burst Time (ms) |
P1 |
0 |
8 |
P2 |
2 |
3 |
P3 |
6 |
2 |
P4 |
9 |
7 |