Write a short note about schedulers, Operating System

Assignment Help:

Write a short note about schedulers.

Processes migrate between the various scheduling queues throughout its life time. The operating system should select for scheduling purposes, processes as of these queues in some fashion. The selection process is hold out by the appropriate Scheduler.

In a batch system habitually more processes are spooled to a mass-storage device where they are kept for later execution. The Job scheduler or Long-term scheduler selects processes from this pool and loads them into memory for implementation. The CPU scheduler or Short-term scheduler selects from among the processes that are ready to execute and allocates the CPU to one of them.

The primary distinction among these two schedulers is the frequency of their implementation. The short-term scheduler should select a new process for the CPU frequently. A process may implement for only a few milliseconds before waiting for an I/O request.

The long-term scheduler alternatively, implement much less frequently. There may possibly be minutes between the creations of new processes in the system. The long-term scheduler manages of the Degree of multiprogramming the number of process in the memory. If the degree of multiprogramming is steady after that the process leaves the system. Therefore the long-term scheduler may require to be invoked only when a process leaves the system. For the reason that the long interval between the executions the long-term scheduler is able to afford to take more time to select a process for execution.

 


Related Discussions:- Write a short note about schedulers

What is belady anomaly, What is Belady's anomaly When plotting on a g...

What is Belady's anomaly When plotting on a graph the page faults versus the number of available frames. We notice that the number of faults for four frames is greater than th

Life of a page, Suppose your process starts up, and allocates some memory w...

Suppose your process starts up, and allocates some memory with malloc(). The allocator will then give part of a memory page to your process. The OS then updates the corresponding p

Describe what is meant by client-server computing, Question 1: (a) Desc...

Question 1: (a) Describe what is meant by Client-server Computing? (b) Distinguish between a server process and a client process. (c) What are the basic characteristics o

Execution without entering a deadlock state, Q. Presume that a system is in...

Q. Presume that a system is in an unsafe state. Illustrate that it is possible for the processes to complete their execution without entering a deadlock state. Answer: An unsaf

What are the differences between process and thread, What are the differenc...

What are the differences between process and thread? The fundamental difference between a process and a thread is that a process has an entire copy of the program to itself and

Define busy waiting and spinlock, Define busy waiting and spinlock. Whe...

Define busy waiting and spinlock. When a process is in its significant section, any other process that tries to enter its critical section must loop continuously in the entry c

What are privileged instructions, What are privileged instructions? Som...

What are privileged instructions? Some of the machine instructions that may cause harm to a system are designated as privileged instructions. The hardware permits the privilege

Define the division of labour between client and server, Define the Divisio...

Define the Division of Labour between Client and Server Given our definition of client - server as the interaction between dispersed application logic components it must be not

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