Very slow umass transfer, which quirk to try?

Ulrich Spoerlein spoerlein at informatik.uni-wuerzburg.de
Thu May 19 19:00:25 GMT 2005


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örlein
-- 
 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?
-------------- 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-usb/attachments/20050519/8b8aaf55/attachment.bin


More information about the freebsd-usb mailing list