Date: Fri, 29 May 2009 13:49:54 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-stable@freebsd.org Subject: Re: ZFS on top of GELI / Intel Atom 330 system Message-ID: <gvoi4r$3m0$1@ger.gmane.org> In-Reply-To: <20090529112919.GA74359@dmr.ath.cx> References: <cf9b1ee00905290119w5eea0bfmd018d1c1282ac310@mail.gmail.com> <4A1FAB45.4040904@h3q.com> <cf9b1ee00905290312j2d1aeda8y3e4d8f4b1a0492f5@mail.gmail.com> <4A1FBD4A.5080204@pp.dyndns.biz> <20090529112919.GA74359@dmr.ath.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gvoi4r$3m0$1>