dev.cpu.0.temperature: 45.0Cdev.cpu.0.coretemp.throttle_log: 0dev.cpu.0.coretemp.tjmax: 100.0Cdev.cpu.0.coretemp.resolution: 1dev.cpu.0.coretemp.delta: 55dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwcdev.cpu.0.cx_usage_counters: 313694 0 0dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 335usdev.cpu.0.cx_lowest: C1dev.cpu.0.cx_supported: C1/1/1 C2/2/151 C3/3/256dev.cpu.0.freq_levels: 2100/-1dev.cpu.0.freq: 2914dev.cpu.0.%parent: acpi0dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=nonedev.cpu.0.%location: handle=\_PR_.CPU0dev.cpu.0.%driver: cpudev.cpu.0.%desc: ACPI CPU
I can confirm this even with 22.7. PowerD doesn't seem to work at all.
dev.cpu.0.temperature: 57.0Cdev.cpu.0.coretemp.throttle_log: 0dev.cpu.0.coretemp.tjmax: 96.0Cdev.cpu.0.coretemp.resolution: 1dev.cpu.0.coretemp.delta: 38dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwcdev.cpu.0.cx_usage_counters: 36741498 0dev.cpu.0.cx_usage: 100.00% 0.00% last 96usdev.cpu.0.cx_lowest: C1dev.cpu.0.cx_supported: C1/1/1 C2/2/50dev.cpu.0.freq_levels: 2000/0 1900/0 1800/0 1700/0 1600/0 1500/0 1400/0 1300/0 1200/0 1100/0 1000/0 900/0 800/0dev.cpu.0.freq: 800dev.cpu.0.%parent: acpi0dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=nonedev.cpu.0.%location: handle=\_PR_.CPU0dev.cpu.0.%driver: cpudev.cpu.0.%desc: ACPI CPU
dev.cpu.0.temperature: 53.0Cdev.cpu.0.coretemp.throttle_log: 0dev.cpu.0.coretemp.tjmax: 105.0Cdev.cpu.0.coretemp.resolution: 1dev.cpu.0.coretemp.delta: 52dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwcdev.cpu.0.cx_usage_counters: 10643 0 0dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 134usdev.cpu.0.cx_lowest: C1dev.cpu.0.cx_supported: C1/1/1 C2/2/253 C3/3/1048dev.cpu.0.freq_levels: 1996/-1dev.cpu.0.freq: 2096dev.cpu.0.%parent: acpi0dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=nonedev.cpu.0.%location: handle=\_SB_.PR00dev.cpu.0.%driver: cpudev.cpu.0.%desc: ACPI CPU
dev.cpu.0.temperature: 35.0Cdev.cpu.0.coretemp.throttle_log: 1dev.cpu.0.coretemp.tjmax: 100.0Cdev.cpu.0.coretemp.resolution: 1dev.cpu.0.coretemp.delta: 65dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwcdev.cpu.0.cx_usage_counters: 139656250 0 0dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 94usdev.cpu.0.cx_lowest: C1dev.cpu.0.cx_supported: C1/1/1 C2/2/151 C3/3/1034dev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 795dev.cpu.0.%parent: acpi0dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=nonedev.cpu.0.%location: handle=\_SB_.PR00dev.cpu.0.%driver: cpu
At a glance however it seems the cpu or bios is not reporting scaling frequencies available.
dev.cpu.0.freq_levels: 2000/0 1900/0 1800/0 1700/0 1600/0 1500/0 1400/0 1300/0 1200/0 1100/0 1000/0 900/0 800/0
dev.cpu.0.freq_levels: 2000/-1
man hwpstate_intel
dmesg | grep hwpstate_intehwpstate_intel0: <Intel Speed Shift> on cpu0hwpstate_intel1: <Intel Speed Shift> on cpu1hwpstate_intel2: <Intel Speed Shift> on cpu2hwpstate_intel3: <Intel Speed Shift> on cpu3hwpstate_intel4: <Intel Speed Shift> on cpu4hwpstate_intel5: <Intel Speed Shift> on cpu5hwpstate_intel6: <Intel Speed Shift> on cpu6hwpstate_intel7: <Intel Speed Shift> on cpu7
sysctl dev.cpufreq.0.freq_driverdev.cpufreq.0.freq_driver: hwpstate_intel0
sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 795
I found this that suggest Speedstep should just work? https://forum.opnsense.org/index.php?topic=26590.0
hint.hwpstate_intel.0.disabled
dev.hwpstate_intel.0.epp 100
Quote from: Taunt9930 on August 15, 2022, 11:32:04 pmI found this that suggest Speedstep should just work? https://forum.opnsense.org/index.php?topic=26590.0Mind the little details: SpeedStep & SpeedShift, the latter is the shiny new thing supported by hwpstate_intel. I don't have a recent Intel CPU in reach, but you can try to completly disable hwpstate (and hope the "legacy" cpufreq drivers kick in that should be supported by PowerD)From the man page:Tunable: (0=enabled, 1=disabled)Code: [Select]hint.hwpstate_intel.0.disabledOr tweak hwpstate from it's default "performance" (0) to "efficient" (100) so it lowers its base clockCode: [Select]dev.hwpstate_intel.0.epp 100SpeedShift should be controlled by the CPU itself instead of PowerD in that case
dev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 795
dev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 795root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 894root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 795root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 894root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 894root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 894root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 2508root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 894root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 795root@LushBrain:~ # sysctl dev.cpu.0.freq_levels dev.cpu.0.freqdev.cpu.0.freq_levels: 2000/-1dev.cpu.0.freq: 4082
Well, that's not what's happening here with an Intel Celeron N5105 system:Code: [Select]dev.cpu.0.temperature: 53.0Cdev.cpu.0.coretemp.throttle_log: 0dev.cpu.0.coretemp.tjmax: 105.0Cdev.cpu.0.coretemp.resolution: 1dev.cpu.0.coretemp.delta: 52dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc C3/mwait/hwcdev.cpu.0.cx_usage_counters: 10643 0 0dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 134usdev.cpu.0.cx_lowest: C1dev.cpu.0.cx_supported: C1/1/1 C2/2/253 C3/3/1048dev.cpu.0.freq_levels: 1996/-1dev.cpu.0.freq: 2096dev.cpu.0.%parent: acpi0dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=nonedev.cpu.0.%location: handle=\_SB_.PR00dev.cpu.0.%driver: cpudev.cpu.0.%desc: ACPI CPUIt has nothing to do with the BIOS settings because the same settings are used for the other ...sense system which is able to throttle the CPU below 2 GHz. I would have expected an opposing result because the other system is based on FreeBSD 12.3 while OPNsense 22.7 is using FreeBSD 13.1 and the Intel Celeron N5105 (Jasper Lake) is still quite new given its release in 2021.