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

Release GIL during cipher update #11900

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Release GIL during cipher update #11900

wants to merge 1 commit into from

Conversation

kcking
Copy link

@kcking kcking commented Nov 5, 2024

Related to discussion in #11585.

@alex
Copy link
Member

alex commented Nov 5, 2024

Can you share anything about the performance impact of this?

I'm modestly nervous about performance overhead for very small chunks, but what can you do 🙃

@kcking
Copy link
Author

kcking commented Nov 5, 2024

modestly nervous about performance overhead

Releasing the GIL should be order of microseconds. I could put together a benchmark for small blocks to see if the overhead is meaningful

Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you can share some performance numbers, we can get this merged. Thanks!

@alex
Copy link
Member

alex commented Nov 5, 2024

Ooops, crossed streams :-)

Do you have any numbers for the impact of this on your application?

@kcking
Copy link
Author

kcking commented Nov 5, 2024

I can get some for you hopefully tonight, thanks for the quick review!

@alex
Copy link
Member

alex commented Nov 5, 2024

Sounds great, thanks for the contribution

@reaperhulk
Copy link
Member

Just a quick ping re: perf numbers 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants