On Wed, Feb 4, 2009 at 7:25 PM, Martin Toft <m...@martintoft.dk> wrote:
> On Wed, Feb 04, 2009 at 06:47:22PM +0100, Dimitry Andric wrote:
>> Can you please confirm, through "sha1 -t" after each sysctl, whether
>> the CPU performance really goes up and down?
>
> Sorry, I cannot confirm that. The performance does not change at all:

Works right on my system:

root:6# sysctl hw.cpuspeed
hw.cpuspeed=1600
root:7# sha1 -tt
SHA1 time trial.  Processing 100000 10000-byte blocks...
Digest = 02522491d7a8253fcab708560acfa84b2fb7ef1c
Time   = 13.119490 seconds
Speed  = 76222475.111456 bytes/second
root:8# sysctl hw.setperf=0
hw.setperf: 100 -> 0
root:9# sysctl hw.cpuspeed
hw.cpuspeed=800
root:10# sha1 -tt
SHA1 time trial.  Processing 100000 10000-byte blocks...
Digest = 02522491d7a8253fcab708560acfa84b2fb7ef1c
Time   = 26.672662 seconds
Speed  = 37491570.957559 bytes/second
root:11# sysctl hw.setperf=50
hw.setperf: 0 -> 50
root:12# sysctl hw.cpuspeed
hw.cpuspeed=1200
root:13# sha1 -tt
SHA1 time trial.  Processing 100000 10000-byte blocks...
Digest = 02522491d7a8253fcab708560acfa84b2fb7ef1c
Time   = 18.166458 seconds
Speed  = 55046503.836906 bytes/second

root:14# sysctl hw.model
hw.model=Intel(R) Atom(TM) CPU N270 @ 1.60GHz ("GenuineIntel" 686-class)

Without apmd running and with fake table patch by jcs

cheers
-david-

Reply via email to