📜  短期和中期计划程序之间的区别

📅  最后修改于: 2021-08-29 11:39:05             🧑  作者: Mango

先决条件–流程计划程序

1.短期计划程序:
短期调度程序也称为CPU调度程序。其主要目的是根据某些设定标准来提高系统性能。短期调度程序有助于选择准备执行的进程组,并为每个进程分配CPU。与中期计划程序不同,它更频繁地执行,即在几秒钟内。短期调度程序对DOM(多程序程度)的控制较少。

2.中期排程器:
中期调度程序也称为交换调度程序。它的主要目的是从主内存中换出挂起的进程。如果正在运行的进程发出I / O请求,它将被挂起。暂停的过程不会显示完成方面的任何进展,因此应将其移至辅助存储,从而为新过程提供空间。与短期调度程序不同,它的执行不是很频繁。中期调度程序减少了DOM(多程序程度)。

短期和中期调度程序之间的区别:

S.No. SHORT-TERM SCHEDULER MIDDLE-TERM SCHEDULER
1. Short-Term scheduler is also known as CPU Scheduler. Middle-Term scheduler is also known as Swapping Scheduler.
2. Speed of Short-Term scheduler is very fast as compared to middle-Term scheduler. Its speed is less than Short-Term scheduler.
3. It provides less control over Degree of programming. It reduces the Degree of Programming.
4. Its presence in Time sharing system is very minimal. Middle-term scheduler is a part of Time sharing system.
5. In short-term scheduler, there occurs transition of process from ready to executing state. In middle-term scheduler, no process transition state occurs.
6. Its function is to selects those processes which are ready to execute. Its function is to reintroduce process back in the memory.