Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2003 17:02:44 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Lukas Ertl <l.ertl@univie.ac.at>
Cc:        current@freebsd.org
Subject:   Re: [acpi-jp 2878] Re: ACPI throttling changes
Message-ID:  <20031211170144.Q51376@root.org>
In-Reply-To: <20031212013059.M599@korben.in.tern>
References:  <20031209175230.I44055@root.org> <20031211141205.X50937@root.org> <20031212013059.M599@korben.in.tern>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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