The initial TCP RTO value of 3s is too long for most LAN-based applications. How can I tune it lower? Is there a sysctl?
Linux – How to Tune Initial TCP Retransmit Timeout
linuxlinux-kerneltcp
linuxlinux-kerneltcp
The initial TCP RTO value of 3s is too long for most LAN-based applications. How can I tune it lower? Is there a sysctl?
Best Answer
See this blog post for how you can make an eBPF program that will override the timeout.
In short, you need to load this
sockops
program:You can compile and load it with: