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
--nextPart1691415.JKjpm5d2df
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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

=46irst 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 theoretica=
lly=20
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=20
would have taken forever to finish):

Disks   ad0   ad4   da0   da1   da2   da3 pass0       =20
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=20
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

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--nextPart1691415.JKjpm5d2df
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

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

--nextPart1691415.JKjpm5d2df--



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