Add webgui control options for Intel Speed Shift
pfSense 23.01 and 2.7 supports Intel Speed Shift by default via the hwpstate_intel(4) driver.
This enables hardware CPU P-state control for CPUs that support it. Generally anything Gen 6 or newer.
It's enabled by default and overrides OS P-state control, powerd, so users upgrading experience unexpected CPU clock frequency.
We should add a gui toggle for the loader value: hint.hwpstate_intel.0.disabled
That might want to be selectable instead of powerd.
By default it sets the performance preference to 50 but we should probably allow setting that in the gui via the per core sysctl: dev.hwpstate_intel.%d.epp
In practice higher values like 80 or 90 seem to more accurately reflect what powerd at high-adv does. However Speed Shift is able to switch far faster so it's expected the instantaneous CPU clock speed would be different.
Updated by riva geeza about 2 months ago
This affected myself, on my newly built appliance the gui displayed Intel(R) Celeron(R) N5105 @ 2.00GHz
Current: 2608 MHz, Max: 1996 MHz
It was enough to make me question whether or not the hardware was faulty.
I've had to set the values to 98 in my case to stop the CPU frequency from going crazy, and since doing so my CPU temps have dropped by 6 degrees.
Updated by Jim Pingle about 2 months ago
- Has duplicate Feature #14251: Add option to disable Intel Speed Shift so that Intel Speed Step can kick in added
Updated by Jim Pingle 27 days ago
- Plus Target Version changed from 23.05 to 23.09