by LinuxBender · 4y ago · 0 comments
ip route change local 127.0.0.0/8 dev lo initcwnd 128 initrwnd 128
ip route | grep default | while read p; do ip route change $p initcwnd 32 initrwnd 32; done
I would suggest performing significant testing from high latency connections before making changes on anything important. i.e. iperf3/nuttcp from a VM in another country. This would also be a good time to get numbers from different congestion control algorithms and default qdiscs. e.g. net.ipv4.tcp_congestion_control and net.core.default_qdisc [1][Edit] I should also add that changing these values may require different methods depending on the distribution. [2]
[1] - https://www.kernel.org/doc/Documentation/sysctl/net.txt
[2] - https://serverfault.com/questions/546523/linux-initcwnd-and-...
No comments yet.