更新 1.sh 脚本,修改 sysctl 配置以使用 fq_codel 调度器

This commit is contained in:
mini2024
2025-04-06 02:24:05 +08:00
parent 1489ef502e
commit cc8f871969

4
1.sh
View File

@ -48,8 +48,8 @@ sysctl_config() {
SYSCTL_SETTINGS=( SYSCTL_SETTINGS=(
"net.core.rmem_max=16777216" "net.core.rmem_max=16777216"
"net.core.wmem_max=16777216" "net.core.wmem_max=16777216"
# "net.core.default_qdisc=fq_codel" "net.core.default_qdisc=fq_codel"
"net.core.default_qdisc=fq" # "net.core.default_qdisc=fq"
"net.ipv4.tcp_congestion_control=bbr" "net.ipv4.tcp_congestion_control=bbr"
"net.ipv4.tcp_slow_start_after_idle=0" "net.ipv4.tcp_slow_start_after_idle=0"
"net.ipv4.tcp_notsent_lowat=16384" "net.ipv4.tcp_notsent_lowat=16384"