Re: Slow IO in PowerEdge R200 X3330 2.66Ghz 2x3MB Cache.

2010-02-24 Thread Tomas Bodzar
I think, that someone told to you that you must use current ;-)

Anyway here you can find something about AHCI and SATA
http://en.wikipedia.org/wiki/Serial_ATA If you don't have option to
turn AHCI on in your BIOS then you may have problems. If you will read
this
http://www.openbsd.org/cgi-bin/man.cgi?query=ahciapropos=0sektion=0manpath
=OpenBSD+Currentarch=i386format=html
then you will know that AHCI simulate SCSCI and that's why your disk
will be sd then.

On Wed, Feb 24, 2010 at 3:46 AM, Andres Salazar ndrsslz...@gmail.com wrote:
 Hello,

 I believe that these disks are SATA II

(http://www.seagate.com/ww/v/index.jsp?vgnextoid=6278576e14ee9110VgnVCM10
 f5ee0a0aRCRD)
 and thus would always fall under wd driver as per the man page.

 I believe that sd is for scsi only. Is this assumption correct?

 Andres

 On Tue, Feb 23, 2010 at 3:36 PM, Marco Peereboom sl...@peereboom.us
wrote:
 Your disks are still wd so io sucks. B Use -current.

 On Tue, Feb 23, 2010 at 03:22:28PM -0600, Andres Salazar wrote:
 Hello,

 I had a R201 running in 4.6 i386 stable..I was told this configuration
 was very new.. so I got a new box this time its a PowerEdge is R200
 without any special PCI SATA controller. With 2 SATA II Hard Disks.
 BIOS Sata setting is set to be B in ATA Mode (its either this or OFF).

 Either after all this change, and a clean install the IO is 55%
 greater then all my other machines. For example a userland recompile
 takes 55min , vrs the same proc and ram on another box is 35 min.

 Below is my dmesg.. which I dont see any flag?? Possibly there must be
 some incompatibility with the hard disk?

 OpenBSD 4.6-stable (GENERIC-13-12-09.MP) #0: Tue Feb 23 16:08:43 CST 2010
 B  B 
r...@bazz.my.domain:/usr/src/sys/arch/i386/compile/GENERIC-13-12-09.MP
 cpu0: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 GHz
 cpu0:

FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
 X16,xTPR
 real mem B = 3487866880 (3326MB)
 avail mem = 3383250944 (3226MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 05/15/09, BIOS32 rev. 0 @
 0xfac90, SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
 bios0: vendor Dell Inc. version 1.4.3 date 05/15/2009
 bios0: Dell Inc. PowerEdge R200
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT
 EINJ SSDT SSDT SSDT SSDT SSDT
 acpi0: wakeup devices PCI0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 333MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 GHz
 cpu1:

FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
 X16,xTPR
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 GHz
 cpu2:

FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
 X16,xTPR
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 GHz
 cpu3:

FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
 X16,xTPR
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEX1)
 acpiprt2 at acpi0: bus 2 (SBE0)
 acpiprt3 at acpi0: bus 3 (SBE4)
 acpiprt4 at acpi0: bus 4 (SBE5)
 acpiprt5 at acpi0: bus 5 (COMP)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpicpu2 at acpi0: PSS
 acpicpu3 at acpi0: PSS
 bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800
 0xec000/0x4000!
 ipmi at mainbus0 not configured
 cpu0: Enhanced SpeedStep 2667 MHz: speeds: 2667, 2333, 2000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01
 ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 4
 int 16 (irq 15)
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 4
 int 16 (irq 15)
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
 pci3 at ppb2 bus 3
 bge0 at pci3 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 16 (irq 15), address 00:25:64:3c:7f:8c
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
 pci4 at ppb3 bus 4
 bge1 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 17 (irq 14), address 00:25:64:3c:7f:8d
 

Slow IO in PowerEdge R200 X3330 2.66Ghz 2x3MB Cache.

2010-02-23 Thread Andres Salazar
Hello,

I had a R201 running in 4.6 i386 stable..I was told this configuration
was very new.. so I got a new box this time its a PowerEdge is R200
without any special PCI SATA controller. With 2 SATA II Hard Disks.
BIOS Sata setting is set to be  in ATA Mode (its either this or OFF).

Either after all this change, and a clean install the IO is 55%
greater then all my other machines. For example a userland recompile
takes 55min , vrs the same proc and ram on another box is 35 min.

Below is my dmesg.. which I dont see any flag?? Possibly there must be
some incompatibility with the hard disk?

OpenBSD 4.6-stable (GENERIC-13-12-09.MP) #0: Tue Feb 23 16:08:43 CST 2010
r...@bazz.my.domain:/usr/src/sys/arch/i386/compile/GENERIC-13-12-09.MP
cpu0: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
cpu0: 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 3487866880 (3326MB)
avail mem = 3383250944 (3226MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/15/09, BIOS32 rev. 0 @
0xfac90, SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
bios0: vendor Dell Inc. version 1.4.3 date 05/15/2009
bios0: Dell Inc. PowerEdge R200
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT
EINJ SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 333MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
cpu1: 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
cpu2: 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
cpu3: 
FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEX1)
acpiprt2 at acpi0: bus 2 (SBE0)
acpiprt3 at acpi0: bus 3 (SBE4)
acpiprt4 at acpi0: bus 4 (SBE5)
acpiprt5 at acpi0: bus 5 (COMP)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xec000/0x4000!
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 2667 MHz: speeds: 2667, 2333, 2000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 4
int 16 (irq 15)
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 4
int 16 (irq 15)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
pci3 at ppb2 bus 3
bge0 at pci3 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
(0x4201): apic 4 int 16 (irq 15), address 00:25:64:3c:7f:8c
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
pci4 at ppb3 bus 4
bge1 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
(0x4201): apic 4 int 17 (irq 14), address 00:25:64:3c:7f:8d
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 4
int 21 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 4
int 20 (irq 10)
uhci2 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 4
int 21 (irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801I USB rev 0x02: apic 4
int 21 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x92
pci5 at ppb4 bus 5
vga1 at pci5 dev 5 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 4 int 19 (irq 5)
drm0 at radeondrm0
ichpcib0 at pci0 dev 31 function 0 Intel 82801IR LPC rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 2 Intel 82801I SATA rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 4 int 23 (irq 6) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: ST3250310NS
wd0: 16-sector 

Re: Slow IO in PowerEdge R200 X3330 2.66Ghz 2x3MB Cache.

2010-02-23 Thread Marco Peereboom
Your disks are still wd so io sucks.  Use -current.

On Tue, Feb 23, 2010 at 03:22:28PM -0600, Andres Salazar wrote:
 Hello,
 
 I had a R201 running in 4.6 i386 stable..I was told this configuration
 was very new.. so I got a new box this time its a PowerEdge is R200
 without any special PCI SATA controller. With 2 SATA II Hard Disks.
 BIOS Sata setting is set to be  in ATA Mode (its either this or OFF).
 
 Either after all this change, and a clean install the IO is 55%
 greater then all my other machines. For example a userland recompile
 takes 55min , vrs the same proc and ram on another box is 35 min.
 
 Below is my dmesg.. which I dont see any flag?? Possibly there must be
 some incompatibility with the hard disk?
 
 OpenBSD 4.6-stable (GENERIC-13-12-09.MP) #0: Tue Feb 23 16:08:43 CST 2010
 r...@bazz.my.domain:/usr/src/sys/arch/i386/compile/GENERIC-13-12-09.MP
 cpu0: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
 cpu0: 
 FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
 real mem  = 3487866880 (3326MB)
 avail mem = 3383250944 (3226MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 05/15/09, BIOS32 rev. 0 @
 0xfac90, SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
 bios0: vendor Dell Inc. version 1.4.3 date 05/15/2009
 bios0: Dell Inc. PowerEdge R200
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT
 EINJ SSDT SSDT SSDT SSDT SSDT
 acpi0: wakeup devices PCI0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 333MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
 cpu1: 
 FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
 cpu2: 
 FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 GHz
 cpu3: 
 FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEX1)
 acpiprt2 at acpi0: bus 2 (SBE0)
 acpiprt3 at acpi0: bus 3 (SBE4)
 acpiprt4 at acpi0: bus 4 (SBE5)
 acpiprt5 at acpi0: bus 5 (COMP)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpicpu2 at acpi0: PSS
 acpicpu3 at acpi0: PSS
 bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xec000/0x4000!
 ipmi at mainbus0 not configured
 cpu0: Enhanced SpeedStep 2667 MHz: speeds: 2667, 2333, 2000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01
 ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 4
 int 16 (irq 15)
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 4
 int 16 (irq 15)
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
 pci3 at ppb2 bus 3
 bge0 at pci3 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 16 (irq 15), address 00:25:64:3c:7f:8c
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
 pci4 at ppb3 bus 4
 bge1 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 17 (irq 14), address 00:25:64:3c:7f:8d
 brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 uhci0 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 4
 int 21 (irq 11)
 uhci1 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 4
 int 20 (irq 10)
 uhci2 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 4
 int 21 (irq 11)
 ehci0 at pci0 dev 29 function 7 Intel 82801I USB rev 0x02: apic 4
 int 21 (irq 11)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb4 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x92
 pci5 at ppb4 bus 5
 vga1 at pci5 dev 5 function 0 ATI ES1000 rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 4 int 19 (irq 5)
 drm0 at radeondrm0
 ichpcib0 at pci0 dev 31 function 0 Intel 82801IR LPC rev 0x02: PM disabled
 pciide0 at pci0 dev 31 function 2 Intel 82801I 

Re: Slow IO in PowerEdge R200 X3330 2.66Ghz 2x3MB Cache.

2010-02-23 Thread Andres Salazar
Hello,

I believe that these disks are SATA II
(http://www.seagate.com/ww/v/index.jsp?vgnextoid=6278576e14ee9110VgnVCM10
f5ee0a0aRCRD)
and thus would always fall under wd driver as per the man page.

I believe that sd is for scsi only. Is this assumption correct?

Andres

On Tue, Feb 23, 2010 at 3:36 PM, Marco Peereboom sl...@peereboom.us wrote:
 Your disks are still wd so io sucks.  Use -current.

 On Tue, Feb 23, 2010 at 03:22:28PM -0600, Andres Salazar wrote:
 Hello,

 I had a R201 running in 4.6 i386 stable..I was told this configuration
 was very new.. so I got a new box this time its a PowerEdge is R200
 without any special PCI SATA controller. With 2 SATA II Hard Disks.
 BIOS Sata setting is set to be  in ATA Mode (its either this or OFF).

 Either after all this change, and a clean install the IO is 55%
 greater then all my other machines. For example a userland recompile
 takes 55min , vrs the same proc and ram on another box is 35 min.

 Below is my dmesg.. which I dont see any flag?? Possibly there must be
 some incompatibility with the hard disk?

 OpenBSD 4.6-stable (GENERIC-13-12-09.MP) #0: Tue Feb 23 16:08:43 CST 2010
 r...@bazz.my.domain:/usr/src/sys/arch/i386/compile/GENERIC-13-12-09.MP
 cpu0: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67
GHz
 cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
X16,xTPR
 real mem  = 3487866880 (3326MB)
 avail mem = 3383250944 (3226MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 05/15/09, BIOS32 rev. 0 @
 0xfac90, SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
 bios0: vendor Dell Inc. version 1.4.3 date 05/15/2009
 bios0: Dell Inc. PowerEdge R200
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT
 EINJ SSDT SSDT SSDT SSDT SSDT
 acpi0: wakeup devices PCI0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 333MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67
GHz
 cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
X16,xTPR
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67
GHz
 cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
X16,xTPR
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67
GHz
 cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C
X16,xTPR
 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEX1)
 acpiprt2 at acpi0: bus 2 (SBE0)
 acpiprt3 at acpi0: bus 3 (SBE4)
 acpiprt4 at acpi0: bus 4 (SBE5)
 acpiprt5 at acpi0: bus 5 (COMP)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpicpu2 at acpi0: PSS
 acpicpu3 at acpi0: PSS
 bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800
0xec000/0x4000!
 ipmi at mainbus0 not configured
 cpu0: Enhanced SpeedStep 2667 MHz: speeds: 2667, 2333, 2000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01
 ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 4
 int 16 (irq 15)
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 4
 int 16 (irq 15)
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
 pci3 at ppb2 bus 3
 bge0 at pci3 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 16 (irq 15), address 00:25:64:3c:7f:8c
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
 pci4 at ppb3 bus 4
 bge1 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 17 (irq 14), address 00:25:64:3c:7f:8d
 brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 uhci0 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 4
 int 21 (irq 11)
 uhci1 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 4
 int 20 (irq 10)
 uhci2 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 4
 int 21 (irq 11)
 ehci0 at pci0 dev 29 function 7 Intel 82801I USB rev 0x02: apic 4
 int 21 (irq 11)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb4 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x92
 pci5 at ppb4 bus 5
 

Re: Slow IO in PowerEdge R200 X3330 2.66Ghz 2x3MB Cache.

2010-02-23 Thread Marco Peereboom
On Tue, Feb 23, 2010 at 08:46:57PM -0600, Andres Salazar wrote:
 Hello,
 
 I believe that these disks are SATA II
 (http://www.seagate.com/ww/v/index.jsp?vgnextoid=6278576e14ee9110VgnVCM10f5ee0a0aRCRD)
 and thus would always fall under wd driver as per the man page.
 
 I believe that sd is for scsi only. Is this assumption correct?

it isn't and arguing with me isn't going to get you anywhere

 
 Andres
 
 On Tue, Feb 23, 2010 at 3:36 PM, Marco Peereboom sl...@peereboom.us wrote:
  Your disks are still wd so io sucks. ?Use -current.
 
  On Tue, Feb 23, 2010 at 03:22:28PM -0600, Andres Salazar wrote:
  Hello,
 
  I had a R201 running in 4.6 i386 stable..I was told this configuration
  was very new.. so I got a new box this time its a PowerEdge is R200
  without any special PCI SATA controller. With 2 SATA II Hard Disks.
  BIOS Sata setting is set to be ?in ATA Mode (its either this or OFF).
 
  Either after all this change, and a clean install the IO is 55%
  greater then all my other machines. For example a userland recompile
  takes 55min , vrs the same proc and ram on another box is 35 min.
 
  Below is my dmesg.. which I dont see any flag?? Possibly there must be
  some incompatibility with the hard disk?
 
  OpenBSD 4.6-stable (GENERIC-13-12-09.MP) #0: Tue Feb 23 16:08:43 CST 2010
  ? ? r...@bazz.my.domain:/usr/src/sys/arch/i386/compile/GENERIC-13-12-09.MP
  cpu0: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 
  GHz
  cpu0: 
  FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
  real mem ?= 3487866880 (3326MB)
  avail mem = 3383250944 (3226MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 05/15/09, BIOS32 rev. 0 @
  0xfac90, SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
  bios0: vendor Dell Inc. version 1.4.3 date 05/15/2009
  bios0: Dell Inc. PowerEdge R200
  acpi0 at bios0: rev 2
  acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT
  EINJ SSDT SSDT SSDT SSDT SSDT
  acpi0: wakeup devices PCI0(S5)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: apic clock running at 333MHz
  cpu1 at mainbus0: apid 1 (application processor)
  cpu1: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 
  GHz
  cpu1: 
  FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
  cpu2 at mainbus0: apid 2 (application processor)
  cpu2: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 
  GHz
  cpu2: 
  FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
  cpu3 at mainbus0: apid 3 (application processor)
  cpu3: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class) 2.67 
  GHz
  cpu3: 
  FPU,V86,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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
  ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
  ioapic0: misconfigured as apic 0, remapped to apid 4
  acpihpet0 at acpi0: 14318179 Hz
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 1 (PEX1)
  acpiprt2 at acpi0: bus 2 (SBE0)
  acpiprt3 at acpi0: bus 3 (SBE4)
  acpiprt4 at acpi0: bus 4 (SBE5)
  acpiprt5 at acpi0: bus 5 (COMP)
  acpicpu0 at acpi0: PSS
  acpicpu1 at acpi0: PSS
  acpicpu2 at acpi0: PSS
  acpicpu3 at acpi0: PSS
  bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 
  0xec000/0x4000!
  ipmi at mainbus0 not configured
  cpu0: Enhanced SpeedStep 2667 MHz: speeds: 2667, 2333, 2000 MHz
  pci0 at mainbus0 bus 0: configuration mode 1 (bios)
  pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01
  ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 4
  int 16 (irq 15)
  pci1 at ppb0 bus 1
  ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 4
  int 16 (irq 15)
  pci2 at ppb1 bus 2
  ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
  pci3 at ppb2 bus 3
  bge0 at pci3 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
  (0x4201): apic 4 int 16 (irq 15), address 00:25:64:3c:7f:8c
  brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
  ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
  pci4 at ppb3 bus 4
  bge1 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
  (0x4201): apic 4 int 17 (irq 14), address 00:25:64:3c:7f:8d
  brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
  uhci0 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 4
  int 21 (irq 11)
  uhci1 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 4
  int 20 (irq 10)
  uhci2 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 4
  int 21 (irq 11)
  ehci0 at pci0 dev