Skip to content

new mechanism to ACK immediately

Yuchung Cheng netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tcp: mandate a one-time immediate ACKinclude/net/inet_connection_sock.h net/ipv4/tcp_input.c+5 -20 replies
2/4tcp: avoid resetting ACK timer in DCTCPnet/ipv4/tcp_dctcp.c+2 -20 replies
3/4tcp: always ACK immediately on hole repairsnet/ipv4/tcp_input.c+2 -20 replies
4/4tcp: avoid resetting ACK timer upon receiving packet with ECN CWR flagnet/ipv4/tcp_input.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] new mechanism to ACK immediately

This patch is a follow-up feature improvement to the recent fixes on the performance issues in ECN (delayed) ACKs. Many of the fixes use tcp_enter_quickack_mode routine to force immediate ACKs. However the routine also reset tracking interactive session. This is not ideal because these immediate ACKs are required by protocol specifics unrelated to the interactiveness nature of the application.

This patch set introduces a new flag to send a one-time immediate ACK without changing the status of interactive session tracking. With this patch set the immediate ACKs are generated upon these protocol states:

1) When a hole is repaired
2) When CE status changes between subsequent data packets received
3) When a data packet carries CWR flag

Yuchung Cheng (4):
tcp: mandate a one-time immediate ACK
tcp: avoid resetting ACK timer in DCTCP
tcp: always ACK immediately on hole repairs
tcp: avoid resetting ACK timer upon receiving packet with ECN CWR flag

 include/net/inet_connection_sock.h |  3 ++-
 net/ipv4/tcp_dctcp.c               |  4 ++--
 net/ipv4/tcp_input.c               | 16 +++++++++-------
 3 files changed, 13 insertions(+), 10 deletions(-)
Signature · 1 line
2.18.0.597.ga71716f1ad-goog