Very slow umass in 6.2-RC2

Michael Nottebrock lofi at freebsd.org
Sat Feb 17 11:36:30 UTC 2007


Has anyone ever managed to get some USB 2.0 - like speeds out of ehci anyway? 
I'm not seeing quite such abysmal performance as Kevin did, but I don't even 
need to benchmark to be certain that Windows does *much* better with the 
devices I own. Here are some numbers:

First up, the controller:

ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdfffbd00-0xdfffbdff irq
21 at device 16.4 on pci0
usb4: <VIA VT6202 USB 2.0 controller> on ehci0
usb4: USB revision 2.0

To be sure the umass device is actually a child of the ehci device:

dev.umass.0.%parent: uhub4
dev.uhub.4.%parent: usb4

This is a Panasonic "Pro High Speed" series 512mb SD-CARD, which theoretically 
supports burst transfer rates up to 20MB/s on a USB 2.0 multi card reader:

da2 at umass-sim0 bus 0 target 0 lun 2
da2: <Hama CardReaderMMC/SD 1.9C> Removable Direct Access SCSI-0
device
da2: 40.000MB/s transfers
da2: 472MB (967680 512 byte sectors: 64H 32S/T 472C)

vmstat while running bonnie -s 472 (I don't have bonnie results, since it 
would have taken forever to finish):

Disks   ad0   ad4   da0   da1   da2   da3 pass0        
KB/t  16.00  0.00  0.00  0.00 12.01  0.00  0.00
tps       1     0     0     0   154     0     0
MB/s   0.02  0.00  0.00  0.00  1.80  0.00  0.00
% busy    0     0     0     0    99     0     0

This is a Trekstor Vibez portable music player, which comes with an 8GB 
microdrive and an USB 2.0 interface, again with bonnie:

umass0: TrekStor vibez, rev 2.00/1.10, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <TrekStor vibez 2> Removable Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 7613MB (15592237 512 byte sectors: 255H 63S/T 970C)

Disks   ad0   ad4   da0 pass0
KB/t  12.73  0.00  4.00  0.00
tps       2     0   339     0
MB/s   0.03  0.00  1.32  0.00
% busy    1     0   100     0

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070217/f2f61570/attachment.pgp


More information about the freebsd-stable mailing list