跳至主要內容

kernel 网络相关的参数优化

Change Lee...小于 1 分钟Linuxnetkernel

kernel 网络相关的参数优化

/etc/sysctl.conf

net.ipv4.ip_local_port_range = 1024 65535
# 4096 memory size
net.ipv4.tcp_max_syn_backlog = 4096
# 33554432 = 32M 中等流量
net.core.rmem_max = 33554432
net.core.wmem_max = 33554432

上次编辑于:
贡献者: change
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v3.1.3