All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: zibuyu <zibuyu423@gmail.com>
Cc: mptcp@lists.linux.dev
Subject: Re: MPTCP WAN failback measurements on v6.12.51 and v7.4-rc5
Date: Thu, 3 Dec 2026 18:18:36 +0100	[thread overview]
Message-ID: <300a022f-2daa-42e2-9ebc-cbcbcb1711f0@kernel.org> (raw)
In-Reply-To: <179630947107.20.1865277057750003534@gmail.com>

Hi,

On 03/12/2026 15:51, zibuyu wrote:
> In issue #581 a long-lived OpenWrt connection stalls after WAN service
> returns and the remaining cellular capacity drops below the application
> rate. A fresh connection can use the restored WAN. Here are measurements
> from the corresponding topology on two upstream kernels.
> 
> The QEMU test used BBR, the default MPTCP scheduler, the in-kernel path
> manager and a 10 Mbit/s upload. It removed the WAN endpoint, brought
> the link down for 32 seconds, then restored the route and endpoint at
> the original address. Eight seconds later it took two of three cellular
> paths down and limited the remaining one to 2 Mbit/s.
> 
> Aggregate acknowledged throughput in Mbit/s with high-resolution timers:
> 
>     Kernel        Existing connection    Fresh connection
>     v6.12.51                     9.99               10.00
>     v7.4-rc5 based              10.00                9.97
> 
> The existing-connection rates cover seconds 100-180 of the upload. The
> fresh connection was measured over seconds 5-15 under the same final
> link settings. MPTCP_FULL_INFO showed that the original WAN subflow
> (ID 1) stopped acknowledging data during the outage. The new same-IP
> WAN subflow (ID 5) had already acknowledged data in the first sample
> one second after restoration on both kernels.
> 
> A separate carrier-only experiment kept the original TCP subflow alive.
> It took about 24 seconds after link-up for WAN ACKs to advance. The TCP
> backoff was 7 and the retransmission timer was about 27 seconds at
> link-up. This offers one way to distinguish the two cases in a trace.
> 
> The sustained stall from the OpenWrt report did not reproduce here.
> A subflow ID, bytes_acked, RTO and backoff sampled before and after
> failback on the affected router would help identify which case it hits.
> 
> Codex prepared the test harness and ran the emulated experiments.
> https://github.com/multipath-tcp/mptcp_net-next/issues/581

If that's not an issue for you to comment on GitHub, please continue the
discussion there instead of splitting it here.

So from what I understand, this issue is still visible on v7.4-rc5.
Thank you for having reproduce it. Feel free to share the reproducer on
GitHub.

BTW, did you try our 'export' branch? Also, I'm working on additional
improvements around the scheduler, it might be worth to wait for the v3
to be sent before working on a fix:


https://lore.kernel.org/20261031-mptcp-sched-opp-retrans-v2-0-e9c4a30f6841@kernel.org

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.


      reply	other threads:[~2026-12-03 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 14:51 MPTCP WAN failback measurements on v6.12.51 and v7.4-rc5 zibuyu
2026-12-03 17:18 ` Matthieu Baerts [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=300a022f-2daa-42e2-9ebc-cbcbcb1711f0@kernel.org \
    --to=matttbe@kernel.org \
    --cc=mptcp@lists.linux.dev \
    --cc=zibuyu423@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.