Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2012 15:37:44 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Moritz Schlarb <mail@moritz-schlarb.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Performance of Geli compared to Luks
Message-ID:  <20120325203744.GB55964@dan.emsphone.com>
In-Reply-To: <jknp5q$m29$1@dough.gmane.org>
References:  <jknp5q$m29$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 25), Moritz Schlarb said:
> My HP Proliant Microserver, which I want to use as a NAS, is using an AMD
> Turion II Neo N40L processor.  The plain disks give me about 100 MB/s
> using filebench with the fivestreamwrite/multistreamwrite workloads (as
> software RAID-1 under Linux and zpool mirror under FreeBSD).
> 
> In Linux, using LUKS with cipher aes-xts-plain64 on a software RAID-1 I
> get the same ~100 MB/s for the same benchmarks.
> 
> In FreeBSD, using a mirror zfs pool with underlying GELI with AES-XTS I
> get only ~50 MB/s.
> 
> As the encryption algorithms should be the same, I'm wondering why FreeBSD
> is that slow for nearly exactly the same use case.  Any ideas how I could
> tweak my settings in FreeBSD?

As a first step, I'd try reading/writing from the raw GELI and LUKS devices
to rule out performance differences due to the filesystems you're using.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120325203744.GB55964>