mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Use cubic and bbr by default
This commit is contained in:
parent
3882b8f1c9
commit
cba153e2d7
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,7 @@ net.ipv4.tcp_wmem = 4096 65536 33554432
|
||||||
net.ipv4.tcp_mtu_probing = 0
|
net.ipv4.tcp_mtu_probing = 0
|
||||||
|
|
||||||
# for low-latency network, use cubic instead
|
# for low-latency network, use cubic instead
|
||||||
net.ipv4.tcp_congestion_control = bbr
|
net.ipv4.tcp_congestion_control = cubic
|
||||||
net.core.default_qdisc = fq
|
net.core.default_qdisc = fq
|
||||||
# Default conntrack is too small
|
# Default conntrack is too small
|
||||||
net.netfilter.nf_conntrack_max = 131072
|
net.netfilter.nf_conntrack_max = 131072
|
||||||
|
@ -56,4 +56,5 @@ net.ipv4.conf.default.log_martians = 0
|
||||||
# MPTCP settings
|
# MPTCP settings
|
||||||
net.mptcp.mptcp_checksum = 0
|
net.mptcp.mptcp_checksum = 0
|
||||||
net.mptcp.mptcp_syn_retries = 2
|
net.mptcp.mptcp_syn_retries = 2
|
||||||
|
net.mptcp.mptcp_scheduler = blest
|
||||||
net.ipv4.tcp_ecn=1
|
net.ipv4.tcp_ecn=1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue