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 meant by the term affinity in processor sheduling, Question: (a...

Question: (a) Answer the following questions based on the code snippet below. 1. int main (int argc, char *argv[]) 2. { 3. 4. pid_t processId; 5. 6. processId =

Describe two segment-replacement algorithms, Q. Segmentation is alike to p...

Q. Segmentation is alike to paging but uses variable-sized "pages". Describe two segment-replacement algorithms based on FIFO and LRU page replacement schemes. Remember that since

Developing code with threads, Developing Code with Threads Writing code...

Developing Code with Threads Writing code to support a thread-based implementation is very straightforward. Simple APIs are presented to the developer for each threads package.

Can indefinite blocking take place, Consider the subsequent resource-alloca...

Consider the subsequent resource-allocation policy. Requests as well as releases for resources are allowed at any time. If a request for resources can't be satisfied because the re

Memory management unit, When a program issues a memory load or store operat...

When a program issues a memory load or store operation, the virtual addresses (VAs) used in those operations have to be translated into "real" physical memory addresses (PAs). This

What is logical address space and physical address space, What is logical a...

What is logical address space and physical address space? The set of all logical addresses formed by a program is known as a logical address space; the set of all physical addr

Explain process states in the unix system, Process States A total of n...

Process States A total of nine states are acknowledged by the UNIX system. They are like as follow: User running                                                   Executing

What is critical section?, What is critical section? Every process has ...

What is critical section? Every process has a segment code called the critical section, in which the process may be updating tables, changing variables, writing file and etc. W

Explain the types of system calls, Explain the Types of System Calls Th...

Explain the Types of System Calls The major types of system calls are like this: a. Process Control: These types of system calls are employed to control the processes.

Several cpu-scheduling algorithms, Q. Several CPU-scheduling algorithms are...

Q. Several CPU-scheduling algorithms are parameterized for instance the RR algorithm requires a parameter to indicate the time slice. Multilevel response queues require parameters

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