All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yonglong Li <liyonglong@chinatelecom.cn>
To: Paolo Abeni <pabeni@redhat.com>,
	mptcp@lists.linux.dev, mptcp@lists.01.org
Cc: mathew.j.martineau@linux.intel.com, matthieu.baerts@tessares.net,
	fw@strlen.de
Subject: Re: [PATCH v3] mptcp: ensure there is unacked data at all subflow
Date: Fri, 2 Apr 2021 10:55:31 +0800	[thread overview]
Message-ID: <2fbc7ab9-3b03-802d-afa3-935375a1191a@chinatelecom.cn> (raw)
In-Reply-To: <fe23f101aff3cbbe94a496374c4f7c3109d3eb2c.camel@redhat.com>

Hi Paolo,

Thanks for your feeback.

On 2021/4/1 18:08, Paolo Abeni wrote:
> Hello,
> 
> I'm sorry for the late feeback.
> 
> On Thu, 2021-04-01 at 15:53 +0800, Yonglong Li wrote:
>> MPTCP-level retransmit may take place if first subflow without data in
>> its write queue and second subflow is likely to have unacked data left
>> in its write queue. In this condition datamaybe double retransmitted.
> 
> Note that the above does not cause problems at the byte stream level,
> and can improve the aggregate tput in some cases, as it could allow
> faster forward progress when e.g. the substream which originally
> handled the relevant data has experienced some congestion.
> 
> Do you have any specific scenario which is badly affected by the
> current code? How does the self-tests behave on top of this patch?
> (specifically: simult_flows.sh)

In my test, current code doesn't cause any badly affected. And in some
cases it can improve the tput in theory (re-injection likely). But the
behave of current code is not stable. In some cases it 're-injection'
data, and some cases it does not. And as you said at "Side note" the
're-injection' should not do at mptcp_subflow_get_retrans()

> 
> Side note: we could improve re-injection keeping explicit track at the
>  mptcp_data_frag level of the already used subflows, and avoding them
> at mptcp_subflow_get_retrans() time.
> 
> Thanks!
> 
> Paolo
> 
> 
> 

      reply	other threads:[~2021-04-02  2:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01  7:53 [PATCH v3] mptcp: ensure there is unacked data at all subflow Yonglong Li
2021-04-01 10:08 ` Paolo Abeni
2021-04-02  2:55   ` Yonglong Li [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=2fbc7ab9-3b03-802d-afa3-935375a1191a@chinatelecom.cn \
    --to=liyonglong@chinatelecom.cn \
    --cc=fw@strlen.de \
    --cc=mathew.j.martineau@linux.intel.com \
    --cc=matthieu.baerts@tessares.net \
    --cc=mptcp@lists.01.org \
    --cc=mptcp@lists.linux.dev \
    --cc=pabeni@redhat.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.