Re: Cache-aware scheduling does not work well with amd big/little cores

From: Tim Chen

Date: Wed Sep 23 2026 - 19:48:09 EST


On Wed, 2026-09-16 at 16:52 +0200, Klaus Kusche wrote:
> I don't know what your last patch does (does it dynamically disable
> cache aware scheduling on big/little CPU's?),
> but it makes my two build tests running at almost the same speed
> on a kernel with cache aware scheduling
> compared to a kernel without cache aware scheduling,
> which means it is rougly 2 % faster
> than earlier cache aware scheduling kernels.
>
> Just by looking at the core bar graph,
> I also didn't see any obviously misplaced processes.

Hi Klaus,

I wonder if you can try this alternate patch to Chen Yu's.
This patch does not require turning off cache aware scheduling
entirely as in the previous patch when using the asym packing
mechanism to prioritize big core.

Hopefully it will have a similar effect to restore performance
on your tests.

Thanks.

Tim