On Mon, Jun 11, 2012 at 05:06:47PM +0000, Christian Weisgerber wrote:
> After boot, hw.setperf and .cpuspeed are wrong on the Soekris
> net6501-70.  hw.cpuspeed claims the box is running at 1600 MHz when
> in fact it starts up at 600 MHz.
> 
> # sysctl hw.{setperf,cpuspeed}
> hw.setperf=100
> hw.cpuspeed=1600
> # md5 -ttt
> MD5 time trial.  Processing 1000000 10000-byte blocks...
> Digest = f0843f04c524250749d014a8152920ec
> Time   = 124.852447 seconds
> Speed  = 80094545.523805 bytes/second
> # 
> # sysctl hw.setperf=0 hw.cpuspeed
> hw.setperf: 100 -> 0
> hw.cpuspeed=600
> # md5 -ttt                        
> MD5 time trial.  Processing 1000000 10000-byte blocks...
> Digest = f0843f04c524250749d014a8152920ec
> Time   = 124.327415 seconds
> Speed  = 80432783.067194 bytes/second
> # 
> # sysctl hw.setperf=100 hw.cpuspeed
> hw.setperf: 0 -> 100
> hw.cpuspeed=1600
> # md5 -ttt                          
> MD5 time trial.  Processing 1000000 10000-byte blocks...
> Digest = f0843f04c524250749d014a8152920ec
> Time   = 46.464512 seconds
> Speed  = 215218014.126566 bytes/second

Now knowing about this I had pointed out this issue to Mitja as he was
mentioning the fairly low network performance for the net6501 and
doing the hw.setperf dance brings the network performance up to fairly
reasonable numbers.

Before:
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   159 MBytes   133 Mbits/sec

After:
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec   453 MBytes   380 Mbits/sec

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to