If you don't mind me chiming in, my disks arn't nearly as slow, but I
expected them to be faster. Can anybody make a recommendation to
improve my disk i/o, or confirm the speeds I get are about right? This
is the first machine I've had thats U320 SCSI-capable.

raid0 is a mirror of two scsi disks:
/dev/raid0o on /home type ffs (local, nodev, nosuid, softdep)
$ time dd if=/dev/zero of=/home/dingo/output bs=1m count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 28.528 secs (37636934 bytes/sec)
    0m29.03s real     0m0.00s user     0m2.64s system

raid1 is a stripe of two ide disks:
/dev/raid1a on /storage type ffs (NFS exported, local, nodev, nosuid, softdep)
$ time dd if=/dev/zero of=/storage/private/dingo/output bs=1m count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 28.787 secs (37298405 bytes/sec)
    0m28.83s real     0m0.00s user     0m3.34s system
$

sd0a non-raidframe:
/dev/sd0a on / type ffs (local, softdep)
$ sudo time dd if=/dev/zero of=/output bs=1m count=256
256+0 records in
256+0 records out
268435456 bytes transferred in 5.481 secs (48966898 bytes/sec)
        5.73 real         0.00 user         0.80 sys
$

I am using a U320 cable and U320-capable enclosure, as well as
U320-capable card onboard. Is this the sort of speeds I should be
getting? sd0 and sd1 are 15K rpm IBM's (IC35L018UCPR15-0), free of bad
sectors, dmesg:

This is a raidframe-enabled GENERIC kernel with uhid and uhidev disabled.

OpenBSD 3.8-stable (GENERIC.MP_RAID) #0: Sat Mar  4 13:37:09 EST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP_RAID
cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,C
NXT-ID
real mem  = 536387584 (523816K)
avail mem = 482054144 (470756K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 04/27/04, BIOS32 rev. 0 @ 0xf0010
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf4ee0/208 (11 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x25a1
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x1800
0xca800/0x9a00 0xdc000/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (INTEL    SE7210TP10  )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199 MHz
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 ISA
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 3 pa 0xfec10000, version 20, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev 0x02
ppb0 at pci0 dev 3 function 0 "Intel 82875P PCI-CSA" rev 0x02
pci1 at ppb0 bus 1
em0 at pci1 dev 1 function 0 "Intel PRO/1000CT (82547GI)" rev 0x00:
apic 2 int 18 (irq 5), address: 00:04:23:b5:19:36
ppb1 at pci0 dev 28 function 0 "Intel 6300ESB PCIX" rev 0x02
pci2 at ppb1 bus 2
ahd0 at pci2 dev 1 function 0 "Adaptec AIC-7901 U320" rev 0x10: apic 3
int 3 (irq 9)
aic7901: U320 Wide Channel A, SCSI Id=7, PCI-X 50-66Mhz, 512 SCBs
scsibus0 at ahd0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <, , S7Z0> SCSI3 0/direct fixed
sd0: 17501MB, 14532 cyl, 8 head, 308 sec, 512 bytes/sec, 35843670 sec total
sd1 at scsibus0 targ 1 lun 0: <, , S7Z0> SCSI3 0/direct fixed
sd1: 17501MB, 14532 cyl, 8 head, 308 sec, 512 bytes/sec, 35843670 sec total
safte0 at scsibus0 targ 6 lun 0: <SUPER, GEM318, 0> SCSI2 3/processor fixed
uhci0 at pci0 dev 29 function 0 "Intel 6300ESB USB" rev 0x02: apic 2
int 16 (irq 7)
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 5300ESB USB" rev 0x02: apic 2
int 19 (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
"Intel 6300ESB WDT" rev 0x02 at pci0 dev 29 function 4 not configured
"Intel 6300ESB APIC" rev 0x02 at pci0 dev 29 function 5 not configured
ehci0 at pci0 dev 29 function 7 "Intel 6300ESB USB" rev 0x02: apic 2
int 23 (irq 9)
ehci0: timed out waiting for BIOS
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
ppb2 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x0a
pci3 at ppb2 bus 3
vga1 at pci3 dev 0 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp0 at pci3 dev 1 function 0 "Intel 82557" rev 0x10, i82551: apic 2
int 17 (irq 9), address 00:04:23:b5:19:37
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
eap0 at pci3 dev 2 function 0 "Ensoniq CT5880" rev 0x04: apic 2 int 16 (irq 7)
ac97: codec id 0x83847608 (SigmaTel STAC9708/11)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0
midi0 at eap0: <AudioPCI MIDI UART>
ichpcib0 at pci0 dev 31 function 0 "Intel 6300ESB LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 6300ESB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to co
mpatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD800BB-00JHC0>
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1 at pciide0 channel 1 drive 0: <WDC WD800BB-00JHC0>
wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
atapiscsi0 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVDRRW GSA-4166B, 1.00> SCSI0
5/cdrom removable
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
"Intel 6300ESB SMBus" rev 0x02 at pci0 dev 31 function 3 not configured
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask 0 netmask 0 ttymask 0
ioapic0: pin 16 shares different IPL interrupts (40..90), degraded performance
pctr: user-level cycle counter enabled
Kernelized RAIDframe activated
ahd0: target 0 synchronous with period = 0x9, offset = 0x3f(DT)
dkcsum: sd0 matches BIOS drive 0x80
ahd0: target 1 synchronous with period = 0x9, offset = 0x3f(DT)
dkcsum: sd1 matches BIOS drive 0x83
dkcsum: wd0 matches BIOS drive 0x82
dkcsum: wd1 matches BIOS drive 0x81
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
uhub3 at uhub0 port 2
uhub3: Genesys Logic USB Hub, rev 1.01/0.12, addr 2
uhub3: 4 ports with 4 removable, self powered
ugen0 at uhub1 port 2
ugen0: American Power Conversion Back-UPS XS 900 FW:9.o1 .D USB FW:o1,
rev 1.10/1.06, addr 2
raid0: Component /dev/sd1d being configured at row: 0 col: 0
         Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 2006021600 Mod Counter: 2348
         Clean: Yes Status: 0
raid0: Component /dev/sd0d being configured at row: 0 col: 1
         Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 2006021600 Mod Counter: 2348
         Clean: Yes Status: 0
raid0 (root)raid1: Component /dev/wd0d being configured at row: 0 col: 0
         Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 2006021800 Mod Counter: 695
         Clean: Yes Status: 0
raid1: Component /dev/wd1d being configured at row: 0 col: 1
         Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
         Version: 2 Serial Number: 2006021800 Mod Counter: 695
         Clean: Yes Status: 0
raid1 (root)

Also, I have more disks of the same specs offline in case of a
failure. If I wanted increased speed on my system fs's, would a
raidframe raid5 do me any better?

On 3/13/06, edgarz <[EMAIL PROTECTED]> wrote:
> Raidframe works great, no problems (for me) :)
>
> Adam Papai wrote:
> > Srebrenko Sehic said:
> >
> >>You're lucky that your RAID1 array even works, since integrated
> >>mirroring (IM) is currently not supported by mpt(4) driver. If it
> >>works, it is slow like hell.
> >>
> >>If you want speed, remove the RAID1 array and run with 2 normal disks.
> >>
> >>On 3/13/06, Adam Papai <[EMAIL PROTECTED]> wrote:
> >>
> >>>Hi misc,
> >>>
> >>>I've got a problem with the SCSI read/write speed under 3.8.
> >>>It has LSILOGIC HW raid adapter running raid1.
> >
> >
> >
> > That means I have to use the raidframe. Thanks anyway..

Reply via email to