[misc] move bbr to optim folder

This commit is contained in:
Klesh Wong 2020-09-22 09:51:40 +08:00
parent df243e1081
commit 12499a1de8

7
optim/bbr.sh Executable file
View File

@ -0,0 +1,7 @@
#!/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