Differentiate Preemptive and Nonpreemptive Scheduling?, Basic Computer Science

Assignment Help:
The Scheduling algorithms can be divided into two parts with respect to how they deal with clock interrupts.
1) Nonpreemptive Scheduling:
A scheduling discipline is no preemptive if, once a process has been given the CPU, the CPU cannot be taken away from that process.
Following are some characteristics of nonpreemptive scheduling

a) In nonpreemptive system, short jobs are produced to wait by longer jobs but the complete treatment of all processes is fair.
b) In nonpreemptive system, response times are more expected because incoming high priority jobs cannot relocate waiting jobs.
c) In nonpreemptive scheduling, a scheduler executes jobs in the following two conditions.
o When a process switches from running condition to the waiting state.
o When a process come to an end.

2) Preemptive Scheduling:
A scheduling regulation is preemptive if, one time a process has been given the CPU can taken away.

The policy of allowing processes that are logically run able to be for now suspended is called Preemptive Scheduling and it is contrast to the "run to completion" technique.

Related Discussions:- Differentiate Preemptive and Nonpreemptive Scheduling?

Algorithm, solve three given number in ascending order through algorithm

solve three given number in ascending order through algorithm

Internal structure of agents - artificial intelligence, I n t e rnal St...

I n t e rnal Structure of Agents We have looked at agents in terms of their external influences and behaviors: they take input from the environment and perform rational act

Number system, convert the following in to binary 108

convert the following in to binary 108

Syntax of a Procedure in assembly language, There are two kinds of procedur...

There are two kinds of procedures, the intrasegments, which are found on the similar segment of instructions and the inter-segments which can be stored on dissimilar memory segment

Algorithm implementation, Implementing the -Crochemore-Perrin algorithm Th...

Implementing the -Crochemore-Perrin algorithm The software must be functional, code must be clear and including comments and it must have a nice and decent user interface

Disadvantages of manual records, Disadvantages of Manual Records  ...

Disadvantages of Manual Records  More manpower is required to record/storelretrieve the data.   Bulky paper records take up more space and this problem increases with

Explain the terms sampling and aliasing, QUESTION (a) Consider a syste...

QUESTION (a) Consider a system with input x[n] and output y[n] that satisfy the difference equation:                                   Y[n] = x[n] + 0.5 x[n-2] + 0.2 x[n+1]

Wide area networks and metropolitan area networks, Metropolitan Area Networ...

Metropolitan Area Networks : These type of networks generally cover specific metropolitan area and provide to them all the services.  Wide Area Networks (WANs): Wide Are

Describe four types of abstracts, QUESTION 1 Write short notes on cont...

QUESTION 1 Write short notes on controlled vocabulary indexing. QUESTION 2 (a) List five types of abstracts. (b) Describe four types of abstracts. QUESTION 3

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd