The scheduler picks which ready process runs next on a CPU; the dispatcher then performs the context switch and gives it the CPU.
Metrics: CPU utilization (keep the CPU busy), throughput (processes completed per unit time), turnaround time (completion minus arrival), waiting time (time spent in the ready queue = turnaround minus burst time), and response time (arrival to first run).
Interactive systems care most about response time; batch systems about throughput and turnaround.
Loading…