]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: intel_pstate: EAS: Increase cost for CPUs using L3 cache
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 May 2025 20:47:53 +0000 (22:47 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 May 2025 12:35:25 +0000 (14:35 +0200)
commit05cf8b8c5118479637efe281e5eb98972d3a3386
tree4236da72f6706dcee3ad159017859d0f39ca89a0
parent7b010f9b906107ae4e5ac626329ab818b3f0a6b6
cpufreq: intel_pstate: EAS: Increase cost for CPUs using L3 cache

On some hybrid platforms some efficient CPUs (E-cores) are not connected
to the L3 cache, but there are no other differences between them and the
other E-cores that use L3.  In that case, it is generally more efficient
to run "light" workloads on the E-cores that do not use L3 and allow all
of the cores using L3, including P-cores, to go into idle states.

For this reason, slightly increase the cost for all CPUs sharing the L3
cache to make EAS prefer CPUs that do not use it to the other CPUs of
the same type (if any).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2032776.usQuhbGJ8B@rjwysocki.net
drivers/cpufreq/intel_pstate.c