DIZNR INTERNATIONAL

Day 01 Part 17(B)- Concept of schedulers short term, long term and medium term schedulers

Day 01 Part 17(B)- Concept of schedulers short term, long term and medium term schedulers

https://www.gyanodhan.com/video/7B7.%20GATE%20CSEIT/Operating%20System/425.%20Day%2001%20Part%2017%28B%29-%20%20Concept%20of%20schedulers%20short%20term%20%20%20%20long%20term%20and%20medium%20term%20schedulers.mp4

In operating systems, schedulers are responsible for managing the execution of processes by determining which process runs at a given time. There are three primary types of schedulers: Long-Term, Medium-Term, and Short-Term. Each plays a distinct role in process management and system performance.


🕒 Long-Term Scheduler (Job Scheduler)

Role: Determines which processes are admitted into the system for processing.

Functions:

Characteristics:


Medium-Term Scheduler (Swapper)

Role: Manages the swapping of processes in and out of main memory to optimize CPU and memory utilization.

Functions:

Characteristics:


Short-Term Scheduler (CPU Scheduler)

Role: Selects which process in the ready queue should be executed next by the CPU.

Functions:

Characteristics:


Comparative Overview

Scheduler Type Also Known As Frequency of Execution Speed Main Function
Long-Term Job Scheduler Low Slow Controls degree of multiprogramming
Medium-Term Swapper Medium Moderate Manages swapping of processes
Short-Term CPU Scheduler High Fast Allocates CPU to ready processes

For a visual explanation, you might find this video helpful:

Feel free to ask if you need further clarification or examples on any of these schedulers!

Day 01 Part 17(B)- Concept of schedulers short term, long term and medium term schedulers

Operating System – Process Scheduling

Types Of Scheduling