Skip to content
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

crypto: disable EVP usage also for openssl-1.0.2 #2972

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

mikpe
Copy link
Contributor

@mikpe mikpe commented Jan 13, 2021

The initial fix for the crypto hmac performance loss (ERL-1400 / PR-2877) added code to automatically disable use of the EVP API for OpenSSL < 1.0.2. However, the EVP API is slow also in 1.0.2 as reported in ERL-1400. This adjusts the limit to < 1.1.0.

Tested on CentOS7 and verified it gives a decent speedup (roughly 30-40%) for the ERL-1400 test case.

@rickard-green rickard-green added the team:PS Assigned to OTP team PS label Jan 13, 2021
@HansN HansN self-assigned this Jan 18, 2021
@HansN HansN added testing currently being tested, tag is used by OTP internal CI and removed testing currently being tested, tag is used by OTP internal CI labels Jan 18, 2021
@HansN HansN merged commit e0befbe into erlang:maint Jan 19, 2021
@HansN
Copy link
Contributor

HansN commented Jan 19, 2021

Thanks for the PR!

@mikpe mikpe deleted the erl1400-followup branch January 20, 2021 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants