From owner-freebsd-current@FreeBSD.ORG Wed May 28 13:09:45 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 5A34D37B401 for ; Wed, 28 May 2003 13:09:45 -0700 (PDT) Received: from turkey.mail.pas.earthlink.net (turkey.mail.pas.earthlink.net [207.217.120.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0C2F43F85 for ; Wed, 28 May 2003 13:09:44 -0700 (PDT) (envelope-from jtanis@alumni.clemson.edu) Received: from user-1120it0.dsl.mindspring.com ([66.32.75.160] helo=amdbox.horizon2.net) by turkey.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 19L7F2-0003GW-00 for freebsd-current@freebsd.org; Wed, 28 May 2003 13:09:44 -0700 Date: Wed, 28 May 2003 16:09:51 -0400 From: James Tanis To: freebsd-current@freebsd.org Message-Id: <20030528160951.6ad3fbaf.jtanis@alumni.clemson.edu> In-Reply-To: <20030528104027.GD6015@survey.codeburst.net> References: <20030528071326.GA29506@gvr.gvr.org> <32216.1054109479@critter.freebsd.dk> <20030528104027.GD6015@survey.codeburst.net> X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: gbde Performance - 35Mb/s vs 5.2 MB/s 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, 28 May 2003 20:09:45 -0000 On Wed, 28 May 2003 11:40:27 +0100 Paul Richards wrote: > On Wed, May 28, 2003 at 10:11:19AM +0200, Poul-Henning Kamp wrote: > > In message <20030528071326.GA29506@gvr.gvr.org>, Guido van Rooij writes: > > >On Mon, May 26, 2003 at 02:25:08PM +0200, Heiko Schaefer wrote: > > >> > > >> Poul gave me the following tip on this list in a mail on Tue, 29 Apr 2003: > > >> > > >> "Remember to set the sectorsize in gbde (gbde init -i) to the fragment > > >> size of your filesystem (typically 2048 for ufs), this is critical > > >> for performance." > > >> > > > > > >If this is so important, why isn't this the default? > > > > Because I have no way of knowing that peple will in fact be using > > UFS/FFS on the GBDE encrypted partition, and even if they do, I have > > no way of knowing the fragment size they will use. > > > > I considered making the sectorsize a mandatory argument, but decided > > against it. Maybe I was wrong. > > It might make more sense to mandate an argument that indicates what > filesystem they intend to put on top of it and then base the defaults > from that. It would be more user friendly. > Yes, but that would unnecessarily limit the program. A new file system would wind up being unsupported, of course that would not matter if it wasn't mandatory or there was some sort of "other" designation.. but that would begin to kill the point of the additional argument in the first place. Seems to me the program would be better served with more documentation then a user-friendly interface considering its age and experimental nature. TTYL, James --