From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: edumazet@google.com, netdev@vger.kernel.org,
ncardwell@google.com, ycheng@google.com
Subject: Re: [PATCH net-next] tcp-tso: do not split TSO packets at retransmit time
Date: Tue, 19 Apr 2016 21:10:52 -0400 (EDT) [thread overview]
Message-ID: <20160419.211052.2203209755339071835.davem@davemloft.net> (raw)
In-Reply-To: <1461113390.10638.233.camel@edumazet-glaptop3.roam.corp.google.com>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 19 Apr 2016 17:49:50 -0700
> On Tue, 2016-04-19 at 20:36 -0400, David Miller wrote:
>> From: Eric Dumazet <edumazet@google.com>
>> Date: Mon, 18 Apr 2016 13:56:12 -0700
>>
>> > 1 % packet losses are common today, and at 100Gbit speeds, this
>> > translates to ~80,000 losses per second. If we are unlucky and
>> > first MSS of a 45-MSS TSO is lost, we are cooking 44 MSS segments
>> > at rtx instead of a single 44-MSS TSO packet.
>>
>> I'm having trouble understanding this.
>>
>> If the first mss is lost, then we simply chop the 45 MSS TSO skb into
>> two pieces. The first piece is a 1 MSS chunk for the retransmit, and
>> the second piece is remaining 44 MSS TSO skb.
>>
>> I am pretty sure that is what the current stack does, and regardless
>> it is certainly what I intended it to do all those years ago when I
>> wrote this code. :-)
>>
>> The only case where I can see this patch helping is when we have to
>> retransmit multi-mss chunks. And yes indeed, it might be a useful
>> optimization to TSO those frames rather than sending them one MSS at a
>> time.
>
> Yeah, it looks like I got the changelog wrong. We definitely see these
> 1-MSS splits during retransmits all the time, and we had to change the
> sch_fq flow_limit from 100 to 1000 packets to cope with that. (TCP Small
> Queues does not guard TCP from sending hundred of rtx at the same time)
Ok, please rewrite the commit log message so that it is more accuate.
Thank you.
prev parent reply other threads:[~2016-04-20 1:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-18 20:56 [PATCH net-next] tcp-tso: do not split TSO packets at retransmit time Eric Dumazet
2016-04-18 21:12 ` Yuchung Cheng
2016-04-20 0:36 ` David Miller
2016-04-20 0:49 ` Eric Dumazet
2016-04-20 1:10 ` David Miller [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=20160419.211052.2203209755339071835.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=eric.dumazet@gmail.com \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
--cc=ycheng@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox