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 @ 0xf/0x1
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: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1800
0xca800/0x9a00 0xdc000/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (INTELSE7210TP10 )
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 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 3 pa 0xfec1, 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