Open
Conversation
Signed-off-by: Nikola Pajkovsky <nikolap@openssl.org>
Sashan
approved these changes
Mar 18, 2026
Contributor
Sashan
left a comment
There was a problem hiding this comment.
I like the change.
FYI I gave it a try with openssl from Nikola's frozen branch and those the numbers:
regular run with 64 threads
Average time per handshake: 3975.056520us
Handshakes per second: 16100.400000
frozen run with 64 threads:
Average time per handshake: 2037.905034us
Handshakes per second: 31404.800000
and those are numbers with -s option which disables context sharing:
sashan@work:~/work.openssl/perftools.nikola/source/build$ ./handshake -s /home/sashan/work.openssl/openssl/test/certs 64
Average time per handshake: 7952.879191us
Handshakes per second: 8047.400000
sashan@work:~/work.openssl/perftools.nikola/source/build$ ./handshake -f -s /home/sashan/work.openssl/openssl/test/certs 64
Average time per handshake: 3232.257934us
Handshakes per second: 19800.400000
Member
|
This looks like a very nice perf improvement. What would be the numbers with just a single thread runs? |
Contributor
results for single thread: |
Member
|
Hmm... that's interesting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.