Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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=0
>> # dd if=/dev/gzero.eli of=/dev/null bs=1M count=512
> 
> I don't mean to take this off-topic wrt -stable but just
> for fun, I built a -current kernel with dtrace and did:
> 
> 	geli onetime gzero
> 	./hotkernel &
> 	dd if=/dev/zero of=/dev/gzero.eli bs=1m count=1024
> 	killall dtrace
> 	geli detach gzero
> 
> 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?


[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gvoi4r$3m0$1>