Date: Mon, 26 May 2003 14:25:08 +0200 (CEST) From: Heiko Schaefer <hschaefer@fto.de> To: Christophe Zwecker <doc@zwecker.de> Cc: current@freebsd.org Subject: Re: gbde Performance - 35Mb/s vs 5.2 MB/s Message-ID: <20030526141901.J294@daneel.foundation.hs> In-Reply-To: <3ED203E6.1000202@zwecker.de> References: <3ED203E6.1000202@zwecker.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030526141901.J294>