tcp_delack_min linux tcp内核参数在哪里?

时间:2014-11-21 06:12:59

标签: linux tcp parameters kernel

我使用2.6.9-89.ELsmp#1 SMP Mon Jun 22 12:31:33 EDT 2009 x86_64 x86_64 x86_64 GNU / Linux 我想控制tcp延迟确认时间。 但是,我找不到tcp_delack_min参数。


    sysctl -a | grep tcp
    sunrpc.tcp_slot_table_entries = 16
    net.ipv4.tcp_slow_start_after_idle = 1
    net.ipv4.tcp_workaround_signed_windows = 1
    net.ipv4.tcp_bic_beta = 819
    net.ipv4.tcp_tso_win_divisor = 8
    net.ipv4.tcp_moderate_rcvbuf = 1
    net.ipv4.tcp_bic_low_window = 14
    net.ipv4.tcp_bic_fast_convergence = 1
    net.ipv4.tcp_bic = 1
    net.ipv4.tcp_vegas_gamma = 2
    net.ipv4.tcp_vegas_beta = 6
    net.ipv4.tcp_vegas_alpha = 2
    net.ipv4.tcp_vegas_cong_avoid = 0
    net.ipv4.tcp_westwood = 0
    net.ipv4.tcp_no_metrics_save = 0
    net.ipv4.tcp_low_latency = 0
    net.ipv4.tcp_frto = 0
    net.ipv4.tcp_tw_reuse = 0
    net.ipv4.tcp_adv_win_scale = 2
    net.ipv4.tcp_app_win = 31
    net.ipv4.tcp_rmem = 4096    87380   174760
    net.ipv4.tcp_wmem = 4096    16384   131072
    net.ipv4.tcp_mem = 786432   1048576 1572864
    net.ipv4.tcp_dsack = 1
    net.ipv4.tcp_ecn = 0
    net.ipv4.tcp_reordering = 3
    net.ipv4.tcp_fack = 1
    net.ipv4.tcp_orphan_retries = 0
    net.ipv4.tcp_max_syn_backlog = 10000
    net.ipv4.tcp_rfc1337 = 0
    net.ipv4.tcp_stdurg = 0
    net.ipv4.tcp_abort_on_overflow = 0
    net.ipv4.tcp_tw_recycle = 0
    net.ipv4.tcp_syncookies = 0
    net.ipv4.tcp_fin_timeout = 60
    net.ipv4.tcp_retries2 = 15
    net.ipv4.tcp_retries1 = 3
    net.ipv4.tcp_keepalive_intvl = 75
    net.ipv4.tcp_keepalive_probes = 9
    net.ipv4.tcp_keepalive_time = 7200
    net.ipv4.tcp_max_tw_buckets = 180000
    net.ipv4.tcp_max_orphans = 262144
    net.ipv4.tcp_synack_retries = 5
    net.ipv4.tcp_syn_retries = 5
    net.ipv4.tcp_retrans_collapse = 1
    net.ipv4.tcp_sack = 1
    net.ipv4.tcp_window_scaling = 1
    net.ipv4.tcp_timestamps = 1

其中是tcp_delack_min ???

2 个答案:

答案 0 :(得分:2)

在内核源代码中:

  

./ include / net / tcp.h:#define TCP_DELACK_MAX((无符号)(HZ / 5))
  / *发送ACK * /

之前延迟的最长时间      

./ include / net / tcp.h:#define TCP_DELACK_MIN((无符号)(HZ / 25))
  / *在发送ACK * /

之前延迟的最短时间

答案 1 :(得分:2)

它仅适用于某些 - 主要是实时聚焦的 - 内核分支。许多与此内核参数相关的文档都是指某些RHEL机器将使用的MRG(Messaging Realtime-Grid)内核变体。