On Thu, Apr 30, 2009 at 9:42 PM, Ted Unangst <ted.unan...@gmail.com> wrote:
> If you turn on cryptodevallowsoft and run openssl speed -evp
> aes-128-cbc, you can watch the crypto thread in the kernel soaking up
> cpu.  In order for the thread to be running, you're definitely context
> switching to it.

Oops, yeah, Marco prompted me to look at crypto.c, and I now see even
the soft crypto work is dispatched to the worker queue.  (I'd
previously looked at ip_esp.c and cryptosoft.c, but embarrassingly not
yet the code in between; I mistakenly assumed the crypto drivers were
responsible for any asynchronous behavior between crypto_dispatch and
the callback invocation. :X)

Sorry about that!

Reply via email to