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 <noreply@commandcode.ai>
This commit is contained in:
1 parent
f1adc7e885
commit
471b0653a6
7 files changed
+16
-16
No files matched your search
@@ -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
|
||||
|
||||
+2
-2
@@ -86,8 +86,8 @@ cat >> /etc/sysctl.conf <<SYSCTL
|
||||
|
||||
# vpsmgr TCP tuning
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_rmem = 8192 262144 4194304
|
||||
net.ipv4.tcp_wmem = 4096 16384 4194304
|
||||
net.ipv4.tcp_rmem = 8192 262144 8388608
|
||||
net.ipv4.tcp_wmem = 4096 16384 8388608
|
||||
net.ipv4.tcp_window_scaling = 1
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
SYSCTL
|
||||
|
||||
@@ -85,8 +85,8 @@ cat >> /etc/sysctl.conf <<SYSCTL
|
||||
|
||||
# vpsmgr TCP tuning
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_rmem = 8192 262144 4194304
|
||||
net.ipv4.tcp_wmem = 4096 16384 4194304
|
||||
net.ipv4.tcp_rmem = 8192 262144 8388608
|
||||
net.ipv4.tcp_wmem = 4096 16384 8388608
|
||||
net.ipv4.tcp_window_scaling = 1
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
SYSCTL
|
||||
|
||||
@@ -84,8 +84,8 @@ cat >> /etc/sysctl.conf <<SYSCTL
|
||||
|
||||
# vpsmgr TCP tuning
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_rmem = 8192 262144 4194304
|
||||
net.ipv4.tcp_wmem = 4096 16384 4194304
|
||||
net.ipv4.tcp_rmem = 8192 262144 8388608
|
||||
net.ipv4.tcp_wmem = 4096 16384 8388608
|
||||
net.ipv4.tcp_window_scaling = 1
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
SYSCTL
|
||||
|
||||
@@ -148,8 +148,8 @@ cat >> /etc/sysctl.conf <<SYSCTL
|
||||
|
||||
# vpsmgr TCP tuning
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_rmem = 8192 262144 4194304
|
||||
net.ipv4.tcp_wmem = 4096 16384 4194304
|
||||
net.ipv4.tcp_rmem = 8192 262144 8388608
|
||||
net.ipv4.tcp_wmem = 4096 16384 8388608
|
||||
net.ipv4.tcp_window_scaling = 1
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
SYSCTL
|
||||
|
||||
@@ -108,8 +108,8 @@ cat >> /etc/sysctl.conf <<SYSCTL
|
||||
|
||||
# vpsmgr TCP tuning
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_rmem = 8192 262144 4194304
|
||||
net.ipv4.tcp_wmem = 4096 16384 4194304
|
||||
net.ipv4.tcp_rmem = 8192 262144 8388608
|
||||
net.ipv4.tcp_wmem = 4096 16384 8388608
|
||||
net.ipv4.tcp_window_scaling = 1
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
SYSCTL
|
||||
|
||||
@@ -86,8 +86,8 @@ cat >> /etc/sysctl.conf <<SYSCTL
|
||||
|
||||
# vpsmgr TCP tuning
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_rmem = 8192 262144 4194304
|
||||
net.ipv4.tcp_wmem = 4096 16384 4194304
|
||||
net.ipv4.tcp_rmem = 8192 262144 8388608
|
||||
net.ipv4.tcp_wmem = 4096 16384 8388608
|
||||
net.ipv4.tcp_window_scaling = 1
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
SYSCTL
|
||||
|
||||
Reference in new issue
Block a user