process scheduling

Types of Scheduling

PROCESS SCHEDULING

higher-level scheduler

first encounter for job/program

job scheduling responsibilities

job initiation based on certain criteria

function

determines which ob will get CPU resource

decides when to interrupt processing

determines which queues for job movement during execution

recognizes job conclusion

JOB SCHEDULING

lower-level scheduler

process scheduling responsibilities

determines execution steps

process sheduling based on certain criteria

functions

selects incoming job from queue

places jobs in process queue

decides on job initiation criteria

Goal

sequence jobs

balance I/O interaction and computation

keep most system components busy most of time

Job 5 States

HOLD

READY

WAITING

RUNNING

FINISHED

Process Control Blocks(PCB)