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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZSPfMjuOC5dTkx5i@gmail.com>
Date:   Mon, 9 Oct 2023 13:08:34 +0200
From:   Ingo Molnar <mingo@...nel.org>
To:     Shrikanth Hegde <sshegde@...ux.vnet.ibm.com>
Cc:     mingo@...hat.com, peterz@...radead.org, vincent.guittot@...aro.org,
        vschneid@...hat.com, dietmar.eggemann@....com,
        linux-kernel@...r.kernel.org, qperret@...gle.com,
        srikar@...ux.vnet.ibm.com, pierre.gondois@....com,
        yu.c.chen@...el.com, tim.c.chen@...ux.intel.com, pauld@...hat.com,
        lukasz.luba@....com, linux-doc@...r.kernel.org
Subject: Re: [PATCH v6 1/2] sched/topology: Remove EM_MAX_COMPLEXITY limit


* Shrikanth Hegde <sshegde@...ux.vnet.ibm.com> wrote:

> From: Pierre Gondois <Pierre.Gondois@....com>
> 
> The Energy Aware Scheduler (EAS) estimates the energy consumption
> of placing a task on different CPUs. The goal is to minimize this
> energy consumption. Estimating the energy of different task placements
> is increasingly complex with the size of the platform. To avoid having
> a slow wake-up path, EAS is only enabled if this complexity is low
> enough.

...

> To reflect this improvement, remove the EAS complexity check.
> Note that a limit on the number of CPUs still holds against
> EM_MAX_NUM_CPUS to avoid overflows during the energy estimation.
> 
> Signed-off-by: Pierre Gondois <Pierre.Gondois@....com>
> Reviewed-by: Lukasz Luba <lukasz.luba@....com>
> Reviewed-by: Dietmar Eggemann <dietmar.eggemann@....com>
> ---
>  Documentation/scheduler/sched-energy.rst | 29 ++----------------
>  kernel/sched/topology.c                  | 39 ++----------------------
>  2 files changed, 6 insertions(+), 62 deletions(-)

I've applied this patch to tip:sched/core, for a v6.7 merge, thanks!

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ