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


OpenBSD 5.1-current (GENERIC) #1: Mon Jun 11 03:46:41 CEST 2012
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2146304000 (2046MB)
avail mem = 2066907136 (1971MB)
mainbus0 at root
bios0 at mainbus0
acpi at bios0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Genuine Intel(R) CPU @ 1.60GHz, 1600.24 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
mpbios0: bus 0 is type PCI   
mpbios0: bus 64 is type ISA   
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0612101906000612
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1600, 600 MHz
[...]
-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to