ZFS on top of GELI / Intel Atom 330 system

Philipp Wuensche cryx-freebsd at h3q.com
Fri May 29 09:30:49 UTC 2009


Dan Naumov wrote:
> Is there anyone here using ZFS on top of a GELI-encrypted provider on
> hardware which could be considered "slow" by today's standards? What
> are the performance implications of doing this? The reason I am asking
> is that I am in the process of building a small home NAS/webserver,
> starting with a single disk (intending to expand as the need arises)
> on the following hardware:
> http://www.tranquilpc-shop.co.uk/acatalog/BAREBONE_SERVERS.html This
> is essentially: Intel Arom 330 1.6 Ghz dualcore on an Intel
> D945GCLF2-based board with 2GB Ram, the first disk I am going to use
> is a 1.5TB Western Digital Caviar Green.
> 
> I had someone run a few openssl crypto benchmarks (to unscientifically
> assess the maximum possible GELI performance) on a machine running
> FreeBSD on nearly the same hardware and it seems the CPU would become
> the bottleneck at roughly 200 MB/s throughput when using 128 bit
> Blowfish, 70 MB/s when using AES128 and 55 MB/s when using AES256.
> This, on it's own is definately enough for my neeeds (especially in
> the case of using Blowfish), but what are the performance implications
> of using ZFS on top of a GELI-encrypted provider?

I have a zpool mirror on top of two 128bit GELI blowfish devices with
Sectorsize 4096, my system is a D945GCLF2 with 2GB RAM and a Intel Arom
330 1.6 Ghz dualcore. The two disks are a WDC WD10EADS and a WD10EACS
(5400rpm). The system is running 8.0-CURRENT amd64. I have set
kern.geom.eli.threads=3.

This is far from a real benchmarks but:

Using dd with bs=4m I get 35 MByte/s writing to the mirror (writing 35
MByte/s to each disk) and 48 MByte/s reading from the mirror (reading
with 24 MByte/s from each disk).

My experience is that ZFS is not much of an overhead and will not
degrade the performance as much as the encryption, so GELI is the
limiting factor. Using ZFS without GELI on this system gives way higher
read and write numbers, like reading with 70 MByte/s per disk etc.

greetings,
philipp




More information about the freebsd-stable mailing list