-
-
Save foxoman/2513fb83806c176979d2b8a1348caedb to your computer and use it in GitHub Desktop.
Enable tcp_bbr for your debian/ubuntu (tested on debian)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#write config | |
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf | |
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf | |
#apply config | |
sysctl -p | |
#set fq to eth | |
sudo tc qdisc replace dev eth0 root fq pacing | |
#Backup write config: (Also affect ipv6 tcp) | |
echo bbr > /proc/sys/net/ipv4/tcp_congestion_control | |
#Check current status: | |
cat /boot/config-$(uname -r) | grep BBR | |
#if the result shows "m", it works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment