From owner-freebsd-current@FreeBSD.ORG Mon May 26 05:25:14 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 69F9637B405 for ; Mon, 26 May 2003 05:25:14 -0700 (PDT) Received: from sauron.fto.de (p15106025.pureserver.info [217.160.140.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id F282743FBD for ; Mon, 26 May 2003 05:25:12 -0700 (PDT) (envelope-from hschaefer@fto.de) Received: from localhost (localhost.fto.de [127.0.0.1]) by sauron.fto.de (Postfix) with ESMTP id 6ABB525C0FB; Mon, 26 May 2003 14:25:11 +0200 (CEST) Received: from sauron.fto.de ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01076-10; Mon, 26 May 2003 14:25:10 +0200 (CEST) Received: from giskard.foundation.hs (p50918FAF.dip.t-dialin.net [80.145.143.175]) by sauron.fto.de (Postfix) with ESMTP id 0E5EB25C0FA; Mon, 26 May 2003 14:25:10 +0200 (CEST) Received: from daneel.foundation.hs (daneel.foundation.hs [192.168.20.2]) by giskard.foundation.hs (8.9.3/8.9.3) with ESMTP id OAA62845; Mon, 26 May 2003 14:25:08 +0200 (CEST) (envelope-from hschaefer@fto.de) Date: Mon, 26 May 2003 14:25:08 +0200 (CEST) From: Heiko Schaefer X-X-Sender: heiko@daneel.foundation.hs To: Christophe Zwecker In-Reply-To: <3ED203E6.1000202@zwecker.de> Message-ID: <20030526141901.J294@daneel.foundation.hs> References: <3ED203E6.1000202@zwecker.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at fto.de 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: Mon, 26 May 2003 12:25:14 -0000 Hi Christophe, > I get 35MB/s write without gbde and 5 MB on a gbde crypted device. > > Hardware: > 700 GB ATA Raid5 3ware, P4 2.6ghz , 512mb ram > > I set sector size to 2048, performance increased to 5mb/sec. cmd to > creat fs was: > > newfs -b 16384 -f 2048 -U -m 0.0005% -i 262144 /dev/twed0s1h.bde 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." did you do that? i do not have exact numbers, but i think i can get approx 10MB/s writing on my gbde disks with an athlon xp 1800+. ...i would be curious about what top (or ps auxw) tell you while you use your gbde disk. from what i've experienced, your cpu shouldn't be maxed out with 5MB/s throughput. > Could anyone tell me if this is supposed to be slow like that ? Or is > there anything I missed ? gbde is fairly slow for me too, but by using "gbde init -i", the cpu is the limiting factor. and i'm fairly fine with that, assuming the crypto that is done is sound :) ...unfortunately only with time that will become somewhat certain. i am still (neverending story :( ) struggling with hardware, but one of these days i plan to post some numbers :) it seems, however that my cpu is theoretically capable of processing data with gbde at a rate of approx 25MB/s (that is an extrapolated number from "ps auwx" output for the gbde process and the actual throughput). cheers, Heiko -- Free Software. Why put up with inferior code and antisocial corporations? http://www.gnu.org/philosophy/why-free.html