What is the difference between Preemptive and Non Preemptive - ProProfs Discuss
Advertisement

What is the difference between Preemptive and Non-Preemptive Scheduling in Operating Systems?

What is the difference between Preemptive and Non-Preemptive Scheduling in Operating Systems?

Change Image    Delete

Asked by G. dorgon, Last updated: Nov 24, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

J. Harty

J. Harty

Have keen interest in writing, traveller by heart.

J. Harty
J. Harty, Writer, M.A, Chula Vista

Answered Apr 13, 2020

Preemptive and Non-Preemptive Scheduling in Operating Systems are two ways by which processes are run when the CPU scheduler allows a task to CPU. Preemptive scheduling is a type that occurs when a process can be forcibly interrupted even when it is running. In other words, preemptive scheduling allows tasks to be scheduled i.e.; tasks can be preempted during preemptive scheduling.

On the other hand, non-preemptive scheduling does not allow a process that is running to be suspended. In other words, once tasks are allocated to the CPU, they cannot be suspended; it will continue to run till it ends or changes to the waiting state.

During preemptive scheduling, longer tasks can be suspended so that tasks with little CPU burst time can be run. On the other hand, smaller tasks will wait, no matter how long it takes longer tasks to be processed. While preemptive scheduling has overheads, non-preemptive scheduling does not have it.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.