Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2024 19:57:27 +0300
From:      Anton Shepelev <anton.txt@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cannot seem to throttle individual cores with hwpstate_intel
Message-ID:  <20240718195727.d4f457c37c7e168b62861d4a@gmail.com>
References:  <20240716013741.17158bb56952618f8d748515@gmail.com> <PAVPR08MB9506A442595DFC26FD7FD89EADA32@PAVPR08MB9506.eurprd08.prod.outlook.com>

index | next in thread | previous in thread | raw e-mail

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?



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240718195727.d4f457c37c7e168b62861d4a>