Mailing List Archive

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record
Christian Heimes <lists@cheimes.de> added the comment:

Josh, could you please rebase your branch and create a pull request? The PR process will verify that you have submitted a CLA.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue37355>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record [ In reply to ]
Change by Josh Snyder <hashbrowncipher@gmail.com>:


----------
keywords: +patch
pull_requests: +24203
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25478

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue37355>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record [ In reply to ]
Safihre <safihre@sabnzbd.org> added the comment:

It would be very beneficial if this gets added. In our application (usenet client) I have wondered for years why we had to limit ourselves to 16k blocks and have such lower speeds compared to non SSL connections.

----------
nosy: +Safihre

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue37355>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record [ In reply to ]
Christian Heimes <lists@cheimes.de> added the comment:

The PR is still experimental and only applies to one direction. I doubt that it will be ready, reviewed, and approved for feature freeze of 3.10.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue37355>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record [ In reply to ]
Safihre <safihre@sabnzbd.org> added the comment:

Understandable, as the feature freeze was yesterday :)

Just like to note that we have a 100.000 or so users (which I know is very little compared to overal number of Python users) of our application that this could really help.

We have used a lot of CPU cycles over the past year doing many repeated 'recv(16384)' for SSL-sockets.

Thank you!

----------

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue37355>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record [ In reply to ]
Christian Heimes <lists@cheimes.de> added the comment:

You could try to convince Pablo. He is the release manager for 3.10. He can grant exceptions.

I also included Benjamin, Nathaniel, and Victor in the nosy list. They have a deeper understanding of the network I/O layer than me. I mostly take care of the crypto and X.509 part of the module.

----------
nosy: +benjamin.peterson, njs, pablogsal, vstinner

_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue37355>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com