[Bug 242747] geli: AMD Epyc+GELI not using Hardware AES

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 22 16:22:29 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242747

--- Comment #25 from Conrad Meyer <cem at freebsd.org> ---
Thanks, Eirik.  Let me see if I can come up with some copy-paste incantations
to try.  I'm not a dtrace expert myself. :-)

Load dtrace support: sudo kldload dtraceall

First, to see if aesni functions are being hit at all:

  sudo dtrace -n 'fbt:aesni::entry { @[probefunc] = count() }'

Let it run for maybe a few seconds while there is any mild load to the GELI
disks, then hit Ctrl-C.  After Ctrl-C, wait a few seconds for dtrace to print
output and exit.  If the output is empty, nothing is calling into aesni. 
Otherwise, you should see a listing of (aesni) function name, invocation count
pairs.

If you get anything from the earlier trace, the following one should print out
(approximately) any errors returned by aesni functions (columns are: function,
error number, count):

  sudo dtrace -n 'fbt:aesni::return /arg1 > 0 && arg1 < 1000/ {
@[probefunc,arg1] = count() }'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-geom mailing list