Nginx with Ktls and sendfile

Hi, Dears,

I try improving performance in my servers with nginx and ubuntu and i change my conf to use kernel tls and SSL_sendfile and for my surprise with ktls the nginx is more slow .

I change my conf puting:
sendfile on;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_conf_command Options KTLS;

And after change i testing with :
curl -k -s -o /dev/null -w ‘%{speed_download}\n’ https://192.168.0.1:443

Do you have some idea, why is this ? Do you have some suggestions ?

If you have any suggestions I can also test it in some other way.

Thanks a Lot,
Marcelo

Moving to Troubleshooting Category.

Does anyone have any suggestions or tips?

Did you take a look at this blog?

It has a pretty comprehensive walk through of what needs to be done at the NGINX layer, as well as any system changes that maybe required, along with example test cases.