Difference between Long-Term and Short-Term Scheduler
Prerequisite – Process Scheduler
Long-Term Scheduler is also known as Job Scheduler. Long-term scheduler regulates the programs which are selected to system for processing. In this the programs are setup in the queue and as per the requirement the best one job is selected and it takes the processes from job pool. It regulates the Degree of Multi-programming (DOM).
Short-Term Scheduler is also known as CPU Scheduler. Short-Term Scheduler ensures which program is suitable or important for processing. It regulates the less DOM (Degree of Multi-programming).
Difference Between Long-Term and Short-Term Scheduler:
|S.NO||Long-Term Scheduler||Short-Term Scheduler|
|1.||Long-Term Scheduler takes the process from job pool.||Short-Term Scheduler takes the process from ready queue.|
|2.||Long-Term Scheduler is also known as Job Scheduler.||Short-Term Scheduler is also known as CPU Scheduler.|
|3.||In Long-Term Scheduler, the programs are setup in the queue and as per the requirement the best one job is selected.||In Short-Term Scheduler no such queue is exist.|
|4.||It regulates the more DOM (Degree of Multi-programming).||It regulates the less DOM (Degree of Multi-programming).|
|5.||It regulates the programs which are selected to system for processing.||It ensures which program is suitable or important for processing.|
|6.||Speed is less than the short-term scheduler.||Speed is very fast as compared to long-term scheduler.|
|7.||Long-Term Scheduler changes the process state from New to Ready.||Short-Term Scheduler changes the process state from Ready to Running.|
|8.||Time-sharing operating systems have no long-term scheduler.||It may be minimal in time-sharing system.|
|9.||It select a good process, mix of I/O bound and CPU bound.||It select a new process for a CPU quite frequently.|
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.