From owner-freebsd-stable@FreeBSD.ORG Fri May 29 11:07:47 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1301710656F4 for ; Fri, 29 May 2009 11:07:47 +0000 (UTC) (envelope-from freebsd-stable@pp.dyndns.biz) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id BB5AB8FC1A for ; Fri, 29 May 2009 11:07:46 +0000 (UTC) (envelope-from freebsd-stable@pp.dyndns.biz) Received: from ironport.bredband.com (195.54.101.120) by proxy3.bredband.net (7.3.140.3) id 49F597CD00CEBD02 for freebsd-stable@freebsd.org; Fri, 29 May 2009 12:47:40 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0GAMdZH0pV4jp1PGdsb2JhbACBT4wpihMBAQEBtn+EDAU X-IronPort-AV: E=Sophos;i="4.41,270,1241388000"; d="scan'208";a="526908314" Received: from c-753ae255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.58.117]) by ironport1.bredband.com with ESMTP; 29 May 2009 12:47:40 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.2/8.14.2) with ESMTP id n4TAlcqH053074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 May 2009 12:47:39 +0200 (CEST) (envelope-from freebsd-stable@pp.dyndns.biz) Message-ID: <4A1FBD4A.5080204@pp.dyndns.biz> Date: Fri, 29 May 2009 12:47:38 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.21 (X11/20090430) MIME-Version: 1.0 CC: freebsd-stable@freebsd.org References: <4A1FAB45.4040904@h3q.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: ZFS on top of GELI / Intel Atom 330 system X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 11:07:47 -0000 Dan Naumov wrote: > Thank you for your numbers, now I know what to expect when I get my > new machine, since our system specs look identical. > > So basically on this system: > > unencrypted ZFS read: ~70 MB/s per disk > > 128bit Blowfish GELI/ZFS write: 35 MB/s per disk > 128bit Blowfish GELI/ZFS read: 24 MB/s per disk > > I am curious what part of GELI is so inefficient to cause such a > dramatic slowdown. In comparison, my home desktop is a > You can benchmark the encryption subsytem only, like this: # kldload geom_zero # geli onetime -s 4096 -l 256 gzero # sysctl kern.geom.zero.clear=0 # dd if=/dev/gzero.eli of=/dev/null bs=1M count=512 512+0 records in 512+0 records out 536870912 bytes transferred in 11.861871 secs (45260222 bytes/sec) The benchmark will use 256-bit AES and the numbers are from my Core2 Duo Celeron E1200 1,6GHz. My old trusty Pentium III 933MHz performs at 13MB/s on that test. Both machines are recompiled with CPUTYPE=core2 and CPUTYPE=pentium3 respectively but unfortunately I have no benchmarks on how they perform without the CPU optimizations. I'm in the same spot as you, planning to build a home NAS. I have settled for graid5/geli but haven't yet decided if I would benefit most from a dual core CPU at 3+ GHz or a quad core at 2.6. Budget is a concern... Regards Morgan