Add support for async jobs in OpenSSL speed

Grandi, Andrea andrea.grandi at intel.com
Thu Dec 10 13:38:41 UTC 2015


Hi!

This pull request adds support for async jobs in OpenSSL speed:
https://github.com/openssl/openssl/pull/501


Summary of the changes:

  *   Move the calls to the crypto operations inside wrapper functions.
This is required because ASYNC_start_job() takes a function as an argument.


  *   Add new function run_benchmark() that manages the jobs for all the operations.
In the POSIX case it uses a select() to receive the events from the engine and resume the jobs that are paused, while in the WIN case it uses PeekNamedPipe()


  *   Add new option argument async_jobs to enable and specify the number of async jobs

Example:

openssl speed -engine dasync -elapsed -async_jobs 32 rsa2048


Regards,
Andrea Grandi
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-bugs-mod/attachments/20151210/265ad6ef/attachment-0001.html>


More information about the openssl-bugs-mod mailing list