Tutorial 5: CPU Scheduling
Why is it important for the scheduler to distinguish IO-bound programs from CPU-bound programs?
What is the difference between preemptive and non-preemptive scheduling?
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:
Process Burst-time Arrival time Pl P PS
Draw the Gantt charts illustrating the execution of these processes using: FCFS Non-Preemptive SJF RR (quantum-2)
What is the turnaround time of each process for each of the scheduling algorithms in Q32? What is the waiting time of each process for each of the scheduling algorithms in Q32? Which of the schedules in Q3 results in the minimal average waiting time (over all processes)?
Explain the difference in the degree to which the following scheduling algorithms discriminate in favor of short processes: FCFS RR Multilevel feedback queues