I enabled KTLS ( https://www.nginx.com/blog/improving-nginx-performance-with-kernel-tls/amp/ ) and have the debug logs. However, lsmod shows tls module « Used by 0 » which according to the documentation means no instance of the module is currently being used. Should I worry ?
2 thoughts on “KTLS in nginx”
if you have proper debug message in logs – you should not. Or at least not about ktls. Do you have ‘sendfile()’ or ‘ssl\_sendfile()’ in logs? If you have none – you are not using sendfile at all and you should rethink your test.
Hi – I am the author of the blog post about KTLS. What operating system do you use and what openssl version?
What did you do to enable ktls? It is really dependent on the operating system.