On Thu, Apr 30, 2009 at 11:49 PM, Matthew Dempsky <matt...@dempsky.org> wrote:
> On Thu, Apr 30, 2009 at 6:53 PM, Marco Peereboom <sl...@peereboom.us> wrote:
>> listen to ted; he told you the real reason why it is slow.
>
> Ted said it's slow because of the context switches, but Theo confirmed
> that there are no context switches for the soft crypto code, which is
> what I'm interested in.

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.

Reply via email to