Enable TCP BBR on Ubuntu 18.04/20.04

How to enable TCP BBR on Ubuntu 20.04 and 18.04, including kernel parameter checks and verification for better network throughput.

Ubuntu kernels in these versions already support BBR; enable via sysctl:

1
2
3
echo net.core.default_qdisc=fq >> /etc/sysctl.conf
echo net.ipv4.tcp_congestion_control=bbr >> /etc/sysctl.conf
sysctl -p

Verify:

1
2
sysctl net.ipv4.tcp_congestion_control
lsmod | grep bbr
记录并分享
Built with Hugo
Theme Stack designed by Jimmy