[Bug 2009544] Re: OpenSSL 3 performance regression
Rafael Lopez
2009544 at bugs.launchpad.net
Wed Aug 30 00:17:59 UTC 2023
Hi Adrien, see results below - lunar and mantic show similar
performance, both a significant improvement over jammy. All tests were
run using same underlying hardware, 8vcpu/4G VMs.
ubuntu at openssl-jammy:~/openssl_python_ubuntu$ time python3 main.py
Distro: Ubuntu 22.04.3 LTS
Python Version: 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
OpenSSL Version: OpenSSL 3.0.2 15 Mar 2022
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
real 0m12.751s
user 0m20.992s
sys 0m9.746s
ubuntu at openssl-jammy:~/openssl_python_ubuntu$ for i in {0..4};do /usr/bin/time -f "Elapsed: %e" python3 main.py > /dev/null;done
Elapsed: 11.76
Elapsed: 12.43
Elapsed: 11.52
Elapsed: 11.92
Elapsed: 12.68
ubuntu at openssl-jammy:~/openssl_python_ubuntu$
ubuntu at openssl-lunar:~/openssl_python_ubuntu$ time python3 main.py
Distro: Ubuntu 23.04
Python Version: 3.11.2 (main, May 30 2023, 17:45:26) [GCC 12.2.0]
OpenSSL Version: OpenSSL 3.0.8 7 Feb 2023
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
real 0m2.313s
user 0m13.487s
sys 0m0.208s
ubuntu at openssl-lunar:~/openssl_python_ubuntu$ for i in {0..4};do /usr/bin/time -f "Elapsed: %e" python3 main.py > /dev/null;done
Elapsed: 2.93
Elapsed: 2.56
Elapsed: 2.39
Elapsed: 2.32
Elapsed: 2.56
ubuntu at openssl-lunar:~/openssl_python_ubuntu$
ubuntu at openssl-mantic:~/openssl_python_ubuntu$ time python3 main.py
Distro: Ubuntu Mantic Minotaur (development branch)
Python Version: 3.11.4 (main, Jun 7 2023, 10:13:09) [GCC 12.3.0]
OpenSSL Version: OpenSSL 3.0.10 1 Aug 2023
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
real 0m2.838s
user 0m15.380s
sys 0m0.244s
ubuntu at openssl-mantic:~/openssl_python_ubuntu$ for i in {0..4};do /usr/bin/time -f "Elapsed: %e" python3 main.py > /dev/null;done
Elapsed: 2.44
Elapsed: 2.29
Elapsed: 2.63
Elapsed: 2.36
Elapsed: 2.39
ubuntu at openssl-mantic:~/openssl_python_ubuntu$
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/2009544
Title:
OpenSSL 3 performance regression
Status in openssl package in Ubuntu:
Confirmed
Bug description:
Hello, it sounds like there's some significant performance regressions
in OpenSSL 3:
https://github.com/openssl/openssl/issues/20286#issuecomment-1438826816
Some we might be able to address with:
https://github.com/openssl/openssl/pull/18151
Some of the performance differences may be subject to ongoing work.
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2009544/+subscriptions
More information about the foundations-bugs
mailing list