Re: [PATCH v2] sched/topology: Enable topology_span_sane check only for debug builds

From: Steve Wahl
Date: Tue Nov 19 2024 - 12:35:24 EST


On Tue, Nov 19, 2024 at 11:54:57AM +0530, K Prateek Nayak wrote:
> (+ Steve)
>
> Hello Saurabh,
> On 11/18/2024 3:09 PM, Saurabh Sengar wrote:
> > On a x86 system under test with 1780 CPUs, topology_span_sane() takes
> > around 8 seconds cumulatively for all the iterations. It is an expensive
> > operation which does the sanity of non-NUMA topology masks.
>
> Steve too was optimizing this path. I believe his latest version can be
> found at:
> https://lore.kernel.org/lkml/20241031200431.182443-1-steve.wahl@xxxxxxx/

Yes, Saurabh, I'd be very interested in whether my current patch
relieves your situation.

Thanks,

--> Steve Wahl


--
Steve Wahl, Hewlett Packard Enterprise