-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please clarify if sha1 and sha256 benchmarks used sha-ni extensions #53
Comments
Those were done using OpenSSL on an AWS c5.metal instance (the same instance used to generate Figure 3 in the spec), which does not support the Intel SHA Extensions. You can see the script that generates that chart here: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/benchmarks/bar_chart.py The data points are hardcoded into the script, but there's a comment in there mentioning how they were derived. You can clone that repo and run benchmarks like this:
Unfortunately, that's going to run benchmarks for both 16484 and 163840 bytes. I don't know any way to skip the latter, other than by going into As noted in |
@oconnor663 Thank you, I appreciate the explanation. OpenSSL's implementations seem like a fine choice. Would you consider mentioning the use of OpenSSL near your mention of using a |
Added a link to the |
I'd love to get some more information on the methodology used to produce the benchmark data in the README. In particular, which sha1 and sha256 implementations did you benchmark against, and what hardware extensions did those implementations support?
Thank you for the incredible work on BLAKE3; I'm looking forward to using it, especially the parallel hashing support.
The text was updated successfully, but these errors were encountered: