diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index 10c7f8c..547e6fe 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -191,15 +191,16 @@ net.ipv4.tcp_congestion_control = bbr # Other adjustable system parameters +net.core.netdev_budget = 600 +net.core.netdev_budget_usecs = 20000 + net.ipv4.conf.all.log_martians = 1 -net.ipv4.igmp_max_memberships = 100 +net.ipv4.igmp_max_memberships = 256 net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 -net.ipv4.tcp_max_orphans = 4096 -net.ipv4.tcp_max_tw_buckets = 4096 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.use_tempaddr = 0 diff --git a/src/debian/debian_99_sysctl.conf b/src/debian/debian_99_sysctl.conf index 72d5ede..53fe8a9 100644 --- a/src/debian/debian_99_sysctl.conf +++ b/src/debian/debian_99_sysctl.conf @@ -9,15 +9,16 @@ net.ipv4.tcp_congestion_control = bbr # Other adjustable system parameters +net.core.netdev_budget = 600 +net.core.netdev_budget_usecs = 20000 + net.ipv4.conf.all.log_martians = 1 -net.ipv4.igmp_max_memberships = 100 +net.ipv4.igmp_max_memberships = 256 net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 -net.ipv4.tcp_max_orphans = 4096 -net.ipv4.tcp_max_tw_buckets = 4096 net.ipv4.tcp_syncookies = 1 net.ipv6.conf.all.use_tempaddr = 0