Re: gbde Performance - 35Mb/s vs 5.2 MB/s

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 28 May 2003 10:11:19 +0200
In message <20030528071326.GA29506_at_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_at_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.
Received on Tue May 27 2003 - 23:11:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC