The key ones seem to be from mine:
Enable PL1 and set at 10000
Enable PL2 and set at 12000
Enable C-states
Enable acoustic noise reduction
Set PECI to off
Enable turbo (it’s fine once you’ve got proper settings)
Enable Speedstep
Set ACPI as auto
Then if you’re using pfSense, and I assume OPNSense, that use FreeBSD you will need a few tunables and a loader.conf.local file
Tunables:
Code:
hw.acpi.cpu.cx_lowest=C3
dev.cpu.0.cx_lowest=C3
dev.cpu.1.cx_lowest=C3
dev.cpu.2.cx_lowest=C3
dev.cpu.3.cx_lowest=C3
System, Advanced, Misc
Turn on PowerD, and set to Adaptive to start off for all states.
Create/edit a /boot/loader.conf.local file
Add the following
Code:
machdep.hwpstate_pkg_ctrl=0
Reboot, then go to the console again and type in
You should see output like
Code:
dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwc
dev.cpu.0.cx_usage_counters: 14779023 15122084 1
dev.cpu.0.cx_usage: 49.42% 50.57% 0.00% last 254us
dev.cpu.0.cx_lowest: C3
dev.cpu.0.cx_supported: C1/1/1 C2/2/253 C3/3/1048
dev.cpu.0.freq_levels: 2001/10000 2000/10000 1900/9392 1800/8795 1700/8211 1600/7639 1500/7078 1400/6530 1300/5992 1200/5466 1100/4951 1000/4447 900/3955 800/3473
dev.cpu.0.freq: 800
dev.cpu.0.temperature: 39.0C
dev.cpu.0.coretemp.throttle_log: 0
dev.cpu.0.coretemp.tjmax: 105.0C
dev.cpu.0.coretemp.resolution: 1
dev.cpu.0.coretemp.delta: 66
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none
dev.cpu.0.%location: handle=\_SB_.PR00
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
You can see with that and the repasting etc, it’s happily sitting at 39C.