Skip to content

tcp: congestion control refactoring

Yuchung Cheng netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tcp: retransmit after recovery processing and congestion controlnet/ipv4/tcp_input.c+46 -120 replies
2/6tcp: move cwnd reduction after recovery state procesingnet/ipv4/tcp_input.c+28 -320 replies
3/6tcp: new delivery accountinginclude/linux/tcp.h net/ipv4/tcp_input.c+16 -60 replies
4/6tcp: refactor pkts acked accountingnet/ipv4/tcp_input.c+3 -40 replies
5/6tcp: make congestioin control more robust against reorderingnet/ipv4/tcp_input.c+1 -10 replies
6/6tcp: tcp_cong_control helpernet/ipv4/tcp_input.c+19 -120 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/6] tcp: congestion control refactoring

This patch set refactors the sequence of congestion control, loss recovery, and transmission logic in TCP ack processing.

The design goal is to decouple and sequence them in the following order:

0. ACK accounting: free or tag sent packets [unchanged]

1. loss recovery: identify lost/ecn packets and update congestion state

2. congestion control: up/down cwnd and pacing rate based on (1)

3. transmission: send new or retransmit old based on (1) and (2)

This refactoring makes the cwnd changes more clear because it's done in one place. The packet accounting is also more robust especially for connections that do not support SACK. Patch 1-4 and 6 are refactoring and patch 5 improves TCP performance under reordering.

Yuchung Cheng (6):
tcp: retransmit after recovery processing and congestion control
tcp: move cwnd reduction after recovery state procesing
tcp: new delivery accounting
tcp: refactor pkts acked accounting
tcp: make congestioin control more robust against reordering
tcp: tcp_cong_control helper

 include/linux/tcp.h  |   1 +
 net/ipv4/tcp_input.c | 147 +++++++++++++++++++++++++++++++++------------------
 2 files changed, 96 insertions(+), 52 deletions(-)
Signature · 1 line
2.6.0.rc2.230.g3dd15c0