Bug #1131

acpi_cpu(4) update

Added by hasso over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

http://leaf.dragonflybsd.org/~hasso/acpi-cpu-update.patch

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
Friday.

PS. There is no acpi_cpu(4) manpage in FreeBSD, we should probably create
a one.

History

#1 Updated by dillon over 6 years ago

:
:http://leaf.dragonflybsd.org/~hasso/acpi-cpu-update.patch
:
: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 ;).
:...
:Hasso Tepper

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.

-Matt
Matthew Dillon
<>

Also available in: Atom PDF