I've got a USB external drive that is virtually unusable because it is
so slow.
mount
dev/sd0a on / type ffs (local)
/dev/sd0p on /backup type ffs (local, nodev, nosuid, softdep)
/dev/sd0o on /destdir type ffs (local, nodev, nosuid, softdep)
/dev/sd0d on /home type ffs (local, nodev, nosuid, softdep)
/dev/sd0n on /releasedir type ffs (local, nodev, nosuid, softdep)
/dev/sd0e on /tmp type ffs (local, nodev, nosuid, softdep)
/dev/sd0f on /usr type ffs (local, nodev, softdep)
/dev/sd0g on /usr/X11R6 type ffs (local, nodev, softdep)
/dev/sd0h on /usr/local type ffs (local, nodev, softdep)
/dev/sd0i on /cvs type ffs (local, nodev, nosuid, softdep)
/dev/sd0j on /usr/src type ffs (local, nodev, nosuid, softdep)
/dev/sd0k on /var type ffs (local, nodev, nosuid, softdep)
/dev/sd0l on /var/qmail/bin type ffs (local, nodev, softdep)
/dev/sd0m on /var/qmail/queue type ffs (local, nodev, nosuid)
/dev/sd1a on /log type ffs (local, nodev, nosuid, softdep)
/dev/sd1d on /offline type ffs (local, nodev, nosuid, softdep)
/dev/sd1e on /wal type ffs (local, nodev, nosuid, softdep)
mfs:13470 on /var/mfs type mfs (asynchronous, local, size=2000000
512-blocks)
/dev/sd2a on /usb_drive type ffs (local)
(write a file to the usb drive)
time sudo dd if=/dev/zero of=/usb_drive/test_file count=1000000
1000000+0 records in
1000000+0 records out
512000000 bytes transferred in 452.234 secs (1132156 bytes/sec)
7m32.69s real 0m0.51s user 0m3.88s system
(write a file to the crappy 3WARE RAID1)
time sudo dd if=/dev/zero of=/offline/test_file count=1000000
1000000+0 records in
1000000+0 records out
512000000 bytes transferred in 9.298 secs (55064036 bytes/sec)
0m13.68s real 0m0.58s user 0m3.78s system
dmesg:
OpenBSD 3.8-current (GENERIC) #0: Wed Sep 14 22:05:15 MDT 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 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,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem = 2147000320 (2096680K)
avail mem = 1953087488 (1907312K)
using 4278 buffers containing 107454464 bytes (104936K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 02/04/03, BIOS32 rev. 0 @ 0xf0010
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf2fb0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801CA LPC" rev 0x00)
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9800/0x800 0xca000/0x1800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7501 MCH Host" rev 0x01
ppb0 at pci0 dev 2 function 0 "Intel E7500 MCH" rev 0x01
pci1 at ppb0 bus 1
"Intel 82870P2 IOxAPIC" rev 0x04 at pci1 dev 28 function 0 not configured
ppb1 at pci1 dev 29 function 0 "Intel 82870P2 PCI-PCI" rev 0x04
pci2 at ppb1 bus 2
em0 at pci2 dev 1 function 0 "Intel PRO/1000MT (82545EM)" rev 0x01: irq
10, address: 00:e0:81:28:e9:71
"Intel 82870P2 IOxAPIC" rev 0x04 at pci1 dev 30 function 0 not configured
ppb2 at pci1 dev 31 function 0 "Intel 82870P2 PCI-PCI" rev 0x04
pci3 at ppb2 bus 3
ahc1 at pci3 dev 3 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 10
scsibus0 at ahc1: 16 targets
st0 at scsibus0 targ 6 lun 0: <SEAGATE, DAT 9SP40-000, 910B> SCSI3
1/sequential removable
st0: density code 0x26, 512-byte blocks, write-enabled
twe0 at pci3 dev 6 function 0 "3ware Escalade IDE RAID" rev 0x01: irq 10
twe0: Escalade V1.3
scsibus1 at twe0: 16 targets
sd0 at scsibus1 targ 0 lun 0: <3WARE, Host drive #00, > SCSI2 0/direct
fixed
sd0: 117799MB, 15017 cyl, 255 head, 63 sec, 512 bytes/sec, 241252672 sec
total
sd1 at scsibus1 targ 2 lun 0: <3WARE, Host drive #02, > SCSI2 0/direct
fixed
sd1: 117799MB, 15017 cyl, 255 head, 63 sec, 512 bytes/sec, 241252672 sec
total
uhci0 at pci0 dev 29 function 0 "Intel 82801CA/CAM USB" rev 0x02: irq 10
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 82801CA/CAM USB" rev 0x02: irq 9
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 82801CA/CAM USB" rev 0x02: irq 11
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
ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x42
pci4 at ppb3 bus 4
fxp0 at pci4 dev 1 function 0 "Intel 82557" rev 0x10, i82551: irq 5,
address 00:e0:81:28:e9:70
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
vga1 at pci4 dev 2 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
fxp1 at pci4 dev 3 function 0 "Intel 82557" rev 0x05, i82558: irq 11,
address 00:90:27:2a:33:a6
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801CA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801CA IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 1
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <_NEC, DVD+RW ND-1100A, 1.A0> SCSI0
5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
"Intel 82801CA/CAM 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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
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
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef45 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets
sd2 at scsibus3 targ 1 lun 0: <WDC WD20, 00JB-00GVA0, 08.0> SCSI0
0/direct fixed
sd2: 190782MB, 190782 cyl, 64 head, 32 sec, 512 bytes/sec, 390721969 sec
total
dkcsum: sd0 matches BIOS drive 0x80
dkcsum: sd2 matches BIOS drive 0x81
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
Jeff