
Comparison among Scheduler
The comparison among the scheduler are done below.
Long Term Scheduler: It is also called a job scheduler. A long-term scheduler determines which programs are admitted to the system for processing. It selects processes from the queue and loads them into memory for execution. Process loads into the memory for CPU scheduling.
Short Term Scheduler: It is also called as CPU scheduler. Its main objective is to increase system performance in accordance with the chosen set of criteria. It is the change of ready state to the running state of the process. CPU scheduler selects a process among the processes that are ready to execute and allocates CPU to one of them.
Medium Term Scheduler: Medium-term scheduling is a part of swapping. It removes the processes from the memory. It reduces the degree of multiprogramming. The medium-term scheduler is in charge of handling the swapped out-processes.
Long-Term Scheduler | Short-Term Scheduler | Medium-Term Scheduler | |
1 | It is a job scheduler. | It is a CPU scheduler. | It is a process swapping scheduler. |
2 | Speed is lesser than short term scheduler. | Speed is the other two
fastest among. |
Speed is in between both short- and long-term scheduler. |
3 | It controls the degree of
Multiprogramming.
|
It provides lesser control over the degree of multiprogramming.
|
It reduces the degree of multiprogramming. |
4 | It is almost absent or minimal in a time-sharing system. | It is also minimal in a time-sharing system. | It is a part of Time-sharing systems. |
5 | It selects processes from the pool and loads them into memory for execution. | It selects those processes which are ready to execute.
|
It can re-introduce the process into memory and execution can be continued. |
You may also like: Scheduler and its Types
Leave a Reply