~fkooman/vpn-documentation

ref: fefa8a67d1bb4afa2d24cda3dea66e940a5f9a95 vpn-documentation/BBR.md -rw-r--r-- 921 bytes
fefa8a67François Kooman remove EXPIRY_AT_NIGHT 4 months ago

#title: Bottleneck Bandwidth and Round-trip propagation time (BBR) description: Changing Congestion Control Algorithm category: advanced

There's this shiny BBR congestion control! It is not universally accepted as a good solution according to Wikipedia, but it is an option to improve TCP throughput in some cases it seems.

This is currently only supported on Fedora and Debian. CentOS 8 also supports it, but we do not yet support CentOS 8.

Create the file /etc/sysctl.d/71-congestion.conf and put these lines in it:

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr

To enable, use sysctl --system or reboot.

To verify it is configured properly:

$ /sbin/sysctl net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control = bbr
$ /sbin/sysctl net.core.default_qdisc
net.core.default_qdisc = fq