From owner-freebsd-usb@FreeBSD.ORG Thu May 19 19:00:25 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD26416A4CE for ; Thu, 19 May 2005 19:00:24 +0000 (GMT) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FE4D43D5E for ; Thu, 19 May 2005 19:00:04 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 0197AD9F3D for ; Thu, 19 May 2005 21:00:03 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id DA9DF82B35 for ; Thu, 19 May 2005 21:00:02 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id BC0C87AD3D for ; Thu, 19 May 2005 21:00:02 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 87654D9F3D for ; Thu, 19 May 2005 21:00:02 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j4JJ02gC030969 for ; Thu, 19 May 2005 21:00:02 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from coyote.q.local (localhost [127.0.0.1]) by coyote.q.local (8.13.1/8.13.1) with ESMTP id j4JJ01Dc015521 for ; Thu, 19 May 2005 21:00:02 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: (from q@localhost) by coyote.q.local (8.13.1/8.13.1/Submit) id j4JJ01ed015518 for usb@freebsd.org; Thu, 19 May 2005 21:00:01 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Date: Thu, 19 May 2005 21:00:01 +0200 From: Ulrich Spoerlein To: usb@freebsd.org Message-ID: <20050519190001.GA15230@galgenberg.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Subject: Very slow umass transfer, which quirk to try? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 19:00:25 -0000 --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--