The patch brings in the latest acpi_cpu(4) code from FreeBSD adapted for
DragonFly and our (old) acpica. This allows modern CPUs to use higher C
states than C1 which as result makes a laptops with these CPUs run MUCH
cooler (tested and measured ;).
There is a drawback though - it removes acpi cpu frequency throttling - it
wasn't usable though anyway on modern CPUs (it effectively slowed down my
dual core cpu without _any_ effect to power usage and temperature ;).
I'll probably work on brining it back at some point, but it's not my
highest priority for now. So, unless someone shouts that acpi cpu
throttling is absolutely necessary for him, I'll commit this patch in
PS. There is no acpi_cpu(4) manpage in FreeBSD, we should probably create
#1 Updated by dillon over 6 years ago
:The patch brings in the latest acpi_cpu(4) code from FreeBSD adapted for
:DragonFly and our (old) acpica. This allows modern CPUs to use higher C
:states than C1 which as result makes a laptops with these CPUs run MUCH
:cooler (tested and measured ;).
This looks great, Hasso. I agree re: ACPI-based power handling. It
never worked right and isn't used for SMP anyway (there is no working
idle hook for SMP). A framework based on load and explicit throttling,
instead of idle-throttling, is the better way to go anyway.