>Synopsis: hw.setperf=-700 by default on Dell C5220
>Category: kernel
>Environment:
System : OpenBSD 5.5
Details : OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar 5 09:37:46 MST
2014
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
hw.setperf is set to -700 by default on a Dell PowerEdge C5220.
Reading its explicit value makes it change to 0.
This doesn't appear to cause any problem, but I'm not sure it should
be a negative number which behaves this way, so I'd rather report
it just in case. Sorry if it's just noise.
>How-To-Repeat:
$ sysctl hw
hw.machine=amd64
hw.model=Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:7155bdc4ed0cb7c2
hw.diskcount=1
hw.sensors.cpu0.temp0=47.00 degC
hw.sensors.cpu1.temp0=47.00 degC
hw.sensors.cpu2.temp0=47.00 degC
hw.sensors.cpu3.temp0=47.00 degC
hw.sensors.acpitz0.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz1.temp0=29.80 degC (zone temperature)
hw.sensors.acpibtn1.indicator0=On (lid open)
hw.cpuspeed=3093
hw.setperf=-700
hw.vendor=Dell Inc.
hw.product=PowerEdge C5220
hw.version=A00
hw.serialno=8494P02
hw.uuid=44454c4c-3400-1039-8034-b8c04f503032
hw.physmem=7736758272
hw.usermem=7736733696
hw.ncpufound=4
hw.allowpowerdown=1
$ md5 -ttt
MD5 time trial. Processing 1000000 10000-byte blocks...
Digest = f0843f04c524250749d014a8152920ec
Time = 17.610930 seconds
Speed = 567829183.353747 bytes/second
$ sysctl hw.setperf
hw.setperf=0
$ sysctl hw
hw.machine=amd64
hw.model=Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:7155bdc4ed0cb7c2
hw.diskcount=1
hw.sensors.cpu0.temp0=47.00 degC
hw.sensors.cpu1.temp0=47.00 degC
hw.sensors.cpu2.temp0=47.00 degC
hw.sensors.cpu3.temp0=47.00 degC
hw.sensors.acpitz0.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz1.temp0=29.80 degC (zone temperature)
hw.sensors.acpibtn1.indicator0=On (lid open)
hw.cpuspeed=3100
hw.setperf=0
hw.vendor=Dell Inc.
hw.product=PowerEdge C5220
hw.version=A00
hw.serialno=8494P02
hw.uuid=44454c4c-3400-1039-8034-b8c04f503032
hw.physmem=7736758272
hw.usermem=7736733696
hw.ncpufound=4
hw.allowpowerdown=1
$ md5 -ttt
MD5 time trial. Processing 1000000 10000-byte blocks...
Digest = f0843f04c524250749d014a8152920ec
Time = 17.610329 seconds
Speed = 567848562.056961 bytes/second
$ sudo sysctl hw.setperf=100
hw.setperf: 0 -> 100
$ sysctl
hw.machine=amd64
hw.model=Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:7155bdc4ed0cb7c2
hw.diskcount=1
hw.sensors.cpu0.temp0=46.00 degC
hw.sensors.cpu1.temp0=46.00 degC
hw.sensors.cpu2.temp0=46.00 degC
hw.sensors.cpu3.temp0=46.00 degC
hw.sensors.acpitz0.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz1.temp0=29.80 degC (zone temperature)
hw.sensors.acpibtn1.indicator0=On (lid open)
hw.cpuspeed=3101
hw.setperf=100
hw.vendor=Dell Inc.
hw.product=PowerEdge C5220
hw.version=A00
hw.serialno=8494P02
hw.uuid=44454c4c-3400-1039-8034-b8c04f503032
hw.physmem=7736758272
hw.usermem=7736733696
hw.ncpufound=4
hw.allowpowerdown=1
$ md5 -ttt
MD5 time trial. Processing 1000000 10000-byte blocks...
Digest = f0843f04c524250749d014a8152920ec
Time = 16.545982 seconds
Speed = 604376337.409288 bytes/second
>Fix:
Unknown.
dmesg:
OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar 5 09:37:46 MST 2014
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7736758272 (7378MB)
avail mem = 7522197504 (7173MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xebe40 (46 entries)
bios0: vendor Dell Inc. version "2.1.0" date 07/30/2013
bios0: Dell Inc. PowerEdge C5220
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S5
acpi0: tables DSDT FACP APIC MCFG HPET SSDT PRAD SPMI SSDT SSDT SSDT SSDT SPCR
BGRT
acpi0: wakeup devices PCIB(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3)
USB6(S3) USB7(S3) PEGP(S3) PEG0(S3) PEG1(S3) PEG2(S3) PEG3(S3) GLAN(S3)
EHC1(S3) EHC2(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3093.49 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.97 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.97 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz, 3092.97 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (PCIB)
acpiprt2 at acpi0: bus 1 (PEG0)
acpiprt3 at acpi0: bus 2 (PEG1)
acpiprt4 at acpi0: bus -1 (PEG2)
acpiprt5 at acpi0: bus -1 (PEG3)
acpiec0 at acpi0: Failed to read resource settings
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 106 degC
acpitz1 at acpi0: critical temperature is 106 degC
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: LID0
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 3093 MHz: speeds: 3101, 3100 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Xeon E3-1200 v2 Host" rev 0x09
ppb0 at pci0 dev 1 function 0 "Intel Core 3G PCIE" rev 0x09: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 1 function 1 "Intel Core 3G PCIE" rev 0x09: msi
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel 82580" rev 0x01: msi, address XXX
em1 at pci2 dev 0 function 1 "Intel 82580" rev 0x01: msi, address XXX
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
vendor "Intel", unknown product 0x1c3b (class communications subclass
miscellaneous, rev 0x04) at pci0 dev 22 function 1 not configured
ehci0 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5
pci3 at ppb2 bus 3
vga1 at pci3 dev 11 function 0 "ASPEED Technology AST2000" rev 0x10
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel C204 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 2 lun 0: <ATA, WDC WD5003ABYX-1, 01.0> SCSI3 0/direct
fixed naa.50014ee003b14a4c
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x05: apic 2 int 18
iic0 at ichiic0
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com1: probed fifo depth: 1 bytes
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
uhub1 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub2 at uhub1 port 3 "American Megatrends Inc. Generic Hub" rev 2.00/1.00 addr
3
uhidev0 at uhub2 port 1 configuration 1 interface 0 "American Megatrends Inc.
Virtual Keyboard and Mouse" rev 2.00/1.00 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub2 port 1 configuration 1 interface 1 "American Megatrends Inc.
Virtual Keyboard and Mouse" rev 2.00/1.00 addr 4
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (7155bdc4ed0cb7c2.a) swap on sd0b dump on sd0b