Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2007 12:36:19 +0100
From:      Michael Nottebrock <lofi@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        Ivan Voras <ivoras@fer.hr>
Subject:   Re: Very slow umass in 6.2-RC2
Message-ID:  <200702171236.23084.lofi@freebsd.org>
In-Reply-To: <20070215210327.E554E45053@ptavv.es.net>
References:  <20070215210327.E554E45053@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBF1ui3Xhc68WspdLARAuNvAJ4uN3vGBLkeiiRstFD8K0upklKjEQCfYDz5
4OJaDUQEsnnrrUJdjgNul0I=
=e8KP
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702171236.23084.lofi>