What is long-term, medium-term, short-term?, Operating System

Assignment Help:

What is long-term, medium-term, short-term?

In a batch system many processes are submitted than are able to be executed immediately. These processes are reel to a mass storage device, where they are kept back for later execution. The job scheduler or long term scheduler selects processes from this pool and loads them into memory fro execution.

 

The CPU scheduler or short term scheduler selects from among the processes that are ready to allocates and execute the CPU to one of them. Long term scheduler executes less often whereas short term scheduler executes very frequently. The major idea behind a medium-term scheduler is that sometimes it can be advantageous to remove processes from memory and thus reduce the degree of multiprogramming.  Later the process is able to be reintroduced into memory and its execution can be executed can be continued where it left off. Medium -term scheduler swap out and swap in processes.

 


Related Discussions:- What is long-term, medium-term, short-term?

What are the advantages of contiguous allocation, What are the advantages o...

What are the advantages of Contiguous allocation? The advantages are a. Supports direct access b. Supports sequential access c. Number of disk seeks is minimal.

Can you give me assistance on my operating system assignment, Can you give ...

Can you give me assistance on my operating system assignment?

How virtual memory is implemented, How Virtual memory is implemented Vi...

How Virtual memory is implemented Virtual memory can be implemented along with Segmentation and Paging

Define fifo page replacement algorithm, Define FIFO Page Replacement Algori...

Define FIFO Page Replacement Algorithm This policy simply eliminates pages in the order they arrived in the main memory. By using this policy we simply remove a page based upo

Suggest a scheme for implementing this policy, Q. Consider a calculating e...

Q. Consider a calculating environment where a process is given the privilege of accessing object only n times. Suggest a scheme for implementing this policy. Answer: Add an i

Explain threads in details?, What are threads? A thread - sometimes c...

What are threads? A thread - sometimes called as an implementation context or a lightweight process - is a single sequential flow of control within a program. We use threads

What is the main advantage of multiprogramming, What is the main advantage ...

What is the main advantage of multiprogramming? Multiprogramming makes efficient use of the CPU by overlapping the demands for the CPU and its I/O devices from various users. I

Semantics for execution of rpcs, Q. Presume that a distributed system is su...

Q. Presume that a distributed system is susceptible to server failure. What mechanisms would be needed to guarantee the exactly once semantics for execution of RPCs? Ans

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