From owner-freebsd-usb@FreeBSD.ORG Mon Dec 27 10:11:26 2004 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 429C216A4CE for ; Mon, 27 Dec 2004 10:11:26 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DAB843D1F for ; Mon, 27 Dec 2004 10:11:25 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) iBRABEP8085858 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 27 Dec 2004 11:11:17 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id iBRAAfrU003549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Dec 2004 11:10:41 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id iBRAAe3K081396; Mon, 27 Dec 2004 11:10:40 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id iBRAAZ6r081395; Mon, 27 Dec 2004 11:10:36 +0100 (CET) (envelope-from ticso) Date: Mon, 27 Dec 2004 11:10:35 +0100 From: Bernd Walter To: Julian Elischer Message-ID: <20041227101034.GD76551@cicely12.cicely.de> References: <41CD83E6.1010304@gmail.com> <20041225181725.GE58581@cicely12.cicely.de> <41CDEDE2.5030900@gmail.com> <20041226002721.GG58581@cicely12.cicely.de> <41CE5B7F.3090805@elischer.org> <20041226131607.GJ58581@cicely12.cicely.de> <41CFAF19.8090502@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41CFAF19.8090502@elischer.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: ticso@cicely.de cc: freebsd-usb@freebsd.org Subject: Re: How to mount usb2 devices X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 10:11:26 -0000 On Sun, Dec 26, 2004 at 10:43:37PM -0800, Julian Elischer wrote: > Bernd Walter wrote: > >On Sat, Dec 25, 2004 at 10:34:39PM -0800, Julian Elischer wrote: > >>for example Ugen devices can be sped up by an order of magnitude > >>with a simple set of changes. (that I will commit when I clean > >>them up) I have to guess that the Umass driver may have similar > >>performance problems. > > > > > >So you can speed up ugen devices - sounds interesting. > >What is the basic idea behind? > ehci allows only 4000 interrupts per second. > ugen packages data in 1024 byte chunks and does one per interrupt. > Previously it allowed only 1000 interrupts per second, limiting you to > 1MB/sec.. Now you can get 4MB/sec. Ah this old story. I didn't know that ugen reduces userland requests too low. Well yes - it should be raised - maybe only for high speed devices. What about umass, doesn't umass run the whole CAM request in one go? CAM reuqests should be big enough unless the underlying filesystem requests single sectors. The dd test should have issued slightly bigger (cam/umass overhead) requests as 64k and 128k. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de