Operating System. U2M3 Lecture 4 Process Management – Scheduling Algorithms. Objectives. Explain the purpose of scheduling List scheduling Criteria Discuss types of scheduling algorithms. Scheduling Algorithm. The scheduling algorithm is a part of the operating system that
U2M3 Lecture 4
Process Management –
A non-pre-emptive (Atomic) algorithm runs a process to completion once it has the CPU.
A pre-emptive algorithm gives each process a time slice (Quantum) and then switching the CPU's attention among the processes. (process switching /context switching)
Each process is allowed to execute for no longer than one time slice so a job may be require many time slices.