[openssl-dev] [openssl.org #4176] Add support for async jobs in OpenSSL speed

Grandi, Andrea andrea.grandi at intel.com
Thu Dec 17 13:31:48 UTC 2015


Hi!

I have just pushed an updated version of the patch that addresses the comments of the pull request:
https://github.com/openssl/openssl/pull/501

Regards,
Andrea

-----Original Message-----
From: openssl-dev [mailto:openssl-dev-bounces at openssl.org] On Behalf Of Grandi, Andrea via RT
Sent: Thursday, December 10, 2015 2:47 PM
Cc: openssl-dev at openssl.org
Subject: [openssl-dev] [openssl.org #4176] Add support for async jobs in OpenSSL speed

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.

--------------------------------------------------------------
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.


More information about the openssl-dev mailing list