Process Control Block(PCB) 进程控制块 pointer process state process number program counter registers memory limits list of open files Applied Operating System Concepts
4.6 Applied Operating System Concepts Process Control Block (PCB) 进程控制块
CPU Switch From Process to Process 进程间cPU的切换 process operating system process P interrupt or system call g save state into PCB e reload state from PCB, nterrupt or system call executing save state into PCB, reload state from PCBo executing Applied Operating System Concepts 4.7
4.7 Applied Operating System Concepts CPU Switch From Process to Process 进程间CPU的切换
Process Scheduling queues 进程调度队列 Job queue-set of all processes in the system 作业队列-在系统中的所有进程的集合 Ready queue- set of all processes residing in main memory, ready and waiting to execute. 就绪队列-在主内存中的,就绪并等待执行的所有进程的集合 Device queues- set of processes waiting for an l/o device. 设备队列等待某一O设备的进程队列 Process migration between the various queues 在各种队列之间进程的迁移 Applied Operating System Concepts 48
4.8 Applied Operating System Concepts Process Scheduling Queues 进程调度队列 • Job queue – set of all processes in the system. 作业队列 - 在系统中的所有进程的集合 • Ready queue – set of all processes residing in main memory, ready and waiting to execute. 就绪队列 - 在主内存中的,就绪并等待执行的所有进程的集合 • Device queues – set of processes waiting for an I/O device. 设备队列 - 等待某一I/O设备的进程队列 Process migration between the various queues. 在各种队列之间进程的迁移
Ready Queue And various lO Device Queues 就绪队列和各种ⅣO设备队列 queue header PCB PCB rea dy head queue tail registers registers mag head tape unit o tail mag head tail PCB PCB,4 PCB disk head unit o ta PCB terminal head unit 0 tal Applied Operating System Concepts
4.9 Applied Operating System Concepts Ready Queue And Various I/O Device Queues 就绪队列和各种I/O设备队列
Representation of Process Scheduling 进程调度的描述 ready queue CPU l/ 1o queue 1O request time slice expired child fork a executes child interrupt wait for an occurs interrupt Applied Operating System Concepts 4.1
4.10 Applied Operating System Concepts Representation of Process Scheduling 进程调度的描述