Skip to content

mptcp: autotune related improvement

Paolo Abeni mptcp 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 9 repliesIn review
  2. v64 patches 1 replySuperseded
  3. v55 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v46 patches8 repliesSuperseded
v37 patches4 repliesSuperseded
v27 patches3 repliesSuperseded
v14 patches2 repliesSuperseded

Changes in v7 from the cover letter

- re added the patches dropped in the last 2 iterations

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6trace: mptcp: add mptcp_rcvbuf_grow tracepointinclude/trace/events/mptcp.h net/mptcp/protocol.c+83 -00 replies
2/6mptcp: do not account for OoO in mptcp_rcvbuf_grow()net/mptcp/protocol.c+0 -61 reply
3/6mptcp: fix receive space timestamp initialization.net/mptcp/protocol.c net/mptcp/protocol.h+9 -40 replies
4/6mptcp: consolidate rcv space initnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c+15 -180 replies
5/6mptcp: better mptcp-level RTT estimatorinclude/trace/events/mptcp.h net/mptcp/protocol.c net/mptcp/protocol.h+73 -306 replies
6/6mptcp: add receive queue awareness in tcp_rcv_space_adjust()net/mptcp/protocol.c+5 -30 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMat Martineau
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 mptcp-next 0/6] mptcp: autotune related improvement

This series collects a few follow-up for the backlog refactor, with some of them posing as fixes just to confuse the enemy.

Targeting net-next as the issues addressed are very old, the change is quite invasive and, as mentioned, based on the BL refactor.

Overall this:
- introduces a tracepoint similar to tcp useful to track down the issues addressed here
- avoid rx drop in corner case scenarios, improving tput stability and peak tput over fast link
- refactor the rcv space and rtt estimator, overall making DRS more correct and avoiding rcv buffer drifting to tcp_rmem[2], which in turn makes the tput more stable and less bursty

Note that after this upstream series will be merged:

https://patchwork.kernel.org/user/todo/netdevbpf/?series=1025209

we want to introduce similar changes in mptcp, too.

I'm sorry for the high frequency spamming; trying to complete this stuff before ENORESOURCES. Please ignore the previous 2 revisions.
---
v6 -> v7:
- re added the patches dropped in the last 2 iterations

v5 -> v6:
- dropped the buggy patch 3/5

v4 -> v5:
- dropped patch 4/6; it proved to be useless together with new version of patch 4/5
- refactor rtt estimator: use sliding window instead of dropping "too high" values

v3 -> v4:
- dropped already merged patch 1
- update comment in patch 6/6

v2 -> v3:
- use __entry->family in patch 1/7
- more verbose commit message for patch 6/7

v1 -> v2:
- new patch 1/7
- old patch 2/4 has been split in 3: 3/7, 4/7 and 5/7
- refactor both the rcv space init and rtt estimator

Paolo Abeni (6):
trace: mptcp: add mptcp_rcvbuf_grow tracepoint
mptcp: do not account for OoO in mptcp_rcvbuf_grow()
mptcp: fix receive space timestamp initialization.
mptcp: consolidate rcv space init
mptcp: better mptcp-level RTT estimator
mptcp: add receive queue awareness in tcp_rcv_space_adjust()

 include/trace/events/mptcp.h |  80 ++++++++++++++++++++++++
 net/mptcp/protocol.c         | 116 ++++++++++++++++++-----------------
 net/mptcp/protocol.h         |  44 ++++++++++++-
 net/mptcp/subflow.c          |   2 -
 4 files changed, 183 insertions(+), 59 deletions(-)
Signature · 1 line
2.51.1