[PATCH v5 mptcp-next 0/4] mptcp: misc improvement

Paolo Abeni posted 4 patches 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/cover.1695368456.git.pabeni@redhat.com
Maintainers: Matthieu Baerts <matthieu.baerts@tessares.net>, Mat Martineau <martineau@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
net/mptcp/protocol.c | 48 +++++++++++++++---------
net/mptcp/protocol.h | 89 ++++++++++++++++++++++++++++++--------------
net/mptcp/sockopt.c  | 33 +++++-----------
net/mptcp/subflow.c  | 31 ++++++++-------
4 files changed, 119 insertions(+), 82 deletions(-)
[PATCH v5 mptcp-next 0/4] mptcp: misc improvement
Posted by Paolo Abeni 7 months, 1 week ago
This series is a follow-up the discussion ongoing here:

https://github.com/multipath-tcp/mptcp_net-next/issues/437

Daire reported several sub-optimal MPTCP behaviour on high-latency
links.

At least 3 different items stands off:

* notsent_lowat setting fooling the scheduler
* sub-optimal send buffer autotuning
* delayed acks being de-facto disabled due to subflow rcvlowat

This series is an attempt to address the first 2 points above.

v4 -> v5:
 - dealing with Mat feedback in patch 1/4 and 4/4

v3 -> v4:
 - added patch 1/4, fixing a pre-existing issue related. That patch
   should likely go via -net, included here because the issue can not
   manifest itself until patch 4/4.
   Despite by best attempt to test this, I thing it would be easier
   to just lest syzkaller crunch it more than a bit.

v2 -> v3:
 - avoid ingremental updates, always recompute sum(ssk->sndbuf) to avoid
   drift on memory pressure/decrease
 - add some needed comments

v1 -> v2:
 - fixed compiler warning in patch 3/3 && more local testing

Paolo Abeni (4):
  mptcp: fix delegated action races.
  mptcp: consolidate sockopt synchronization
  mptcp: ignore notsent_lowat setting at the subflow level.
  mptcp: refactor sndbuf auto-tuning.

 net/mptcp/protocol.c | 48 +++++++++++++++---------
 net/mptcp/protocol.h | 89 ++++++++++++++++++++++++++++++--------------
 net/mptcp/sockopt.c  | 33 +++++-----------
 net/mptcp/subflow.c  | 31 ++++++++-------
 4 files changed, 119 insertions(+), 82 deletions(-)

-- 
2.41.0
Re: [PATCH v5 mptcp-next 0/4] mptcp: misc improvement
Posted by Matthieu Baerts 7 months, 1 week ago
Hi Paolo, Mat,

On 22/09/2023 09:42, Paolo Abeni wrote:
> This series is a follow-up the discussion ongoing here:
> 
> https://github.com/multipath-tcp/mptcp_net-next/issues/437
> 
> Daire reported several sub-optimal MPTCP behaviour on high-latency
> links.
> 
> At least 3 different items stands off:
> 
> * notsent_lowat setting fooling the scheduler
> * sub-optimal send buffer autotuning
> * delayed acks being de-facto disabled due to subflow rcvlowat
> 
> This series is an attempt to address the first 2 points above.

Thank you for this nice series and the reviews!

Now in our tree: the first patch has been added in "fixes for -net" and
the rest in "feat. for net-next".

Please note that I had a small conflict in patch 3/4, a conflict with
"mptcp: give rcvlowat some love" from your other series I applied first.

New patches for t/upstream-net and t/upstream:
- 24f95a78eca5: mptcp: fix delegated action races
- Results: d92d8f5c2b45..50606b0ed27d (export-net)

New patches for t/upstream:
- b17ad6bb5a17: mptcp: consolidate sockopt synchronization
- f1f975d21614: mptcp: ignore notsent_lowat setting at the subflow level
- 5bc3584d46b5: mptcp: refactor sndbuf auto-tuning
- Results: f2baa63004ad..7221fbbb862a (export)

Tests are now in progress:

https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export-net/20230923T082403
https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20230923T083048

Cheers,
Matt
-- 
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net
Re: [PATCH v5 mptcp-next 0/4] mptcp: misc improvement
Posted by Mat Martineau 7 months, 1 week ago
On Fri, 22 Sep 2023, Paolo Abeni wrote:

> This series is a follow-up the discussion ongoing here:
>
> https://github.com/multipath-tcp/mptcp_net-next/issues/437
>
> Daire reported several sub-optimal MPTCP behaviour on high-latency
> links.
>
> At least 3 different items stands off:
>
> * notsent_lowat setting fooling the scheduler
> * sub-optimal send buffer autotuning
> * delayed acks being de-facto disabled due to subflow rcvlowat
>
> This series is an attempt to address the first 2 points above.
>
> v4 -> v5:
> - dealing with Mat feedback in patch 1/4 and 4/4
>

v5 LGTM, thanks Paolo!

Reviewed-by: Mat Martineau <martineau@kernel.org>

> v3 -> v4:
> - added patch 1/4, fixing a pre-existing issue related. That patch
>   should likely go via -net, included here because the issue can not
>   manifest itself until patch 4/4.
>   Despite by best attempt to test this, I thing it would be easier
>   to just lest syzkaller crunch it more than a bit.
>
> v2 -> v3:
> - avoid ingremental updates, always recompute sum(ssk->sndbuf) to avoid
>   drift on memory pressure/decrease
> - add some needed comments
>
> v1 -> v2:
> - fixed compiler warning in patch 3/3 && more local testing
>
> Paolo Abeni (4):
>  mptcp: fix delegated action races.
>  mptcp: consolidate sockopt synchronization
>  mptcp: ignore notsent_lowat setting at the subflow level.
>  mptcp: refactor sndbuf auto-tuning.
>
> net/mptcp/protocol.c | 48 +++++++++++++++---------
> net/mptcp/protocol.h | 89 ++++++++++++++++++++++++++++++--------------
> net/mptcp/sockopt.c  | 33 +++++-----------
> net/mptcp/subflow.c  | 31 ++++++++-------
> 4 files changed, 119 insertions(+), 82 deletions(-)
>
> -- 
> 2.41.0
>
>
>