4 ms·
Using Kernel TLS (kTLS) (2023)
- 1vuio0pswjnm7 2y agoNo SNI: https://web.archive.org/web/20230204215347if_/https://delthas.fr/blog/2023/kernel-tls/ https://web.archive.org/web/20230204215347if_/https://deltha...
- ycombinatrix 2y agoI thought you meant kTLS doesn't support SNI lol
- 1vuio0pswjnm7 2y agoIt's incredibly easy to be misunderstood on HN. "No SNI" just means the URL is a way to retrieve the submitted page without using SNI.
- cedws 2y agoAnybody out there using kTLS with WebSockets?
- toast0 2y agoI suspect not too many. It's a good bit of fiddling, and the benefits will be much less for WebSockets where the data is necessarily going to flow through userland. NIC TLS will save a bit of CPU, but it's not the big win you get with sendfile where you can avoid loading data from ram into registers, ciphering it, and writing it into (different) ram before DMA to the NIC; if you're high traffic mostly static files, you end up memory bandwidth limited, so saving a read and a write helps alot.