-
Notifications
You must be signed in to change notification settings - Fork 91
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
tlssig test takes huge amount of time #464
Comments
Wow -- so the only thing changed between the two runs above is the OpenSSL version (3.3.1 vs. master)? Same oqsprovider/liboqs code? Same platform (OSX)? Any difference in baseline openssl speed (performance) tests? |
Apparently. Though I recall that sometimes the tests for the OpenSSL-3.3.1 were also outrageous for
Oh yes.
If you name a specific test(s), I'd be happy to run it and report. Offhand, I'd say - no. But I'd be happier if I could give you specific numbers. |
I cannot -- as I have no clue which part of OpenSSL could trigger this. I just thought you might have run @levitte @romen As I cannot reproduce this on my machine (x64, Ubuntu) -- have you heard of any such, probably platform-dependent performance degradation of |
@mouse07410 FWIW, I now re-ran your setup (
|
My experience on M2 chip is similar, but the delay is not as drastic. Here are the
It does show that OpenSSL-3.4-dev is a bit slower - but not nearly to the degree exhibited. I'll update this post with the M2 benchmarks. |
So what was the platform you used initally (HW/OS/compilers/openssl config/build flags)? How can we reproduce your results? One more thought: If the consideration were right that this has to do with some changes in the openssl crypto in "master", what about you build |
I have only two HW platforms: x86_64 and M2. All running MacOS Sonoma 14.6 and the latest released (not beta!) Xcode. Here are the M2 numbers for
And the tests.
OpenSSL-3.4-dev:
|
That's IMO a substantial enough difference between a "release" level/MacPorts OSSL 3.3.1 and your own build 3.4.0-dev I'd argue. -> Please try running 3.3.1 also "manually" built and configured like the 3.4.0-dev and I bet it'll be as slow as 3.4.0-dev. And/or config 3.4.0/master without Another suggestion: You may want to run the |
Would you mind posting the exact command (and what dir I should execute it, and what env vars it requires)? |
Easiest if you run |
I did this. The uncompressed output is 900MB+. Here's the compressed log: tests-out-s.txt.gz |
Describe the bug
All the other tests take within 1 to 10 seconds.
oqs_tlssig
test takes about 272 seconds. It used to run on par with the other tests. I think something is wrong here.This is with OpenSSL master.
To Reproduce
Configure, build, and run
scripts/runtests.sh
. Observe the timing.Expected behavior
Here's the timing from the Macports-installed OpenSSL 3.3.1 4 Jun 2024 (Library: OpenSSL 3.3.1 4 Jun 2024):
Environment (please complete the following information):
OpenSSL 3.4.0-dev (Library: OpenSSL 3.4.0-dev )
0.6.2-dev
Please run the following commands to obtain the version information:
The text was updated successfully, but these errors were encountered: