mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Use bbr by default
This commit is contained in:
parent
0a711370c5
commit
f81944fb8c
2 changed files with 3 additions and 3 deletions
|
@ -257,9 +257,9 @@ fi
|
|||
|
||||
# Add OpenMPTCProuter VPS script version to /etc/motd
|
||||
if grep --quiet 'OpenMPTCProuter VPS' /etc/motd; then
|
||||
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.42 >:' /etc/motd
|
||||
sed -i 's:< OpenMPTCProuter VPS [0-9]*\.[0-9]* >:< OpenMPCTProuter VPS 0.43 >:' /etc/motd
|
||||
else
|
||||
echo '< OpenMPTCProuter VPS 0.42 >' >> /etc/motd
|
||||
echo '< OpenMPTCProuter VPS 0.43 >' >> /etc/motd
|
||||
fi
|
||||
|
||||
if [ "$update" = "0" ]; then
|
||||
|
|
|
@ -42,7 +42,7 @@ net.ipv4.tcp_wmem = 4096 87380 134217728
|
|||
net.ipv4.tcp_mtu_probing = 0
|
||||
|
||||
# for low-latency network, use cubic instead
|
||||
net.ipv4.tcp_congestion_control = olia
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
|
||||
# Default conntrack is too small
|
||||
net.netfilter.nf_conntrack_max = 131072
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue