Note: Ubuntu 18.04 was released a long time ago, the changes are quite big, the kernel has also been directly upgraded to the official version 4.15, and the BBR kernel requirement is 4.9, which means that it is met, so we can quickly turn on BBR without changing the kernel , Only a few commands are needed, here is a brief introduction to the method, this tutorial is for Novice. Well, although there is no error solution, you can refer to it...
Enter the commands in order:
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf sysctl -p
Check whether it is turned on:
sysctl net.ipv4.tcp_available_congestion_control lsmod | grep bbr