Please enable JavaScript.
Coggle requires JavaScript to display documents.
Difference Between Preemptive and Non-Preemptive Scheduling - Coggle…
Difference Between Preemptive and Non-Preemptive Scheduling
preemptive scheduling
circumstances
process switches from running state to ready state
process switches from waiting state to ready state
cpu is allocated to a process for a limited time
non preemptive scheduling
circumstances
process witches from running state to waiting state
2.process terminates
cpu is allocated to a process till it gets terminated or enters into waiting state
average waiting time of the process is increased
resource allocation
interupt
starvation
process cannot be interrupted in between
process with short burst time may starve
non preemptive scheduling
cpu is allocated to a process till it completes burst time or switches to waiting state
preemptive scheduling
cpu is allocated to a process for a limited time
process can be interrupted in between
low priority process may starve