Hey guys!

I'm running 3.7 and am getting really, really crappy usb throughput :( -

# dd if=/dev/sd0c of=/dev/null bs=819200 count=100
100+0 records in
100+0 records out
81920000 bytes transferred in 175.970 secs (465533 bytes/sec)


Here's an excerpt from my dmesg -

uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 3
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
...
umass0 at uhub3 port 2 configuration 1 interface 0
umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <OCZ, ET1208AD, 1.0> SCSI2 0/direct removable
sd0: 2000MB, 2000 cyl, 64 head, 32 sec, 512 bytes/sec, 4096000 sec total


Looks like sd0 is attached to the EHCI controller. On DragonflyBSD, same h/w,
I get 13MB/s when I use ehci ..

-- [EMAIL PROTECTED]: /usr/src/sys/i386/conf (11:09) --
# dd if=/dev/da0 of=/dev/null bs=8192000 count=100
100+0 records in
100+0 records out
819200000 bytes transferred in 59.371990 secs (13797752 bytes/sec)

when I use uhci on Dragonfly, I get -

-- [EMAIL PROTECTED]: /home/atrens (11:07) --
# dd if=/dev/da0 bs=8192000 of=/dev/null count=100
^C5+0 records in
5+0 records out
40960000 bytes transferred in 45.750635 secs (895288 bytes/sec)

which is still double what I'm seeing on OpenBSD 3.7!!!!


Hope it's something dumb on my side (and therefore easy to fix) :( ...


Andrew.

Reply via email to