From owner-freebsd-questions@FreeBSD.ORG Sun Jul 13 20:01:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 513ED37B401; Sun, 13 Jul 2003 20:01:45 -0700 (PDT) Received: from freshaire.wiz.com (freshaire.wiz.com [66.143.183.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7790B43F93; Sun, 13 Jul 2003 20:01:44 -0700 (PDT) (envelope-from marc@wiz.com) Received: from freshaire.wiz.com (localhost [127.0.0.1]) by freshaire.wiz.com (8.12.6/8.12.6) with ESMTP id h6E31b7c053309; Sun, 13 Jul 2003 22:01:37 -0500 (CDT) (envelope-from marc@freshaire.wiz.com) Received: (from marc@localhost) by freshaire.wiz.com (8.12.6/8.12.6/Submit) id h6E31b9i053308; Sun, 13 Jul 2003 22:01:37 -0500 (CDT) Date: Sun, 13 Jul 2003 22:01:37 -0500 From: Marc Wiz To: "Greg 'groggy' Lehey" Message-ID: <20030714030137.GG50589@freshaire.wiz.com> References: <200307130245.h6D2j8HB000556@soth.ventu> <20030713191453.GF23909@dan.emsphone.com> <20030714003258.GP94666@wantadilla.lemis.com> <20030714015746.GE50589@freshaire.wiz.com> <20030714021914.GR94666@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030714021914.GR94666@wantadilla.lemis.com> User-Agent: Mutt/1.4i cc: Dan Nelson cc: Marc Wiz cc: freebsd-questions@freebsd.org Subject: Re: vinum and hot-swapping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 03:01:45 -0000 On Mon, Jul 14, 2003 at 11:49:14AM +0930, Greg 'groggy' Lehey wrote: > On Sunday, 13 July 2003 at 20:57:46 -0500, Marc Wiz wrote: > > On Mon, Jul 14, 2003 at 10:02:58AM +0930, Greg 'groggy' Lehey wrote: > >>> I don't believe vinum can optimize full-stripe writes, though, since > >>> FreeBSD can only do I/O in 64k max chunks, > >> > >> 128 kB. > > > > I thought physio was limited to 64 KB? The man page on dump states > > this. Please correct me if I am wrong. > > Physio is limited to MAXPHYS, which you'll find defined in > /usr/include/sys/param.h: > > #ifndef MAXPHYS > #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ > #endif > That's nice to know. What prevents it from being increased beyond 128K? > I've taken a look at the dump code (yuk!), and it no longer places any > limitation on the block size. I'll fix the man page. > Thanks. I have tried increasing the block size but going past 64K does not seem to help performance. I will have to check the dump code to see if it is limiting itself to a max of 64K. Thanks! Marc -- Marc Wiz marc@wiz.com Yes, that really is my last name.