From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 18:27:26 2004 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 03D0C16A4CE for ; Wed, 7 Jul 2004 18:27:26 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0F7B43D3F for ; Wed, 7 Jul 2004 18:27:25 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (rwcrmhc12) with ESMTP id <2004070718272501400jjdsse>; Wed, 7 Jul 2004 18:27:25 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA80532; Wed, 7 Jul 2004 11:27:23 -0700 (PDT) Date: Wed, 7 Jul 2004 11:27:22 -0700 (PDT) From: Julian Elischer To: Poul-Henning Kamp In-Reply-To: <33631.1089191774@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: mycroft@netbsd.org cc: ticso@cicely.de cc: FreeBSD current users Subject: Re: speeding up ugen by an order of magnitude. 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, 07 Jul 2004 18:27:26 -0000 On Wed, 7 Jul 2004, Poul-Henning Kamp wrote: > In message <20040707091311.GE12877@cicely12.cicely.de>, Bernd Walter writes: > >On Tue, Jul 06, 2004 at 04:32:28PM -0700, Julian Elischer wrote: > > >What about those options: > >- limit the allocated memory to the user request so we don't take the > > whole 128k if not reuired. > >- Do interleaving with 2 or more xfers if the read request is known to > > take more xfers. > > I would consider ugen to be a primary candidate to use physio like > I belive scsi-tape drives do ? I believe that is a good candidate. I considerred this as an option but I haven't looked to see how compaitble NetBSD physio still is with our diverged physio. FOr reasns of future co-operation, I'd like to keep diffs to a minimum. As it is out USB code is VERY close to NetBSD except for umass.c which is qiite different. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. >