Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2005 19:11:35 +0100
From:      Morten Rodal <morten@rodal.no>
To:        Nate Lawson <nate@root.org>
Cc:        current@freebsd.org
Subject:   Re: HEADSUP: cpufreq import complete, acpi_throttling changed
Message-ID:  <200502191911.36228.morten@rodal.no>
In-Reply-To: <42068A5C.1030300@root.org>
References:  <42068A5C.1030300@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 06 February 2005 22:21, Nate Lawson wrote:
> If you have throttling, please test the new configuration to be sure it
> still works as before.  Final upcoming work will be manpage support and
> bugfixing as necessary.
>

Throttling used to work on my Dell Inspiron 8200, but with the new 
cpufreq/acpi_perf I only get errors when trying to set a new cpu 
frequency, like this:

# sysctl dev.cpu.0.freq=1200
acpi_perf0: Px transition to 1200 failed
acpi_perf0: set freq failed, err 6

Regardless of what value I use, it either says 'Px transition to 1200 
failed' or 'Px transition to 1700 failed.'

Here's more info from various sysctl's:

# sysctl hw.acpi.cpu
hw.acpi.cpu.cx_supported: C1/0 C2/50
hw.acpi.cpu.cx_lowest: C2
hw.acpi.cpu.cx_usage: 0.00% 100.00%

# sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU (2 Cx states)
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 1700
dev.cpu.0.freq_levels: 1700/0 1487/0 1275/0 1200/0 1062/0 900/0 850/0 
750/0 637/0 600/0 450/0 425/0 300/0 212/0 150/0

If I remember correctly the old interface said something about 8 
throttling states ranging from 12.X% to 100%, but I seem to have many 
more freq_levels now?

The CPU is a Pentium 4 Mobile 1.7GHz

# dmesg | grep -i cpu
CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1695.01-MHz 686-class CPU)
cpu0: <ACPI CPU (2 Cx states)> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
acpi_throttle0: <ACPI CPU Throttling> on cpu0

-- 
Morten Rodal

"A supercomputer is a device for turning compute-bound
 problems into I/O bound problems." -- Ken Batcher (Goodyear Aerospace)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502191911.36228.morten>