Re: Cannot seem to throttle individual cores with hwpstate_intel

From: Anton Shepelev <anton.txt_at_gmail.com>
Date: Thu, 18 Jul 2024 16:57:27 UTC
Alexey Vyskubov:

> this is not how it works for me on i3-12100F (14.1-p2):
>
> for cpu in $(seq 0 7); do sysctl dev.hwpstate_intel.$cpu.epp; sysctl dev.cpu.$cpu.freq; done
> dev.hwpstate_intel.0.epp: 50
> dev.cpu.0.freq: 1450
> dev.hwpstate_intel.1.epp: 50
> dev.cpu.1.freq: 1165
> dev.hwpstate_intel.2.epp: 50
> dev.cpu.2.freq: 1248
> dev.hwpstate_intel.3.epp: 50
> dev.cpu.3.freq: 1152
> dev.hwpstate_intel.4.epp: 50
> dev.cpu.4.freq: 799
> dev.hwpstate_intel.5.epp: 50
> dev.cpu.5.freq: 799
> dev.hwpstate_intel.6.epp: 50
> dev.cpu.6.freq: 799
> dev.hwpstate_intel.7.epp: 100
> dev.cpu.7.freq: 799

Thank you for the test, Alexey.  In your case, the per-core
settings seem to take at least some effect.  Since the load
balancer seems to prioritise cores with lower indices, I
wonder what the same test would show if core 0 instead of
core 7 had an .epp of 100.  Under what kind of load did you
perform your test, and does load affect the frequencies?