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

Prune hanging instances longer than 2 hours #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

samuel40791765
Copy link
Owner

Test

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

Use s2n-bignum's inversion modulo the field characteristic
for curves P-256/384/521. This gives us the following
performance improvements:
```
_____Apple M1____| before |  after | speedup |
P-256 ECDH       |  22724 |  23419 |   1.03x |
P-256 ECDSA sign |  60677 |  69731 |   1.15x |
P-384 ECDH       |   5863 |   6217 |   1.06x |
P-384 ECDSA sign |  13232 |  15011 |   1.13x |
P-521 ECDH       |   4041 |   4163 |   1.03x |
P-521 ECDSA sign |   7079 |   7584 |   1.07x |

______x86_64_____| before |  after | speedup |
P-256 ECDH       |  19410 |  20408 |   1.05x |
P-256 ECDSA sign |  54477 |  63617 |   1.17x |
P-384 ECDH       |   5309 |   5599 |   1.05x |
P-384 ECDSA sign |  12087 |  13780 |   1.14x |
P-521 ECDH       |   3539 |   3677 |   1.04x |
P-521 ECDSA sign |   6584 |   7068 |   1.07x |

_______GV4_______| before |  after | speedup |
P-256 ECDH       |  16642 |  17491 |   1.05x |
P-256 ECDSA sign |  51527 |  61108 |   1.18x |
P-384 ECDH       |   4208 |   4453 |   1.06x |
P-384 ECDSA sign |   9848 |  11308 |   1.15x |
P-521 ECDH       |   2668 |   2811 |   1.05x |
P-521 ECDSA sign |   5092 |   5626 |   1.10x |
```
@samuel40791765 samuel40791765 changed the title Prune hanging instances longer than 3 hours Prune hanging instances longer than 2 hours Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants