sched/deadline: fix runtime accounting in documentation
PATCH 1/1 sched/deadline: fix runtime accounting in documentation
Signed-off-by Claudio Scordino <[email protected]>
Signed-off-by Luca Abeni <[email protected]>
--- Documentation/scheduler/sched-deadline.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
Documentation/scheduler/sched-deadline.txt +9 -3
@@ -204,10 +204,16 @@ CONTENTS It does so by decrementing the runtime of the executing task Ti at a pace equal to - dq = -max{ Ui, (1 - Uinact) } dt + dq = -max{ Ui / Umax, (1 - Uinact - Uextra) } dt - where Uinact is the inactive utilization, computed as (this_bq - running_bw), - and Ui is the bandwidth of task Ti. + where: + + - Ui is the bandwidth of task Ti; + - Umax is the maximum reclaimable utilization (subject to RT limits); + - Uinact is the (per runqueue) inactive utilization, computed as + (this_bq - running_bw); + - Uextra is the (per runqueue) extra reclaimable utilization + (subject to RT limits). Let's now see a trivial example of two deadline tasks with runtime equal
Signature · 1 line
2.7.4
Quoted 12 lines · Claudio Scordino
Signed-off-by Claudio Scordino <[email protected]>Signed-off-by Luca Abeni <[email protected]>--- Documentation/scheduler/sched-deadline.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)Documentation/scheduler/sched-deadline.txt +0
-0@@ -204,10 +204,16 @@ CONTENTS It does so by decrementing the runtime of the executing task Ti at a pace equal
Documentation/scheduler/sched-deadline.txt CONTENTS · line 211
Quoted 10 lines
Documentation/scheduler/sched-deadline.txt +4
-3to - dq = -max{ Ui, (1 - Uinact) } dt + dq = -max{ Ui / Umax, (1 - Uinact - Uextra) } dt - where Uinact is the inactive utilization, computed as (this_bq - running_bw), - and Ui is the bandwidth of task Ti. + where: + + - Ui is the bandwidth of task Ti;
Just one very very small addition to make it more clear:
Documentation/scheduler/sched-deadline.txt CONTENTS · line 212
Quoted 1 line
Documentation/scheduler/sched-deadline.txt +1
-0+ - Umax is the maximum reclaimable utilization (subject to RT limits);
^^^^^^^^^^^^^^^^^^^
(subjected to RT Throttling limits)
Anyways,
Quoted 8 lines
Documentation/scheduler/sched-deadline.txt +4
-0+ - Uinact is the (per runqueue) inactive utilization, computed as + (this_bq - running_bw); + - Uextra is the (per runqueue) extra reclaimable utilization + (subject to RT limits). Let's now see a trivial example of two deadline tasks with runtime equal