From owner-freebsd-questions@FreeBSD.ORG Sun Mar 25 19:05:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E77B81065672 for ; Sun, 25 Mar 2012 19:05:12 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id A265F8FC0C for ; Sun, 25 Mar 2012 19:05:12 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SBskR-0006SN-Pb for freebsd-questions@freebsd.org; Sun, 25 Mar 2012 21:05:03 +0200 Received: from sphinx.oberstadt.wohnheim.uni-mainz.de ([134.93.50.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Mar 2012 21:05:03 +0200 Received: from mail by sphinx.oberstadt.wohnheim.uni-mainz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Mar 2012 21:05:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Moritz Schlarb Date: Sun, 25 Mar 2012 20:45:52 +0200 Lines: 21 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sphinx.oberstadt.wohnheim.uni-mainz.de User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20120223 Thunderbird/10.0.1 X-Enigmail-Version: 1.3.5 Subject: Performance of Geli compared to Luks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Mar 2012 19:05:13 -0000 Hello everyone, 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? Regards, -- Moritz Schlarb