answersLogoWhite

0


Best Answer

1.) in preemptive scheduling we prempt the currently executing process,

in non preemptive scheduling we allow the current process to finish its CPU burst time...

2.) in preemptive scheduling the process is forcibly sent to waiting state when a process with higher priority comes to CPU,

in non preeemptive scheduling the process at running state can not be forced to leave the CPU until it completes........

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between preemptive and non preemptive scheduling?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

Does Windows 7 use preemptive scheduling or non-preemptive?

well sometime it does its just with the syames your useing.


What scheduling algo is used for real time OS?

Cooperative schedulingPreemptive scheduling Rate-monotonic schedulingRound-robin schedulingFixed priority pre-emptive scheduling, an implementation of preemptive time slicingFixed-Priority Scheduling with Deferred PreemptionFixed-Priority Non-preemptive SchedulingCritical section preemptive schedulingStatic time schedulingEarliest Deadline First approachStochastic digraphs with multi-threaded graph traversal


What is a preemptive and non preemptive algorithm and explain with example?

Preemptive scheduler reruns scheduling decision when process becomes ready. If the new process has priority over running process, the CPU preempts the running process and executes the new process. Non-preemptive scheduler only does scheduling decision when running process voluntarily gives up CPU. In effect, it allows every running process to finish its CPU burst.


Difference between preemptive and non preemptive?

if block Ki of size Ni is to be transferred to memory M1 & the blocks occupying the space in M1 can't be preempted by block Ki then it is necessaray to find or create a space of Ni words inM1 . this process is called non preemptive allocation....non preemptive allocation can't make efficient use of memory allocation.whenever preemptive allocation is used for efficient use of the available memory space and rellocation can be done.


What is the difference between primitive and non primitive CPU scheduling algorithm?

In Non-Primitive CPU Algo. once a process is given to the CPU it cannot be preempt,but in primitive Algo. it can be.

Related questions

Difference between preemptive and non preemptive system.with example?

Preemptive scheduling allows a process to be interrupted in the midst of its execution, taking the CPU away and allocating it to another process.Non-preemptive scheduling ensures that a process relinquishes control of the CPU only when it finishes with its current CPU burst.


Is windows xp preemptive or non preemptive?

It uses pre-emptive scheduling. It has what is called a pre-emptive multi-tasking kernel.


Does Windows 7 use preemptive scheduling or non-preemptive?

well sometime it does its just with the syames your useing.


What is the disadvantage of non - preemptive scheduling?

A disadvantage of non preemptive scheduling is that it could introduce blocking delays in tasks that are high priority. With this type of scheduling you can also not meet deadlines because decisions can only be made after the task is completed.


What is preemptive scheduling and non preemptive scheduling?

Tasks are usually assigned with priorities. At times it is necessary to run a certain task that has a higher priority before another task although it is running. Therefore, the running task is interrupted for some time and resumed later when the priority task has finished its execution. This is called preemptive scheduling.Eg: Round robinIn non-preemptive scheduling, a running task is executed till completion. It cannot be interrupted.Eg First In First Out


What scheduling algo is used for real time OS?

Cooperative schedulingPreemptive scheduling Rate-monotonic schedulingRound-robin schedulingFixed priority pre-emptive scheduling, an implementation of preemptive time slicingFixed-Priority Scheduling with Deferred PreemptionFixed-Priority Non-preemptive SchedulingCritical section preemptive schedulingStatic time schedulingEarliest Deadline First approachStochastic digraphs with multi-threaded graph traversal


What is a preemptive and non preemptive algorithm and explain with example?

Preemptive scheduler reruns scheduling decision when process becomes ready. If the new process has priority over running process, the CPU preempts the running process and executes the new process. Non-preemptive scheduler only does scheduling decision when running process voluntarily gives up CPU. In effect, it allows every running process to finish its CPU burst.


State why strict non-preemptive scheduling is unlikely to be used in a computer centre?

Once the CPU has been allocated to a process, the process keeps the CPU until it releases the CPU either by terminating or by switching to the waiting state. In a general purpose computer system, users share the CPU and care about system responsiveness. If the system uses non-preemptive scheduling, some users may sit before the monitor for several hours without doing anything other than waiting for the set of processes in front of them in the system queue to finish. So, strictly non-preemptive scheduling is unlikely to be used in a general purpose computer system.


What is difference between preemtive and nonpreemtive sheduling?

In preemptive scheduling a given task can always be "preempted" by a higher priority task. The operating systems saves the context of the running task and restores the context of the higher priority task (context switch). When all higher priority tasks have been finished, the task resumes its execution. With non-preemptive scheduling a task always executes until it ends or when it reaches a preemption point. Hope this helps


What is the difference between pre emptive and non preemptive scheduling?

in pre emptive scheduling. a limited time period is fixed for every process in the CPU. no matter whether the process is completed or not ... the resource assinged to it will be taken back back abd will be given to the next process in the queue.while in non preemptive the resorces are with a process untill it finishes completely others wait for their turn till then. this kind of scheduling has a high probability of going into a deadlock.


Difference between preemptive and non preemptive?

if block Ki of size Ni is to be transferred to memory M1 & the blocks occupying the space in M1 can't be preempted by block Ki then it is necessaray to find or create a space of Ni words inM1 . this process is called non preemptive allocation....non preemptive allocation can't make efficient use of memory allocation.whenever preemptive allocation is used for efficient use of the available memory space and rellocation can be done.


What do you mean by non-preemptive shortest job first scheduling explain with an example?

Non pre-emptive means once CPU starts executing one process, it will not be taken out of the CPU until it is terminated or it has to wait for some event. In preemptive SJF scheduling, current running process is moved to the ready queue when a new process with a shorter CPU burst joins the ready queue.