Difference between Long-Term and Short-Term Scheduler.



Long Term Scheduler

Long term scheduler is also termed as JOB scheduler. It maintains a queue of programs/jobs which are selected for system to process. Programs are selected based on the scheduling mechanism and processed. Long term scheduler controls the degree of multiprogramming.

Short Term Scheduler

Short term scheduler is also termed as CPU scheduler. It maintains a context switch and CPU is switched among multiple threads. Short term scheduler controls the degree of multitasking.

Following are some of the important differences between Long Term Scheduler and Short Term Scheduler.

Sr. No.KeyLong Term SchedulerShort Term Scheduler
1InputLong term scheduler takes jobs from a job pool and manage them.Short term scheduler takes process from a ready queue and context switch the CPU.
2Known asLong term scheduler is known as JOB Scheduler.Short term scheduler is known as CPU Scheduler.
3QueueA queue of job is maintained as a job pool. Scheduler decides which job to pick.No such queue is present.
4RegulatesLong term scheduler controls Multiprogramming.Short term scheduler controls multitasking.
5PriorityLong term scheduler priorities the program to be selected for processing based on provided mechanism.Short term scheduler set the importance based on operation type.
raja
Published on 06-Jan-2020 11:13:13
Advertisements