From owner-freebsd-current@FreeBSD.ORG Wed May 28 01:11:22 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 E526837B401 for ; Wed, 28 May 2003 01:11:22 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C506943FA3 for ; Wed, 28 May 2003 01:11:21 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h4S8BJQ2032217; Wed, 28 May 2003 10:11:19 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Guido van Rooij From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 28 May 2003 09:13:26 +0200." <20030528071326.GA29506@gvr.gvr.org> Date: Wed, 28 May 2003 10:11:19 +0200 Message-ID: <32216.1054109479@critter.freebsd.dk> cc: current@freebsd.org 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 08:11:23 -0000 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. -- 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.