File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -591,12 +591,13 @@ Deadline Task Scheduling
591
591
592
592
The system wide settings are configured under the /proc virtual file system.
593
593
594
- For now the -rt knobs are used for -deadline admission control and the
595
- -deadline runtime is accounted against the -rt runtime. We realize that this
596
- isn't entirely desirable; however, it is better to have a small interface for
597
- now, and be able to change it easily later. The ideal situation (see 5.) is to
598
- run -rt tasks from a -deadline server; in which case the -rt bandwidth is a
599
- direct subset of dl_bw.
594
+ For now the -rt knobs are used for -deadline admission control and with
595
+ CONFIG_RT_GROUP_SCHED the -deadline runtime is accounted against the (root)
596
+ -rt runtime. With !CONFIG_RT_GROUP_SCHED the knob only serves for the -dl
597
+ admission control. We realize that this isn't entirely desirable; however, it
598
+ is better to have a small interface for now, and be able to change it easily
599
+ later. The ideal situation (see 5.) is to run -rt tasks from a -deadline
600
+ server; in which case the -rt bandwidth is a direct subset of dl_bw.
600
601
601
602
This means that, for a root_domain comprising M CPUs, -deadline tasks
602
603
can be created while the sum of their bandwidths stays below:
Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ The system wide settings are configured under the /proc virtual file system:
92
92
/proc/sys/kernel/sched_rt_runtime_us:
93
93
A global limit on how much time real-time scheduling may use. This is always
94
94
less or equal to the period_us, as it denotes the time allocated from the
95
- period_us for the real-time tasks. Even without CONFIG_RT_GROUP_SCHED enabled,
96
- this will limit time reserved to real-time processes . With
97
- CONFIG_RT_GROUP_SCHED=y it signifies the total bandwidth available to all
98
- real-time groups.
95
+ period_us for the real-time tasks. Without CONFIG_RT_GROUP_SCHED enabled,
96
+ this only serves for admission control of deadline tasks . With
97
+ CONFIG_RT_GROUP_SCHED=y it also signifies the total bandwidth available to
98
+ all real-time groups.
99
99
100
100
* Time is specified in us because the interface is s32. This gives an
101
101
operating range from 1us to about 35 minutes.
You can’t perform that action at this time.
0 commit comments