From owner-freebsd-stable@FreeBSD.ORG Sun May 31 15:39:56 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 98C66106570D for ; Sun, 31 May 2009 15:39:56 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (cl-43.dus-01.de.sixxs.net [IPv6:2a01:198:200:2a::2]) by mx1.freebsd.org (Postfix) with ESMTP id D9AF78FC14 for ; Sun, 31 May 2009 15:39:55 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (localhost.spoerlein.net [127.0.0.1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id n4VFdsBU099972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 31 May 2009 17:39:54 +0200 (CEST) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id n4VFdsH5099971; Sun, 31 May 2009 17:39:54 +0200 (CEST) (envelope-from uqs@spoerlein.net) Date: Sun, 31 May 2009 17:39:53 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Morgan =?utf-8?B?V2Vzc3Ryw7Zt?= Message-ID: <20090531153953.GE18676@acme.spoerlein.net> Mail-Followup-To: Morgan =?utf-8?B?V2Vzc3Ryw7Zt?= , freebsd-stable@freebsd.org References: <4A1FAB45.4040904@h3q.com> <4A1FBD4A.5080204@pp.dyndns.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4A1FBD4A.5080204@pp.dyndns.biz> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-stable@freebsd.org 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: Sun, 31 May 2009 15:39:56 -0000 On Fri, 29.05.2009 at 12:47:38 +0200, Morgan Wesström wrote: > 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. Hi Morgan, thanks for the nice benchmarking trick. I tried this on two ~7.2 systems: CPU: Intel Pentium III (996.77-MHz 686-class CPU) -> 14.3MB/s CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU) -> 47.5MB/s Reading a big file from the pool of this P4 results in 27.6MB/s netto transfer rate (single 7200 rpm SATA disk). I would be *very* interested in numbers from the dual core Atom, both with 2 CPUs and with 1 active core only. I think that having dual core is a must for this setup, so you can use 2 GELI threads and have the ZFS threads on top of that to spread the load. Cheers, Ulrich Spörlein -- http://www.dubistterrorist.de/