Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 21:00:01 +0200
From:      Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de>
To:        usb@freebsd.org
Subject:   Very slow umass transfer, which quirk to try?
Message-ID:  <20050519190001.GA15230@galgenberg.net>

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

--17pEHd4RhPHOinZp
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello all,

I got this lousy MP3 Player/USB Stick, and ever since I tried to
upload/download some stuff from within FreeBSD it's horribly slow. I
tried it with 4.something back then and even 5.4 with the updates to the
USB stack didn't improve the situation.

Here's the device
port 3 addr 5: full speed, power 100 mA, config 1, MP3 Flash
Stick(0x1004), Co Ltd(0x11e9), rev 1.00

Using cp to/from the FAT16 partition or using dd(1) on the partition
results in 4kB/transfer and it even manages to bogs down the I/O
throughput of the whole system (even though PREEMPTION is on).

     tty             ad0              da0              cd0             cpu
 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0  229 16.00   1  0.02   4.00  14  0.05   0.00   0  0.00  46  0  3  2 49
   0  383  2.00   9  0.02   4.00  14  0.05   0.00   0  0.00  37  0  5  0 59
   0  478  0.00   0  0.00   4.00  14  0.05   0.00   0  0.00  27  0  7  0 66
   0  387  2.00   2  0.00   4.00  13  0.05   0.00   0  0.00  26  0  5  1 68
   1  229  0.00   0  0.00   4.00  14  0.05   0.00   0  0.00   2  0  7  0 91
   0  488  0.00   0  0.00   4.00  14  0.05   0.00   0  0.00   5  0  6  2 87

usb_quirks.c has nothing to offer, that springs to mind (except perhaps
a typo in line 89, "farmware" ?)

ISTR that there were some USB and/or SCSI (CAM?) quirks one could tweak.
Could someone point me into the right direction please?

Ulrich Sp=F6rlein
--=20
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?

--17pEHd4RhPHOinZp
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCjOIxmArGtfDbn0QRAr9mAJ4m04j5xdKLnP58PK+IBu/1ULdQFQCgs3wb
c0zBtEppDdNhL7D0j3LNIBU=
=efcR
-----END PGP SIGNATURE-----

--17pEHd4RhPHOinZp--



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