RE: [PATCH] cpufreq: Use a non-boost reference frequency for pressure calculation

From: Jianyong Wu

Date: Mon Sep 21 2026 - 04:58:58 EST




On Fri, Sep 18, 2026, Rafael J. Wysocki wrote:
> So actually the problem is that now the pressure is applied when it is not
> expected to be applied in general.
>
Yes.

> Clearly, the scheduler assumes that the pressure will be zero when
> arch_scale_freq_ref() is zero and the commit in question violates that
> assumption.
>
> This actually has a little to do with boost and making it depend on boost
> doesn't really help. In fact, the reason for making the change was some
> inadequate behavior when intel_pstate ran with asym capacity, so
> something
> like the patch below (completely untested) can be used to limit the scope
> of it to the case in question.
>
> Can you please check if it helps?

Yes it helps.

I tested it on Hygon and an AMD system using acpi-cpufreq. The cpu
pressure is zero again, and cache aware scheduling can once more
aggregate tasks up to 50% of the LLC capacity, as it did before
d2d5c129d07e.

Tested-by: Jianyong Wu <wujianyong@xxxxxxxx>

Thanks
Jianyong