Project

General

Profile

Actions

Bug #1131

closed

acpi_cpu(4) update

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

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by dillon over 15 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
<>
Actions

Also available in: Atom PDF