Date: Tue, 29 Mar 2011 08:53:07 +0100 From: "Clayton Milos" <clay@milos.co.za> To: "Eugene Grosbein" <egrosbein@rdtc.ru> Cc: freebsd-stable@freebsd.org, pjd@freebsd.org Subject: Re: GELI speed Message-ID: <7891ACBE8A1D4A71BEFEAA7D98A7591B@claydesktop> References: <C07A16DB9A6B45D9B1C0D0722B28B3D4@claydesktop> <4D917547.7050908@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 29.03.2011 00:57, Clayton Milos wrote: >> Hi Pawel >> >> I'm running GELI encryption on a hardware RAID5 (8x1TB), formatted to >> 6.3T >> usable space using i386 FreeBSD 7.3-PRERELEASE. Write speeds to the drive >> are just over 40MB/s which is not too bad but I would like to improve it >> as >> the drive gets 270MB/s without encryption. >> >> I've run the following tests: >> dd if=/dev/gzero.eli of=/dev/null bs=1m count=4096 >> 4294967296 bytes transferred in 99.763266 secs (43051591 bytes/sec) >> and then >> dd if=/dev/zero of=test.file bs=1m count=1024 >> 1073741824 bytes transferred in 26.118988 secs (41109626 bytes/sec) >> >> There is not much speed lost due to the filesystem throughput or the RAID >> card. > > You can also try increase reading performance by using geom_cache > with sufficiently large cache. It won't impact on linear reads > but for general operations like directory lookups, many short reads etc. > it can decrease number of decrypt requests. > > Eugene Grosbein > Thanks Eugene. unfortunately I have some large directories with ~2000 files in them so if that slowed down it would be painful. Clay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7891ACBE8A1D4A71BEFEAA7D98A7591B>