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

Shell scripting in both a windows and unix environment, Purpose This is...

Purpose This is intended to help you develop your understanding of shell scripting in both a Windows and Unix environment. Deliverables For both the first and second op

Explain the exitthread function used in the windows nt, Explain the ExitThr...

Explain the ExitThread Function used in the Windows NT ExitThread(ExitCode) The ExitThread( ) call is made to end the currently running thread. If the current thread is th

Compare user threads and kernel threads, Compare user threads and kernel th...

Compare user threads and kernel threads. User threads:- User threads are supported above the kernel and are executed by a thread library at the user level. Thread creation

Example of producer consumer - semaphore, Now let's implement bounded produ...

Now let's implement bounded producer-consumer with semaphores, a Coke machine which is initially empty: semaphore sem_mutex = 1 // binary semaphore for mutual exclusion, 1==unlo

Deadlock-avoidance safety algorithm, Q. Presume that you have coded the de...

Q. Presume that you have coded the deadlock-avoidance safety algorithm as well as now have been asked to implement the deadlock-detection algorithm. Can you do thus by simply usin

Tcp and ip stack, What does the last four digits '0010' of the above dump r...

What does the last four digits '0010' of the above dump represent? What action will the Destination node takes when it receives this packet? The last four digits '0010' denotes

Direct memory access, A-  In a table format, compare between Programmed I/O...

A-  In a table format, compare between Programmed I/O, Interrupt -driven I/O, and Direct Memory Access (DMA) in terms of basic idea, Advantages, disadvantages, and the operating en

LINUX, what is exit status

what is exit status

Transportation, what are the factors influencing the choice of a mode of tr...

what are the factors influencing the choice of a mode of transportation?

Explain rehashing to handle collision, Explain Rehashing to Handle Collisio...

Explain Rehashing to Handle Collision Rehashing:  Re-hashing schemes make use of a second hashing operation while there is a collision. If there is an additional collision, we

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