35 PROCESS PRIORITIES AND SCHEDULING 733 35.1
Process Priorities (Nice Values) ................................................................................... 733
35.2
Overview of Realtime Process Scheduling..................................................................... 737
35.2.1
The SCHED_RR Policy ............................................................................... 739
35.2.2
The SCHED_FIFO Policy ............................................................................ 740
35.2.3
The SCHED_BATCH and SCHED_IDLE Policies.................................................. 740
35.3
Realtime Process Scheduling API ................................................................................. 740
35.3.1
Realtime Priority Ranges ........................................................................ 740
35.3.2
Modifying and Retrieving Policies and Priorities........................................ 741
35.3.3
Relinquishing the CPU ........................................................................... 747
35.3.4
The SCHED_RR Time Slice ......................................................................... 747
35.4
CPU Affinity.............................................................................................................. 748
35.5
Summary.................................................................................................................. 751
35.6
Exercises .................................................................................................................. 751
36 PROCESS RESOURCES 753 36.1
Process Resource Usage ............................................................................................. 753
36.2
Process Resource Limits .............................................................................................. 755
36.3
Details of Specific Resource Limits ............................................................................... 760
36.4
Summary.................................................................................................................. 765
36.5
Exercises .................................................................................................................. 765