[acpi-jp 2878] Re: ACPI throttling changes
Nate Lawson
nate at root.org
Thu Dec 11 17:02:45 PST 2003
On Fri, 12 Dec 2003, Lukas Ertl wrote:
> On Thu, 11 Dec 2003, Nate Lawson wrote:
>
> > On Tue, 9 Dec 2003, Nate Lawson wrote:
> > >
> > > sysctl hw.acpi.cpu.current_speed=X
> > >
> > > dd if=/dev/zero bs=1m count=500 | md5
> > >
> > Haven't gotten any responses to this yet. Would someone who has working
> > throttling support apply the patch and test that they can indeed change
> > throttling through the sysctl listed above?
>
> Well, seems to work, but I'm not sure if it works correctly:
>
> # sysctl hw.acpi.cpu.current_speed=8
> # dd if=/dev/zero bs=1m count=500 | md5
> 524288000 bytes transferred in 10.128099 secs (51765687 bytes/sec)
>
> # sysctl hw.acpi.cpu.current_speed=4
> # dd if=/dev/zero bs=1m count=500 | md5
> 524288000 bytes transferred in 12.186178 secs (43023169 bytes/sec)
>
> # sysctl hw.acpi.cpu.current_speed=1
> # dd if=/dev/zero bs=1m count=500 | md5
> 524288000 bytes transferred in 12.127831 secs (43230154 bytes/sec)
Send the output of sysctl hw.acpi.cpu. You may only have two
throttling states (as shown by hw.acpi.cpu.max_speed).
-Nate
More information about the freebsd-current
mailing list