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.|
- Difference between dispatcher and scheduler
- Difference between Long-Term and Medium-Term Scheduler
- Process Scheduler : PCBs and Queueing
- Process Scheduler : Job and Process Status
- Difference between C and C#
- Difference between CLI and GUI
- Difference between WCF and Web API
- Difference between LED and LCD
- Difference between JSP and ASP
- Difference between Blu-ray and DVD
- Difference between CPU and GPU
- Difference between LAN, MAN and WAN
- Difference between MP4 and MP3
- Difference between RAM and ROM
- Difference between URL and URI
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : ashushrma378