Batch System
202308201925
Status: #idea
Tags: OS
Batch System
- Very simple to implement
- Jobs come in order, and execute till completion
Decision Points
- Job departure (i.e. job completion)
- If the CPU is idle, job arrival
Example
| Arrival time | Job ID | Time requirements |
|---|---|---|
| 0 | J1 | 8CPU, 4I/O, 3CPU |
| 1 | J2 | 5CPU, 5I/O, 9 CPU |
| 2 | J3 | 2CPU, 2I/O, 6CPU |
flowchart LR J1\n0-15 --- J2\n15-34 --- J3\n34-44