From 1ce40c7a36d94059dd20d525ba10d44d45539ed7 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Wed, 8 Jan 2025 22:13:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=86=85=E6=A0=B8=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 05.PVE制作虚拟机模板.md | 8 ++++---- 07.PVE制作TS服务器.md | 8 ++++---- src/debian/debian_dns_99_sysctl.conf | 8 ++++---- src/debian/debian_ts_99_sysctl.conf | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index af63577..e45ac67 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -221,8 +221,8 @@ net.core.netdev_budget = 600 net.core.netdev_budget_usecs = 20000 net.core.somaxconn = 8192 -net.core.rmem_max = 16777216 -net.core.wmem_max = 16777216 +net.core.rmem_max = 26214400 +net.core.wmem_max = 655360 net.ipv4.conf.all.log_martians = 1 @@ -233,8 +233,8 @@ net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 net.ipv4.tcp_notsent_lowat = 131072 -net.ipv4.tcp_rmem = 16384 262144 8388608 -net.ipv4.tcp_wmem = 32768 524288 16777216 +net.ipv4.tcp_rmem = 4096 87380 26214400 +net.ipv4.tcp_wmem = 4096 16384 655360 net.ipv6.conf.all.use_tempaddr = 0 net.ipv6.conf.default.use_tempaddr = 0 diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 7bc0d79..8734c88 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -218,8 +218,8 @@ net.core.netdev_budget_usecs = 20000 net.core.rps_sock_flow_entries = 32768 net.core.somaxconn = 8192 -net.core.rmem_max = 16777216 -net.core.wmem_max = 16777216 +net.core.rmem_max = 26214400 +net.core.wmem_max = 655360 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.default.accept_redirects = 0 @@ -248,8 +248,8 @@ net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 net.ipv4.tcp_notsent_lowat = 131072 -net.ipv4.tcp_rmem = 16384 262144 8388608 -net.ipv4.tcp_wmem = 32768 524288 16777216 +net.ipv4.tcp_rmem = 4096 87380 26214400 +net.ipv4.tcp_wmem = 4096 16384 655360 net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.default.accept_ra = 0 diff --git a/src/debian/debian_dns_99_sysctl.conf b/src/debian/debian_dns_99_sysctl.conf index cdcc020..dc16d2a 100644 --- a/src/debian/debian_dns_99_sysctl.conf +++ b/src/debian/debian_dns_99_sysctl.conf @@ -13,8 +13,8 @@ net.core.netdev_budget = 600 net.core.netdev_budget_usecs = 20000 net.core.somaxconn = 8192 -net.core.rmem_max = 16777216 -net.core.wmem_max = 16777216 +net.core.rmem_max = 26214400 +net.core.wmem_max = 655360 net.ipv4.conf.all.log_martians = 1 @@ -25,8 +25,8 @@ net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 net.ipv4.tcp_notsent_lowat = 131072 -net.ipv4.tcp_rmem = 16384 262144 8388608 -net.ipv4.tcp_wmem = 32768 524288 16777216 +net.ipv4.tcp_rmem = 4096 87380 26214400 +net.ipv4.tcp_wmem = 4096 16384 655360 net.ipv6.conf.all.use_tempaddr = 0 net.ipv6.conf.default.use_tempaddr = 0 diff --git a/src/debian/debian_ts_99_sysctl.conf b/src/debian/debian_ts_99_sysctl.conf index 35d2e64..460ba86 100644 --- a/src/debian/debian_ts_99_sysctl.conf +++ b/src/debian/debian_ts_99_sysctl.conf @@ -19,8 +19,8 @@ net.core.netdev_budget_usecs = 20000 net.core.rps_sock_flow_entries = 32768 net.core.somaxconn = 8192 -net.core.rmem_max = 16777216 -net.core.wmem_max = 16777216 +net.core.rmem_max = 26214400 +net.core.wmem_max = 655360 net.ipv4.conf.all.accept_redirects = 0 net.ipv4.conf.default.accept_redirects = 0 @@ -49,8 +49,8 @@ net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 net.ipv4.tcp_notsent_lowat = 131072 -net.ipv4.tcp_rmem = 16384 262144 8388608 -net.ipv4.tcp_wmem = 32768 524288 16777216 +net.ipv4.tcp_rmem = 4096 87380 26214400 +net.ipv4.tcp_wmem = 4096 16384 655360 net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.default.accept_ra = 0