Abstract
- Required in an OS that has multiple Process (进程) that want to run at the same, like in the Multi-programming or Multi-tasking systems. Because Process (进程) unlike Thread will give up its CPU for other Process (进程)
Components
Process Priority
- A value that determines which Process (进程) should get executed first
Process Scheduler
- A program that perform Context Switch of Process (进程) based on the Process Priority
- Linux uses CFS
Terminologies
Niceness
- An parameter that can be used to adjust the Process Priority for the Process Scheduler
-20
is most not nice19
is most nice- Command to adjust niceness -
renice