From: Tejun Heo <tj@kernel.org>
To: Andrea Righi <arighi@nvidia.com>
Cc: David Vernet <void@manifault.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 sched_ext/for-6.13] sched_ext: Do not enable LLC/NUMA optimizations when domains overlap
Date: Thu, 7 Nov 2024 14:58:57 -1000 [thread overview]
Message-ID: <Zy1iUXxJE1qQLIsz@slm.duckdns.org> (raw)
In-Reply-To: <20241108000136.184909-1-arighi@nvidia.com>
On Fri, Nov 08, 2024 at 01:01:36AM +0100, Andrea Righi wrote:
> When the LLC and NUMA domains fully overlap, enabling both optimizations
> in the built-in idle CPU selection policy is redundant, as it leads to
> searching for an idle CPU within the same domain twice.
>
> Likewise, if all online CPUs are within a single LLC domain, LLC
> optimization is unnecessary.
>
> Therefore, detect overlapping domains and enable topology optimizations
> only when necessary.
>
> Moreover, rely on the online CPUs for this detection logic, instead of
> using the possible CPUs.
>
> Fixes: 860a45219bce ("sched_ext: Introduce NUMA awareness to the default idle selection policy")
> Signed-off-by: Andrea Righi <arighi@nvidia.com>
Applied to sched_ext/for-6.13.
Thanks.
--
tejun
next prev parent reply other threads:[~2024-11-08 0:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-08 0:01 Andrea Righi
2024-11-08 0:58 ` Tejun Heo [this message]
2024-11-08 18:17 ` Nathan Chancellor
2024-11-08 18:54 ` Tejun Heo
2024-11-08 19:39 ` Andrea Righi
2024-11-08 19:42 ` Tejun Heo
2024-11-08 19:54 ` Andrea Righi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zy1iUXxJE1qQLIsz@slm.duckdns.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=void@manifault.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®