[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1e3ae52a-0aea-3146-429b-6a0035181b26@gentwo.org>
Date: Wed, 20 Aug 2025 16:44:29 -0700 (PDT)
From: "Christoph Lameter (Ampere)" <cl@...two.org>
To: Sudeep Holla <sudeep.holla@....com>
cc: Jeremy Linton <jeremy.linton@....com>,
Huang Shijie <shijie@...amperecomputing.com>, catalin.marinas@....com,
will@...nel.org, patches@...erecomputing.com,
Shubhang@...amperecomputing.com, krzysztof.kozlowski@...aro.org,
bjorn.andersson@....qualcomm.com, geert+renesas@...der.be, arnd@...db.de,
nm@...com, ebiggers@...nel.org, nfraprado@...labora.com,
prabhakar.mahadev-lad.rj@...renesas.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: defconfig: enable CONFIG_SCHED_CLUSTER
On Mon, 18 Aug 2025, Sudeep Holla wrote:
> > But returning to the original point, its not clear to me that the HW
> > 'cluster' information is really causing the performance boost vs, just
> > having a medium size scheduling domain (aka just picking an arbitrary size
> > 4-16 cores) under MC, or simply 'slicing' a L3 in the PPTT such that the MC
> > domains are smaller, yields the same effect. I've seen a number of cases
> > where 'lying' about the topology yields a better result in a benchmark. This
> > is largely what is happening with these Firmware toggles that move/remove
> > the NUMA domains too. Being able to manually reconfigure some of these
> > scheduling levels at runtime might be useful...
> >
>
> I share your concern and hence completely again representation of any fake
> data in the ACPI topology just to get improved performance. Yes we have seen
> that in the past.
Depends on what you call fake. There are microarchitectural issues
regarding the proximity of the processors that the customer may not know
about and therefore the data provides by the vendor may be considered
"fake". Certainly that is not the case for our processors.
This is a common feature and widely available on other platforms.
There is no need to do anything but enable the functionality. Having a
special version of ACPI for arm64 or a special handling for arm64 does not
make sense.
The ACPI subsystem provides the ability to add blacklists. If a vendor has
problems with their firmward providing data that reduces the performance
and is unable to fix it othereise then the vendor can use that feature to
disable these ACPI features for their platform by submitting a patch.
Please make arm64 work like the other Linux platforms and do not introduce
special handling for ARM64.
Powered by blists - more mailing lists