sysctl.si › Parameters › net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control
Algorithm that decides how fast TCP sends.
- Default
- cubic
- Typical value
- bbr
When to change it
BBR often helps on long or lossy paths. Check that the tcp_bbr module is available and test with your own traffic.
Check the current value
sysctl net.ipv4.tcp_congestion_control
Change it until the next reboot
sudo sysctl -w net.ipv4.tcp_congestion_control=bbr
Make it permanent
echo "net.ipv4.tcp_congestion_control = bbr" | sudo tee /etc/sysctl.d/99-custom.conf sudo sysctl --system
Related parameters
net.core.somaxconn · net.ipv4.tcp_max_syn_backlog · net.core.netdev_max_backlog · net.core.rmem_max · net.core.wmem_max · net.core.default_qdisc · net.ipv4.tcp_tw_reuse · net.ipv4.tcp_fin_timeout
Generate a full sysctl config for your server
Values are starting points. Test on a staging machine and measure before and after.