更新 sysctl 参数

This commit is contained in:
CallMeR
2025-12-01 13:49:52 +08:00
parent 55a391f95d
commit 9f6a2fe42d
4 changed files with 32 additions and 28 deletions
+7 -7
View File
@@ -188,12 +188,12 @@ net.core.default_qdisc = fq_codel
# Other adjustable system parameters
net.core.netdev_budget = 600
net.core.netdev_budget_usecs = 20000
net.core.netdev_budget = 1200
net.core.netdev_budget_usecs = 10000
net.core.somaxconn = 8192
net.core.rmem_max = 26214400
net.core.wmem_max = 655360
net.core.rmem_max = 33554432
net.core.wmem_max = 33554432
net.ipv4.igmp_max_memberships = 256
@@ -201,10 +201,10 @@ net.ipv4.tcp_challenge_ack_limit = 1000
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 120
net.ipv4.tcp_max_syn_backlog = 512
net.ipv4.tcp_max_syn_backlog = 2048
net.ipv4.tcp_notsent_lowat = 131072
net.ipv4.tcp_rmem = 4096 87380 26214400
net.ipv4.tcp_wmem = 4096 16384 655360
net.ipv4.tcp_rmem = 4096 4194304 33554432
net.ipv4.tcp_wmem = 4096 4194304 33554432
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0