Open In App

Medium Term Scheduler in Operating System

The long-term execution of processes in a computer system is managed by a medium-term scheduler, also referred to as a mid-term scheduler. Based on a set of predetermined criteria and priorities, this kind of scheduler decides which processes should be executed next.

Typically, processes that are blocked or waiting must be managed by the medium-term scheduler. These processes are not running right now, but they are still awaiting the occurrence of an event in order to start running. Which of these blocked processes should be unblocked and allowed to continue running is up to the medium-term scheduler to decide.



The system’s overall resource utilization must be managed via the medium-term scheduler. This entails keeping track of how much memory, CPU, and other resources are being used by the various processes and modifying resource allocation as needed.

The operating system kernel often houses the medium-term scheduler’s implementation. It is in charge of controlling the system’s overall resource utilization as well as the scheduling of programs that are stalled or waiting.



 

Responsibilities of Medium Term Scheduler

So, the operating system’s medium-term scheduler controls the scheduling and resource distribution of processes that are blocked or waiting. It aids in ensuring that resources are distributed equally throughout all of the processes and that they are carried out effectively.

Functions

A medium-term scheduler’s main responsibilities include:

 

Limitations:

For more details, you can refer Difference between Short-Term and Medium-Term Schedulers article. 

Article Tags :