From owner-freebsd-stable@FreeBSD.ORG Fri May 29 11:50:03 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 78BDE1065680 for ; Fri, 29 May 2009 11:50:03 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 00FE48FC20 for ; Fri, 29 May 2009 11:50:02 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MA0b3-0004ad-8X for freebsd-stable@freebsd.org; Fri, 29 May 2009 11:50:01 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 May 2009 11:50:01 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 May 2009 11:50:01 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Fri, 29 May 2009 13:49:54 +0200 Lines: 62 Message-ID: References: <4A1FAB45.4040904@h3q.com> <4A1FBD4A.5080204@pp.dyndns.biz> <20090529112919.GA74359@dmr.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEC7828ECF6FCD844DB1DA536" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) In-Reply-To: <20090529112919.GA74359@dmr.ath.cx> X-Enigmail-Version: 0.95.7 Sender: news 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:50:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEC7828ECF6FCD844DB1DA536 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Emil Mikulic wrote: > On Fri, May 29, 2009 at 12:47:38PM +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=3D0 >> # dd if=3D/dev/gzero.eli of=3D/dev/null bs=3D1M count=3D512 >=20 > I don't mean to take this off-topic wrt -stable but just > for fun, I built a -current kernel with dtrace and did: >=20 > geli onetime gzero > ./hotkernel & > dd if=3D/dev/zero of=3D/dev/gzero.eli bs=3D1m count=3D1024 > killall dtrace > geli detach gzero >=20 > The hot spots: > [snip stuff under 0.3%] > kernel`g_eli_crypto_run 50 0.3% > kernel`_mtx_assert 56 0.3% > kernel`SHA256_Final 58 0.3% > kernel`rijndael_encrypt 72 0.4% > kernel`_mtx_unlock_flags 74 0.4% > kernel`rijndael128_encrypt 74 0.4% > kernel`copyout 92 0.5% > kernel`_mtx_lock_flags 93 0.5% > kernel`bzero 114 0.6% > kernel`spinlock_exit 240 1.3% > kernel`bcopy 325 1.7% > kernel`sched_idletd 810 4.3% > kernel`swcr_process 1126 6.0% > kernel`SHA256_Transform 1178 6.3% > kernel`rijndaelEncrypt 5574 29.7% > kernel`acpi_cpu_c1 8383 44.6% Hi, What is the meaning of counts? Number of calls made or time? --------------enigEC7828ECF6FCD844DB1DA536 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkofy+kACgkQldnAQVacBcgmgQCgwoO5tGeizD9d6jdWhfl6bU49 q/sAoO00YuoF2se3kR53EXGVwyJiuvuS =tT97 -----END PGP SIGNATURE----- --------------enigEC7828ECF6FCD844DB1DA536--