CS537 9/21
Brief CPU Virtualization Mechanism => Limited Direct Execution Policy => Scheduling Q) How to build a scheduling policy? Memory Virtualization Scheduling Metric #1: Turnaround Time ($T_{completes} - T_{arrives}$) “Run to completion” FIFO (FCFS) Bad (Short jobs stuck behind long jobs) SJF Process does not all arrive at $T_0$ STCF (Shortest Time to Completion First) “Generalized” SJF Metric #2: Response Time: ($T_{firstruns} - T_{arrives}$) Round Robin ABCABC….ABC (Switch frequently) Time Slice (Quantum): Multiple of how often Timer goes off “Real” Scheduler Don’t know job length (How to learn?...