Basic Concepts

因為 multiprogramming 所以才要 scheduling。

CPU-I/O burst cycle

→ 東西要嘛在 CPU 要嘛在 I/O

Untitled

CPU Scheduler

Ready state → Running state

Untitled

下面都假設是 single core,只有單一隻程式

Preemptive vs. Non-preemptive