From owner-freebsd-current@FreeBSD.ORG Tue Sep 30 17:34:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA67F16A4B3 for ; Tue, 30 Sep 2003 17:34:55 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 3D64C43FF2 for ; Tue, 30 Sep 2003 17:34:55 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 82415 invoked by uid 1000); 1 Oct 2003 00:34:56 -0000 Date: Tue, 30 Sep 2003 17:34:56 -0700 (PDT) From: Nate Lawson To: current@freebsd.org Message-ID: <20030930172903.S82394@root.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: umass(4)/uhci(4) REALLY slow X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 00:34:55 -0000 Here are "iostat 5" results for my USB thumb drive on a uhci(4) controller with 5.1-CURRENT. On windows on the same box, it runs reasonably quickly. On FreeBSD, it really lags. This is for a cp of a large file to a msdosfs-mounted flash drive. da0 KB/t tps MB/s 1.07 41 0.04 1.00 41 0.04 1.02 41 0.04 Is there something we're doing on uhci(4) that makes each transfer only 1 KB? If we upped it to 32 KB, it would be a more reasonable 1.2 MB/sec which is still well under the USB 1.1 max speed. Thanks, -Nate