From 471b0653a69e2ccb1fd72d51545bf07bfd05e59e Mon Sep 17 00:00:00 2001 From: bluebluesoda <300733005+bluebluesoda@users.noreply.github.com> Date: Sun, 20 Sep 2026 07:19:13 +0000 Subject: [PATCH] chore(net): raise the TCP socket buffer max to 8 MiB - host sysctl (20-network.sh): tcp_rmem/tcp_wmem max, rmem_max and wmem_max all go from 4194304 to 8388608 - image builds (50/60/70/80/90 + eol-debian11): tcp_rmem/tcp_wmem max bumped the same way - autotune defaults (262144) and the min values are untouched Co-authored-by: CommandCodeBot --- scripts/20-network.sh | 8 ++++---- scripts/50-image.sh | 4 ++-- scripts/60-rhel-image.sh | 4 ++-- scripts/70-opensuse-image.sh | 4 ++-- scripts/80-debian-dev-image.sh | 4 ++-- scripts/90-arch-image.sh | 4 ++-- scripts/eol-debian11-image.sh | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/20-network.sh b/scripts/20-network.sh index e63e1f6..41d973e 100755 --- a/scripts/20-network.sh +++ b/scripts/20-network.sh @@ -22,10 +22,10 @@ net.ipv6.conf.default.use_tempaddr = 0 net.core.netdev_max_backlog = 8192 net.core.rmem_default = 262144 net.core.wmem_default = 262144 -net.ipv4.tcp_rmem = 8192 262144 4194304 -net.ipv4.tcp_wmem = 4096 16384 4194304 -net.core.rmem_max = 4194304 -net.core.wmem_max = 4194304 +net.ipv4.tcp_rmem = 8192 262144 8388608 +net.ipv4.tcp_wmem = 4096 16384 8388608 +net.core.rmem_max = 8388608 +net.core.wmem_max = 8388608 net.ipv4.tcp_window_scaling = 1 net.ipv4.tcp_slow_start_after_idle = 0 EOF diff --git a/scripts/50-image.sh b/scripts/50-image.sh index ed2b0ac..132bc54 100755 --- a/scripts/50-image.sh +++ b/scripts/50-image.sh @@ -86,8 +86,8 @@ cat >> /etc/sysctl.conf <> /etc/sysctl.conf <> /etc/sysctl.conf <> /etc/sysctl.conf <> /etc/sysctl.conf <> /etc/sysctl.conf <