I recently upgraded from 13.sth to 14.1 and
I'm 99% sure everything was working as expected before. In any case, after the upgrade there is a significant difference in CPU usage, temps, and battery life, on the same hardware, with the same configuration.
Here is some more info:
CPU is Intel i7-2620M
When trying to run powerd, either from /etc/rc.conf or command line, I get:
Note, cpu_freq is no longer listed, as it was before.
/etc/rc.conf:
/boot/loader.conf:
returns nothing
powerd
no longer seems to work, and sysctl
no longer shows cpu freq_levels.I'm 99% sure everything was working as expected before. In any case, after the upgrade there is a significant difference in CPU usage, temps, and battery life, on the same hardware, with the same configuration.
Here is some more info:
CPU is Intel i7-2620M
uname -a
Code:
FreeBSD laptop 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
When trying to run powerd, either from /etc/rc.conf or command line, I get:
Code:
powerd: no cpufreq(4) support -- aborting: No such file or directory
sysctl dev.cpu.0
:
Code:
dev.cpu.0.cx_method: C1/hlt C2/io C3/io
dev.cpu.0.cx_usage_counters: 281375 152013 962748
dev.cpu.0.cx_usage: 20.15% 10.88% 68.95% last 2644us
dev.cpu.0.cx_lowest: C8
dev.cpu.0.cx_supported: C1/1/1 C2/2/80 C3/3/109
dev.cpu.0.temperature: 62.0C
dev.cpu.0.coretemp.throttle_log: 0
dev.cpu.0.coretemp.tjmax: 100.0C
dev.cpu.0.coretemp.resolution: 1
dev.cpu.0.coretemp.delta: 38
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
Note, cpu_freq is no longer listed, as it was before.
sysctl dev.cpu |grep cx
Code:
1: dev.cpu.3.cx_method: C1/hlt C2/io C3/io
2: dev.cpu.3.cx_usage_counters: 148339 90030 1233404
3: dev.cpu.3.cx_usage: 10.07% 6.11% 83.80% last 502us
4: dev.cpu.3.cx_lowest: C8
5: dev.cpu.3.cx_supported: C1/1/1 C2/2/80 C3/3/109
16: dev.cpu.2.cx_method: C1/hlt C2/io C3/io
17: dev.cpu.2.cx_usage_counters: 151495 93605 1296169
18: dev.cpu.2.cx_usage: 9.82% 6.07% 84.09% last 416us
19: dev.cpu.2.cx_lowest: C8
20: dev.cpu.2.cx_supported: C1/1/1 C2/2/80 C3/3/109
31: dev.cpu.1.cx_method: C1/hlt C2/io C3/io
32: dev.cpu.1.cx_usage_counters: 166438 124837 1235125
33: dev.cpu.1.cx_usage: 10.90% 8.17% 80.91% last 123us
34: dev.cpu.1.cx_lowest: C8
35: dev.cpu.1.cx_supported: C1/1/1 C2/2/80 C3/3/109
46: dev.cpu.0.cx_method: C1/hlt C2/io C3/io
47: dev.cpu.0.cx_usage_counters: 320786 172055 1294190
48: dev.cpu.0.cx_usage: 17.95% 9.62% 72.42% last 405us
49: dev.cpu.0.cx_lowest: C8
50: dev.cpu.0.cx_supported: C1/1/1 C2/2/80 C3/3/109
dmesg | grep -i features
Code:
CPU: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (2691.33-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x206a7 Family=0x6 Model=0x2a Stepping=7
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
/etc/rc.conf:
Code:
# powerd
powerd_enable="YES
powerd_flags="-a hiadaptive -b adaptive -n hiadaptive -N"
/boot/loader.conf:
Code:
acpi_ibm_load="YES"
acpi_video_load="YES"
coretemp_load="YES"
kldstat | grep cpu
:returns nothing
kldload cpufreq.ko
:
Code:
kldload: can't load cpufreq.ko: module already loaded or in kernel
grep cpu /var/run/dmesg.boot
:
Code:
40: cpu0: <ACPI CPU> on acpi0
118: coretemp0: <CPU On-Die Thermal Sensors> on cpu0
119: est0: <Enhanced SpeedStep Frequency Control> on cpu0
121: est: cpu_vendor GenuineIntel, msr 194c00000800
124: est: cpu_vendor GenuineIntel, msr 194c00000800
127: est: cpu_vendor GenuineIntel, msr 194c00000800
130: est: cpu_vendor GenuineIntel, msr 194c00000800