FS#76791 - [gnutls] Enable KTLS

Attached to Project: Arch Linux
Opened by Aviana Cruz (AvianaCruz) - Saturday, 10 December 2022, 05:41 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 24 January 2023, 20:04 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upstream update (probably https://gitlab.com/gnutls/gnutls/-/commit/7b700dbcd5907944a7dd2f74cd26ad8586cd4bac), enabling KTLS not causes tests failure now.
We can also try to enable KTLS by default now, or after a new version is released because the fallback mechanism is not properly implemented in the current version (https://gitlab.com/gnutls/gnutls/-/commit/bfe8e64a3c17c1d6673702ea03e659e6bd7fefd0).
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 24 January 2023, 20:04 GMT
Reason for closing:  Deferred
Comment by Aviana Cruz (AvianaCruz) - Saturday, 10 December 2022, 05:55 GMT
I built gnutls with KTLS enabled and the tests passed. But after I enabled KTLS in /etc/gnutls/config, the CPU usage of `wget` becomes much higher that it nearly consumes a core even when the download speed is around hundreds of kb per second.
Comment by Andreas Radke (AndyRTR) - Saturday, 10 December 2022, 10:17 GMT
This would need a clean implementation plan like this one:

https://fedoraproject.org/wiki/Changes/KTLSSupportForGnuTLS and implemented there:
https://src.fedoraproject.org/rpms/gnutls/c/bde9494b1be45f67a187600f2f3095f91af27a07?branch=rawhide

Maybe you can do some further testing and provide some patches.

Loading...