mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Set bbr for kernel 6.1 and bbr2 for 5.4 as default TCP Congestion control
This commit is contained in:
parent
3418554713
commit
591488fd8d
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ if [ "$(uci -q get network.globals.mptcp_path_manager)" = "" ]; then
|
|||
set network.globals.multipath='enable'
|
||||
set network.globals.mptcp_path_manager='fullmesh'
|
||||
set network.globals.mptcp_scheduler='blest'
|
||||
set network.globals.congestion='bbr'
|
||||
set network.globals.congestion='bbr2'
|
||||
set network.globals.mptcp_checksum=0
|
||||
set network.globals.mptcp_debug=0
|
||||
set network.globals.mptcp_syn_retries=4
|
||||
|
@ -19,7 +19,7 @@ if [ "$(uci -q get network.globals.mptcp_path_manager)" = "" ]; then
|
|||
EOF
|
||||
fi
|
||||
# BBRv2 is replaced by BBRv3
|
||||
if [ "$(uci -q get network.globals.congestion)" = "bbr2" ]; then
|
||||
if [ "$(uci -q get network.globals.congestion)" = "bbr2" ] && [ -z "$(uname -a | grep 5.4)" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set network.globals.congestion='bbr'
|
||||
commit network
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue