dotfiles/optim/bbr.sh

8 lines
174 B
Bash
Raw Normal View History

2020-09-22 01:51:40 +00:00
#!/bin/sh
if ! lsmod | grep bbr; then
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
fi