netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] mptcp: add receive buffer auto-tuning
@ 2020-06-30 19:24 Florian Westphal
  2020-06-30 19:24 ` [PATCH net-next 1/2] selftests: mptcp: add option to specify size of file to transfer Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Florian Westphal @ 2020-06-30 19:24 UTC (permalink / raw)
  To: netdev; +Cc: mptcp

First patch extends the test script to allow for reproducible results.
Second patch adds receive auto-tuning.  Its based on what TCP is doing,
only difference is that we use the largest RTT of any of the subflows
and that we will update all subflows with the new value.

Else, we get spurious packet drops because the mptcp work queue might
not be able to move packets from subflow socket to master socket
fast enough.  Without the adjustment, TCP may drop the packets because
the subflow socket is over its rcvbuffer limit.

Florian Westphal (2):
      selftests: mptcp: add option to specify size of file to transfer
      mptcp: add receive buffer auto-tuning

 net/mptcp/protocol.c                               | 123 +++++++++++++++++++--
 net/mptcp/protocol.h                               |   7 ++
 net/mptcp/subflow.c                                |   5 +-
 tools/testing/selftests/net/mptcp/mptcp_connect.sh |  52 ++++++---
 4 files changed, 166 insertions(+), 21 deletions(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-02  0:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-30 19:24 [PATCH net-next 0/2] mptcp: add receive buffer auto-tuning Florian Westphal
2020-06-30 19:24 ` [PATCH net-next 1/2] selftests: mptcp: add option to specify size of file to transfer Florian Westphal
2020-07-01 13:06   ` Matthieu Baerts
2020-06-30 19:24 ` [PATCH net-next 2/2] mptcp: add receive buffer auto-tuning Florian Westphal
2020-07-01 13:07   ` Matthieu Baerts
2020-07-02  0:48 ` [PATCH net-next 0/2] " David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).