Schedulers 调度 Long-term scheduler ( or job scheduler)-selects which processes should be brought into the ready queue 长程调度(或作业调度)-选择可以进入就绪队列的进程 Short-term scheduler(or CPU scheduler)-selects which process should be executed next and allocates CPU 短程调度(或cPU调度)-选择可被下一个执行并分配CPU的进程 Applied Operating System Concepts 4.11
4.11 Applied Operating System Concepts Schedulers 调度 • Long-term scheduler (or job scheduler) – selects which processes should be brought into the ready queue. 长程调度(或作业调度)-选择可以进入就绪队列的进程 • Short-term scheduler (or CPU scheduler) – selects which process should be executed next and allocates CPU. 短程调度(或CPU调度)-选择可被下一个执行并分配CPU的进程
Addition of Medium Term Scheduling 中程调度 swap in partially executed swap out swapped-out processes ready queue CPU end 1/O waiting queues Applied Operating System Concepts 4.12
4.12 Applied Operating System Concepts Addition of Medium Term Scheduling 中程调度