* [PATCH] sched/deadline: fix runtime accounting in documentation
@ 2017-10-13 10:08 Claudio Scordino
2017-11-13 10:39 ` Daniel Bristot de Oliveira
0 siblings, 1 reply; 2+ messages in thread
From: Claudio Scordino @ 2017-10-13 10:08 UTC (permalink / raw)
To: linux-kernel; +Cc: peterz, Claudio Scordino, Luca Abeni
Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Luca Abeni <luca.abeni@santannapisa.it>
---
Documentation/scheduler/sched-deadline.txt | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/Documentation/scheduler/sched-deadline.txt b/Documentation/scheduler/sched-deadline.txt
index e89e36e..79f40c6 100644
--- a/Documentation/scheduler/sched-deadline.txt
+++ b/Documentation/scheduler/sched-deadline.txt
@@ -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
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sched/deadline: fix runtime accounting in documentation
2017-10-13 10:08 [PATCH] sched/deadline: fix runtime accounting in documentation Claudio Scordino
@ 2017-11-13 10:39 ` Daniel Bristot de Oliveira
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Bristot de Oliveira @ 2017-11-13 10:39 UTC (permalink / raw)
To: Claudio Scordino, linux-kernel; +Cc: peterz, Luca Abeni
On 10/13/2017 12:08 PM, Claudio Scordino wrote:
> Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
> Signed-off-by: Luca Abeni <luca.abeni@santannapisa.it>
> ---
> Documentation/scheduler/sched-deadline.txt | 12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/scheduler/sched-deadline.txt b/Documentation/scheduler/sched-deadline.txt
> index e89e36e..79f40c6 100644
> --- a/Documentation/scheduler/sched-deadline.txt
> +++ b/Documentation/scheduler/sched-deadline.txt
> @@ -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;
Just one very very small addition to make it more clear:
> + - Umax is the maximum reclaimable utilization (subject to RT limits);
^^^^^^^^^^^^^^^^^^^
(subjected to RT Throttling limits)
Anyways,
Acked-by: Daniel Bristot de Oliveira <bristot@redhat.com>
> + - 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-13 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-13 10:08 [PATCH] sched/deadline: fix runtime accounting in documentation Claudio Scordino
2017-11-13 10:39 ` Daniel Bristot de Oliveira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®