Configuring Congestion Control Algorithm

Instructions
The following instructions are required to be completed on both the Node and Gateway machines.

  1. 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
  2. Modify the default queuing discipline to be fq; this is required to use BBR.
    $ sudo sysctl -w net.core.default_qdisc=fq
  3. 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'
3 Likes