此内容没有您所选择的语言版本。

3.7. Reducing the TCP Delayed ACK Timeout


On Red Hat Enterprise Linux, there are two modes used by TCP to acknowledge data reception:
Quick ACK
  • This mode is used at the start of a TCP connection so that the congestion window can grow quickly.
  • The acknowledgment (ACK) timeout interval (ATO) is set to tcp_ato_min, the minimum timeout value.
  • To change the default TCP ACK timeout value, write the required value in milliseconds to the /proc/sys/net/ipv4/tcp_ato_min file:
    ~]# echo 4 > /proc/sys/net/ipv4/tcp_ato_min
    Copy to Clipboard Toggle word wrap
Delayed ACK
  • After the connection is established, TCP assumes this mode, in which ACKs for multiple received packets can be sent in a single packet.
  • ATO is set to tcp_delack_min to restart or reset the timer.
  • To change the default TCP Delayed ACK value, write the required value in milliseconds to the /proc/sys/net/ipv4/tcp_delack_min file:
    ~]# echo 4 > /proc/sys/net/ipv4/tcp_delack_min
    Copy to Clipboard Toggle word wrap
TCP switches between the two modes depending on the current congestion.
Some applications that send small network packets could experience latencies due to the TCP quick and delayed acknowledgment timeouts, which previously were 40 ms by default. That means small packets from an application that seldom sends information through the network could experience a delay up to 40 ms to receive the acknowledgment that a packet has been received by the other side. To minimize this issue, both tcp_ato_min and tcp_delack_min timeouts are now 4 ms by default.
These default values are tunable and can be adjusted according to the needs of the user's environment, as described above.

Note

Using timeout values that are too low or too high might have a negative impact on the network throughput and latencies experienced by applications. Different environments might require different settings of these timeouts.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat