I've seen this before. For some stupid reason you cannot enable the
write cache from the BIOS. What a collegue did is use a linux live CD
with a management program from LSI to enable it. After that all was
OK.
-Otto
quoted text >
> --
> ./Brandon
>
>
> On 7/15/07, Marco Peereboom <slash@peereboom.us> wrote:
> > I bet write cache is disabled. I don't recall if you can enable it in
> > the bios but have a look.
> >
> > On Sun, Jul 15, 2007 at 01:32:25AM +0800, Brandon Lee wrote:
> > > Hi,
> > >
> > > I have a DELL SC440 box with a DELL SAS 5i/R Raid controller.
> > > Installing OpenBSD 4.1 on the box, everything looks good except for
> > > the DELL SAS controller performance.
> > >
> > > Have tried to search the mailling list archive as well as build the
> > > latest current kernel but doesnt help. Attached is the dmesg and
> > > bonie++ test on the RAID 1 virtual disk.
> > >
> > >
> > > --
> > > ./Brandon
> > > Version 1.03 ------Sequential Output------ --Sequential Input-
> > --Random-
> > > -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
> > --Seeks--
> > > Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
> > /sec %CP
> > > puffy.bsdway.n 512M 6893 3 7070 0 6306 1 59161 47 59821 5
> > 144.9 0
> > > ------Sequential Create------ --------Random
> > Create--------
> > > -Create-- --Read--- -Delete-- -Create-- --Read---
> > -Delete--
> > > files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
> > /sec %CP
> > > 16 63 0 +++++ +++ 118 0 59 0 +++++ +++
> > 152 0
> > >
> > puffy.bsdway.net,512M,6893,3,7070,0,6306,1,59161,47,59821,5,144.9,0,16,63,0,+++++,+++,118,0,59,0,+++++,+++,152,0
> > >
> > >
> > >
> > > OpenBSD 4.1 (GENERIC.MP) #1225: Sat Mar 10 19:23:18 MST 2007
> > > deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > > cpu0: Intel(R) Xeon(R) CPU 3050 @ 2.13GHz ("GenuineIntel" 686-class) 2.13
> > 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,EST,TM2,CX16,xTPR
> > > real mem = 1071718400 (1046600K)
> > > avail mem = 970432512 (947688K)
> > > using 4278 buffers containing 53710848 bytes (52452K) of memory
> > > mainbus0 (root)
> > > bios0 at mainbus0: AT/286+ BIOS, date 03/28/07, BIOS32 rev. 0 @ 0xffe90,
> > SMBIOS rev. 2.3 @ 0xf0450 (63 entries)
> > > bios0: Dell Inc. PowerEdge SC440
> > > apm0 at bios0: Power Management spec V1.2
> > > apm0: AC on, battery charge unknown
> > > apm0: flags 30102 dobusy 0 doidle 1
> > > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
> > > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfed10/256 (14 entries)
> > > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801GH LPC" rev 0x00)
> > > pcibios0: PCI bus #6 is the last bus
> > > bios0: ROM list: 0xc0000/0x9000 0xc9000/0x6000 0xcf000/0x800
> > 0xcf800/0x2000! 0xd1800/0x2800
> > > acpi at mainbus0 not configured
> > > mainbus0: Intel MP Specification (Version 1.4)
> > > cpu0 at mainbus0: apid 0 (boot processor)
> > > cpu0: apic clock running at 265 MHz
> > > cpu1 at mainbus0: apid 1 (application processor)
> > > cpu1: Intel(R) Xeon(R) CPU 3050 @ 2.13GHz ("GenuineIntel" 686-class) 2.13
> > 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,EST,TM2,CX16,xTPR
> > > mainbus0: bus 0 is type PCI
> > > mainbus0: bus 1 is type PCI
> > > mainbus0: bus 2 is type PCI
> > > mainbus0: bus 3 is type PCI
> > > mainbus0: bus 4 is type PCI
> > > mainbus0: bus 5 is type PCI
> > > mainbus0: bus 6 is type PCI
> > > mainbus0: bus 7 is type ISA
> > > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
> > > ioapic0: misconfigured as apic 0, remapped to apid 8
> > > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > > pchb0 at pci0 dev 0 function 0 "Intel E7230 MCH" rev 0x00
> > > ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0x00
> > > pci1 at ppb0 bus 1
> > > ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
> > > pci2 at ppb1 bus 2
> > > mpi0 at pci2 dev 8 function 0 "Symbios Logic SAS1068" rev 0x01: apic 8 int
> > 16 (irq 11)
> > > scsibus0 at mpi0: 112 targets
> > > sd0 at scsibus0 targ 0 lun 0: <Dell, VIRTUAL DISK, 1028> SCSI3 0/direct
> > fixed
> > > sd0: 237464MB, 237464 cyl, 16 head, 128 sec, 512 bytes/sec, 486326272 sec
> > total
> > > ppb2 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01
> > > pci3 at ppb2 bus 3
> > > ppb3 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01
> > > pci4 at ppb3 bus 4
> > > ppb4 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01
> > > pci5 at ppb4 bus 5
> > > bge0 at pci5 dev 0 function 0 "Broadcom BCM5754" rev 0x02, BCM5787 A2
> > (0xb002): apic 8 int 17 (irq 10), address 00:1a:a0:25:98:f7
> > > brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
> > > uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 21 (irq 9)
> > > usb0 at uhci0: USB revision 1.0
> > > uhub0 at usb0
> > > uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > > uhub0: 2 ports with 2 removable, self powered
> > > uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 22 (irq 5)
> > > usb1 at uhci1: USB revision 1.0
> > > uhub1 at usb1
> > > uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > > uhub1: 2 ports with 2 removable, self powered
> > > uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 18 (irq 3)
> > > usb2 at uhci2: USB revision 1.0
> > > uhub2 at usb2
> > > uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > > uhub2: 2 ports with 2 removable, self powered
> > > ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 21 (irq 9)
> > > usb3 at ehci0: USB revision 2.0
> > > uhub3 at usb3
> > > uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1
> > > uhub3: 6 ports with 6 removable, self powered
> > > ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xe1
> > > pci6 at ppb5 bus 6
> > > fxp0 at pci6 dev 4 function 0 "Intel 8255x" rev 0x05, i82558: apic 8 int
> > 16 (irq 11), address 00:04:ac:66:7a:ba
> > > inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
> > > vga1 at pci6 dev 7 function 0 "ATI ES1000" rev 0x02
> > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > > ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM
> > disabled
> > > pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
> > channel 0 configured to compatibility, channel 1 configured to compatibility
> > > pciide0: channel 0 ignored (disabled)
> > > pciide0: channel 1 ignored (disabled)
> > > pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA,
> > channel 0 configured to native-PCI, channel 1 configured to native-PCI
> > > pciide1: using apic 8 int 20 (irq 10) for native-PCI interrupt
> > > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 8
> > int 17 (irq 10)
> > > iic0 at ichiic0
> > > isa0 at ichpcib0
> > > isadma0 at isa0
> > > pckbc0 at isa0 port 0x60/5
> > > pckbd0 at pckbc0 (kbd slot)
> > > pckbc0: using irq 1 for kbd slot
> > > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > > pcppi0 at isa0 port 0x61
> > > midi0 at pcppi0: <PC speaker>
> > > spkr0 at pcppi0
> > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> > > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> > > pctr: 686-class user-level performance counters enabled
> > > mtrr: Pentium Pro MTRR support
> > > apm0: disconnected
> > > umass0 at uhub3 port 2 configuration 1 interface 0
> > > umass0: HLDS Inc. Super Multi Rewriter, rev 2.00/0.00, addr 2
> > > umass0: using SCSI over Bulk-Only
> > > scsibus1 at umass0: 2 targets
> > > cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GSA-E10N, JE07> SCSI0
> > 5/cdrom removable
> > > uhidev0 at uhub0 port 1 configuration 1 interface 0
> > > uhidev0: vendor 0x0b38 USB-compliant keyboard, rev 1.10/1.00, addr 2,
> > iclass 3/1
> > > ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> > > wskbd1 at ukbd0 mux 1
> > > wskbd1: connecting to wsdisplay0
> > > uhidev1 at uhub0 port 1 configuration 1 interface 1
> > > uhidev1: vendor 0x0b38 USB-compliant keyboard, rev 1.10/1.00, addr 2,
> > iclass 3/1
> > > uhidev1: 6 report ids
> > > uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
> > > uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
> > > uhid2 at uhidev1 reportid 4: input=1, output=0, feature=0
> > > ums0 at uhidev1 reportid 5: 0 buttons and Z dir.
> > > wsmouse0 at ums0 mux 0
> > > uhid3 at uhidev1 reportid 6: input=3, output=0, feature=0
> > > dkcsum: sd0 matches BIOS drive 0x80
> > > root on sd0a
> > > rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
> > > Version 1.03 ------Sequential Output------ --Sequential Input-
> > --Random-
> > > -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
> > --Seeks--
> > > Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
> > /sec %CP
> > > puffy.bsdway.n 512M 1875 1 1858 0 1673 0 58919 48 58766 6
> > 158.3 0
> > > ------Sequential Create------ --------Random
> > Create--------
> > > -Create-- --Read--- -Delete-- -Create-- --Read---
> > -Delete--
> > > files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
> > /sec %CP
> > > 16 61 0 +++++ +++ 118 0 60 0 +++++ +++
> > 156 0
> > >
> > puffy.bsdway.net,512M,1875,1,1858,0,1673,0,58919,48,58766,6,158.3,0,16,61,0,+++++,+++,118,0,60,0,+++++,+++,156,0
> > >
> > >
> > >
> > >
> > > OpenBSD 4.1-current (GENERIC.MP) #0: Sat Jul 14 22:15:08 SGT 2007
> > > root@puffy.bsdway.net:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > > cpu0: Intel(R) Xeon(R) CPU 3050 @ 2.13GHz ("GenuineIntel" 686-class) 2.13
> > 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,EST,TM2,CX16,xTPR
> > > real mem = 1071718400 (1022MB)
> > > avail mem = 1028628480 (980MB)
> > > mainbus0 at root
> > > bios0 at mainbus0: AT/286+ BIOS, date 03/28/07, BIOS32 rev. 0 @ 0xffe90,
> > SMBIOS rev. 2.3 @ 0xf0450 (63 entries)
> > > bios0: Dell Inc. PowerEdge SC440
> > > apm0 at bios0: Power Management spec V1.2
> > > apm0: AC on, battery charge unknown
> > > apm0: flags 30102 dobusy 0 doidle 1
> > > pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
> > > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfed10/256 (14 entries)
> > > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801GH LPC" rev 0x00)
> > > pcibios0: PCI bus #6 is the last bus
> > > bios0: ROM list: 0xc0000/0x9000 0xc9000/0x6000 0xcf000/0x800
> > 0xcf800/0x2000! 0xd1800/0x2800
> > > mainbus0: Intel MP Specification (Version 1.4)
> > > cpu0 at mainbus0: apid 0 (boot processor)
> > > cpu0: apic clock running at 266 MHz
> > > cpu1 at mainbus0: apid 1 (application processor)
> > > cpu1: Intel(R) Xeon(R) CPU 3050 @ 2.13GHz ("GenuineIntel" 686-class) 2.13
> > 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,EST,TM2,CX16,xTPR
> > > mainbus0: bus 0 is type PCI
> > > mainbus0: bus 1 is type PCI
> > > mainbus0: bus 2 is type PCI
> > > mainbus0: bus 3 is type PCI
> > > mainbus0: bus 4 is type PCI
> > > mainbus0: bus 5 is type PCI
> > > mainbus0: bus 6 is type PCI
> > > mainbus0: bus 7 is type ISA
> > > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
> > > ioapic0: misconfigured as apic 0, remapped to apid 8
> > > cpu0: Enhanced SpeedStep disabled by BIOS
> > > pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
> > > pchb0 at pci0 dev 0 function 0 "Intel E7230 MCH" rev 0x00
> > > ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0x00
> > > pci1 at ppb0 bus 1
> > > ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
> > > pci2 at ppb1 bus 2
> > > mpi0 at pci2 dev 8 function 0 "Symbios Logic SAS1068" rev 0x01: apic 8 int
> > 16 (irq 11)
> > > scsibus0 at mpi0: 112 targets
> > > sd0 at scsibus0 targ 0 lun 0: <Dell, VIRTUAL DISK, 1028> SCSI3 0/direct
> > fixed
> > > sd0: 237464MB, 237464 cyl, 16 head, 128 sec, 512 bytes/sec, 486326272 sec
> > total
> > > ppb2 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01
> > > pci3 at ppb2 bus 3
> > > ppb3 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01
> > > pci4 at ppb3 bus 4
> > > ppb4 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01
> > > pci5 at ppb4 bus 5
> > > bge0 at pci5 dev 0 function 0 "Broadcom BCM5754" rev 0x02, BCM5754/5787 A2
> > (0xb002): apic 8 int 17 (irq 10), address 00:1a:a0:25:98:f7
> > > brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
> > > uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 21 (irq 9)
> > > uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 22 (irq 5)
> > > uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 18 (irq 3)
> > > ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int
> > 21 (irq 9)
> > > usb0 at ehci0: USB revision 2.0
> > > uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
> > > ppb5 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xe1
> > > pci6 at ppb5 bus 6
> > > fxp0 at pci6 dev 4 function 0 "Intel 8255x" rev 0x05, i82558: apic 8 int
> > 16 (irq 11), address 00:04:ac:66:7a:ba
> > > inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
> > > vga1 at pci6 dev 7 function 0 "ATI ES1000" rev 0x02
> > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > > ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM
> > disabled
> > > pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA,
> > channel 0 configured to compatibility, channel 1 configured to compatibility
> > > pciide0: channel 0 ignored (disabled)
> > > pciide0: channel 1 ignored (disabled)
> > > pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA,
> > channel 0 configured to native-PCI, channel 1 configured to native-PCI
> > > pciide1: using apic 8 int 20 (irq 10) for native-PCI interrupt
> > > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 8
> > int 17 (irq 10)
> > > iic0 at ichiic0
> > > usb1 at uhci0: USB revision 1.0
> > > uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > > usb2 at uhci1: USB revision 1.0
> > > uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > > usb3 at uhci2: USB revision 1.0
> > > uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
> > > isa0 at ichpcib0
> > > isadma0 at isa0
> > > pckbc0 at isa0 port 0x60/5
> > > pckbd0 at pckbc0 (kbd slot)
> > > pckbc0: using irq 1 for kbd slot
> > > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > > pcppi0 at isa0 port 0x61
> > > midi0 at pcppi0: <PC speaker>
> > > spkr0 at pcppi0
> > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> > > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> > > pctr: 686-class user-level performance counters enabled
> > > mtrr: Pentium Pro MTRR support
> > > apm0: disconnected
> > > umass0 at uhub0 port 2 configuration 1 interface 0
> > > umass0: HLDS Inc. Super Multi Rewriter, rev 2.00/0.00, addr 2
> > > umass0: using SCSI over Bulk-Only
> > > scsibus1 at umass0: 2 targets
> > > cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GSA-E10N, JE07> SCSI0
> > 5/cdrom removable
> > > uhidev0 at uhub1 port 1 configuration 1 interface 0
> > > uhidev0: vendor 0x0b38 USB-compliant keyboard, rev 1.10/1.00, addr 2,
> > iclass 3/1
> > > ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> > > wskbd1 at ukbd0 mux 1
> > > wskbd1: connecting to wsdisplay0
> > > uhidev1 at uhub1 port 1 configuration 1 interface 1
> > > uhidev1: vendor 0x0b38 USB-compliant keyboard, rev 1.10/1.00, addr 2,
> > iclass 3/1
> > > uhidev1: 6 report ids
> > > uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
> > > uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
> > > uhid2 at uhidev1 reportid 4: input=1, output=0, feature=0
> > > ums0 at uhidev1 reportid 5: 0 buttons and Z dir.
> > > wsmouse0 at ums0 mux 0
> > > uhid3 at uhidev1 reportid 6: input=3, output=0, feature=0
> > > new disklabel raw disk size different 486319617 != 486326272
> > > new disklabel raw disk offset different 63 != 343597383680
> > > dkcsum: sd0 matches BIOS drive 0x80
> > > root on sd0a swap on sd0b dump on sd0b
> > > new disklabel raw disk size different 486319617 != 486326272
> > > new disklabel raw disk offset different 63 != 343597383680
> > > new disklabel raw disk size different 486319617 != 486326272
> > > new disklabel raw disk offset different 63 != 343597383680
> > > new disklabel raw disk size different 486319617 != 486326272
> > > new disklabel raw disk offset different 63 != 343597383680