CPU Scheduling Algorithms (1)
1) Long Term Scheduler
RAM -> CPU
2) Short Term Scheduler
Disk -> RAM
3) Medium Term Scheduler
if RAM is FULL:
decide what process changed(swaped?)
RAM -> Disk
context switch
various times related to a process
1) arrival time
RAM -> CPU arrival time
2) burst time (also called execution time)
3) completion time
4) turn-around time
arrival time to completion time
=> (completion time) - (arrival time)
5) waiting time
Turn-around time = (burst time) + (i/o time) + (waiting time)
6) response time
later...
7) I/O time
'OS' 카테고리의 다른 글
CPU Scheduling Algorithms (3) (0) | 2021.12.05 |
---|---|
CPU Scheduling Algorithms (2) (0) | 2021.11.28 |
Operating System Concepts (0) | 2021.11.25 |
Introduction to Operating Systems (0) | 2021.11.25 |