#阿里云内核调优

cat /etc/sysctl.conf

vm.swappiness = 0
net.ipv4.neigh.default.gc_stale_time=120

# see details in https://help.aliyun.com/knowledge_detail/39428.html
net.ipv4.conf.all.rp_filter=0
net.ipv4.conf.default.rp_filter=0
net.ipv4.conf.default.arp_announce = 2
net.ipv4.conf.lo.arp_announce=2
net.ipv4.conf.all.arp_announce=2

# see details in https://help.aliyun.com/knowledge_detail/41334.html
net.ipv4.tcp_max_tw_buckets = 5000
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 1024
net.ipv4.tcp_synack_retries = 2

kernel.sysrq=1

相关文章:

  • 2021-12-31
  • 2021-09-23
  • 2021-09-08
  • 2022-02-09
  • 2021-12-22
  • 2021-12-10
  • 2021-09-19
猜你喜欢
  • 2021-09-18
  • 2021-08-06
  • 2022-01-01
  • 2021-10-20
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案