Instructions
The following instructions are required to be completed on both the Node and Gateway machines.
- First, modify the TCP congestion control algorithm (CCA) to use TCP Bottleneck Bandwidth and RRT (BBR).
$ sudo sysctl -w net.ipv4.tcp_congestion_control=bbr
- Modify the default queuing discipline to be fq; this is required to use BBR.
$ sudo sysctl -w net.core.default_qdisc=fq
- Apply these two options to sysctl.conf so they persist on reboot.
$ sudo /bin/bash -c 'echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf'
$ sudo /bin/bash -c 'echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf'