lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 15 Nov 2017 11:34:23 +0100
From:   Peter Zijlstra <peterz@...radead.org>
To:     Claudio Scordino <claudio@...dence.eu.com>
Cc:     linux-kernel@...r.kernel.org,
        Luca Abeni <luca.abeni@...tannapisa.it>,
        Jonathan Corbet <corbet@....net>,
        Ingo Molnar <mingo@...hat.com>, linux-doc@...r.kernel.org,
        Tommaso Cucinotta <tommaso.cucinotta@...up.it>,
        Mathieu Poirier <mathieu.poirier@...aro.org>
Subject: Re: [PATCH v2] sched/deadline: fix runtime accounting in
 documentation

On Tue, Nov 14, 2017 at 12:19:26PM +0100, Claudio Scordino wrote:
> Signed-off-by: Claudio Scordino <claudio@...dence.eu.com>
> Signed-off-by: Luca Abeni <luca.abeni@...tannapisa.it>
> Acked-by: Daniel Bristot de Oliveira <bristot@...hat.com>
> CC: Jonathan Corbet <corbet@....net>
> CC: "Peter Zijlstra (Intel)" <peterz@...radead.org>
> CC: Ingo Molnar <mingo@...hat.com>
> CC: linux-doc@...r.kernel.org
> Cc: Tommaso Cucinotta <tommaso.cucinotta@...up.it>
> Cc: Mathieu Poirier <mathieu.poirier@...aro.org>

ACK, Ingo can you route this?

> ---
>  Documentation/scheduler/sched-deadline.txt | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/scheduler/sched-deadline.txt b/Documentation/scheduler/sched-deadline.txt
> index e89e36e..8ce78f8 100644
> --- a/Documentation/scheduler/sched-deadline.txt
> +++ b/Documentation/scheduler/sched-deadline.txt
> @@ -204,10 +204,17 @@ 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 (subjected to RT throttling
> +    limits);
> +  - Uinact is the (per runqueue) inactive utilization, computed as
> +    (this_bq - running_bw);
> +  - Uextra is the (per runqueue) extra reclaimable utilization
> +    (subjected to RT throttling limits).
>  
>  
>   Let's now see a trivial example of two deadline tasks with runtime equal
> -- 
> 2.7.4
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ