Page 87 - DCAP403_Operating System
P. 87
Operating System
Notes Time Quantum and Context Switch Time
Turnaround Time Varies with the Time Quantum
Example: Assume you have the following jobs to execute with one processor, with the
jobs arriving in the order listed here:
i T(pi) Arrival Time
0 80 0
1 20 10
2 10 10
3 20 80
4 50 85
1. Suppose a system uses RR scheduling with a quantum of 15. Create a Gantt chart illustrating
the execution of these processes?
80 LOVELY PROFESSIONAL UNIVERSITY