• 四季予你

    现在的配置

    net.core.default_qdisc = fq

    net.ipv4.tcp_congestion_control = bbr

    net.core.rmem_max = 67108864

    net.core.wmem_max = 67108864

    net.core.rmem_default = 1048576

    net.core.wmem_default = 1048576

    net.core.optmem_max = 2048576

    net.ipv4.tcp_rmem = 4096 87380 67108864

    net.ipv4.tcp_wmem = 4096 65536 67108864

    net.ipv4.tcp_fastopen = 3

    net.ipv4.tcp_slow_start_after_idle = 0

    net.core.somaxconn = 4096

    net.ipv4.tcp_max_syn_backlog = 8192

    net.ipv4.tcp_tw_reuse = 1

    net.ipv4.tcp_fin_timeout = 30

    主楼
  • hongdashao

    这代码配置tcp优化么

    #1
  • 四季予你

    是的,根据延迟和机器内存配置TCP

    #4
  • bakohok

    @四季予你 #0 这是在哪里配置的?

    #2
  • kstg4690748

    哪里配置的?AI?

    #3
  • plyu007

    实际起效就这2行

    net.core.default_qdisc = fq

    net.ipv4.tcp_congestion_control = bbr

    #5
  • qppini

    心理安慰罢了

    #6

发表回复

登录后回复