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

Explain file allocation using i nodes, File allocation using I nodes. T...

File allocation using I nodes. This method is used to decrease the size of the table in the above method. Every file will have an I-node list. Allow a file have 15 pointers a

Activities of operating system - memory management, Q. What are the three m...

Q. What are the three main activities of an operating system in regard to memory management? Answer: a. Keep follows of which parts of memory are currently being used and

Memory management, example of first fit best fit and worst fit

example of first fit best fit and worst fit

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 is the lower bound on the numeral of page faults, Q. Presume that you...

Q. Presume that you have a page-reference string for a process with m frames (initially all empty). The page-reference string has length p along with n distinct page numbers

Beladys anomaly algorithm, Q.  You have devised a fresh page-replacement a...

Q.  You have devised a fresh page-replacement algorithm that you think may be optimal. In a few contorted test cases Belady's anomaly occurs. Is the fresh algorithm optimal? Descr

What are the three major purposes of an operating system, Q. What are the t...

Q. What are the three major purposes of an operating system? Answer: To offers an environment for a computer user to execute programs on computer hardware in a conveni

Define thread cancellation and target thread, Define thread cancellation & ...

Define thread cancellation & target thread. The thread cancellation is the task of terminating a thread before it has completed. A thread that is to be cancelled is often refer

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