General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Neal Cardwell <ncardwell@google.com>
To: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
	Jonathan Morton <chromatix99@gmail.com>,
	 "aqm@ietf.org" <aqm@ietf.org>,
	bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] TCP BBR paper is now generally available
Date: Tue, 6 Dec 2016 16:31:05 -0500	[thread overview]
Message-ID: <CADVnQyn=rY4_0KuaXEKgO-3E2MXgjtyNcTNQfhyKKcbJNA=wnA@mail.gmail.com> (raw)
In-Reply-To: <20161206172039.GA29482@sesse.net>


[-- Attachment #1.1: Type: text/plain, Size: 1506 bytes --]

On Tue, Dec 6, 2016 at 12:20 PM, Steinar H. Gunderson <
sgunderson@bigfoot.com> wrote:

> On Sat, Dec 03, 2016 at 03:24:28PM -0800, Eric Dumazet wrote:
> > Wait a minute. If you use fq on the receiver, then maybe your old debian
> > kernel did not backport :
> >
> > https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/
> commit/?id=9878196578286c5ed494778ada01da094377a686
>
> I upgraded to 4.7.0 (newest backport available). I can get up to ~45
> MB/sec,
> but it seems to hover more around ~22 MB/sec in this test:
>
>   http://storage.sesse.net/bbr-4.7.0.pcap


Thanks for the report, Steinar. Can you please clarify whether the BBR
behavior you are seeing is a regression vs CUBIC's behavior, or is just
mysterious?

It's hard to tell from a receiver-side trace, but this looks to me like a
send buffer limitation. The RTT looks like about 50ms, and the bandwidth is
a little over 500 Mbps, so the BDP is a little over 3 Mbytes. Looks like
most RTTs have a flight of about 2 MBytes of data, followed by a silence
suggesting perhaps the sender ran out of buffered data to send. (Screen
shot attached.)

What are your net.core.wmem_max and net.ipv4.tcp_wmem settings on the
server sending the data?

What happens if you try a bigger wmem cap, like 16 MBytes:

  sysctl -w net.core.wmem_max=16777216 net.ipv4.tcp_wmem='4096 16384
16777216'

If you happen to have access, it would be great to get a sender-side
tcpdump trace for both BBR and CUBIC.

Thanks for all your test reports!

cheers,
neal

[-- Attachment #1.2: Type: text/html, Size: 2450 bytes --]

[-- Attachment #2: bbr-2016-12-06-port-57272.png --]
[-- Type: image/png, Size: 43369 bytes --]

  reply	other threads:[~2016-12-06 21:31 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 15:52 Dave Taht
2016-12-02 19:15 ` Aaron Wood
2016-12-02 20:32   ` Jonathan Morton
2016-12-02 22:22     ` Neal Cardwell
2016-12-02 22:40       ` Steinar H. Gunderson
2016-12-02 23:31         ` Eric Dumazet
2016-12-03 13:03           ` Neal Cardwell
2016-12-03 19:13             ` Steinar H. Gunderson
2016-12-03 20:20               ` Eric Dumazet
2016-12-03 20:26                 ` Jonathan Morton
2016-12-03 21:07                   ` Eric Dumazet
2016-12-03 21:34                     ` Steinar H. Gunderson
2016-12-03 21:50                       ` Eric Dumazet
2016-12-03 22:13                         ` Steinar H. Gunderson
2016-12-03 22:55                           ` Eric Dumazet
2016-12-03 23:02                             ` Eric Dumazet
2016-12-03 23:09                               ` Eric Dumazet
2016-12-03 23:03                             ` Steinar H. Gunderson
2016-12-03 23:15                               ` Eric Dumazet
2016-12-03 23:24                                 ` Eric Dumazet
2016-12-04  3:18                                   ` Neal Cardwell
2016-12-04  8:44                                   ` Steinar H. Gunderson
2016-12-04 17:13                                     ` Eric Dumazet
2016-12-04 17:38                                       ` Steinar H. Gunderson
2016-12-06 17:20                                   ` Steinar H. Gunderson
2016-12-06 21:31                                     ` Neal Cardwell [this message]
2016-12-03 21:38                     ` Jonathan Morton
2016-12-03 21:33                 ` Steinar H. Gunderson
2016-12-07 16:28               ` Alan Jenkins
2016-12-07 16:47                 ` Steinar H. Gunderson
2016-12-07 17:03                   ` Alan Jenkins
2016-12-08  8:24 ` Mikael Abrahamsson
2016-12-08 13:22   ` Dave Täht
2016-12-08 14:01     ` Mikael Abrahamsson
2016-12-08 21:29       ` Neal Cardwell
2016-12-08 22:31         ` Yuchung Cheng
2016-12-09 14:52           ` Klatsky, Carl

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

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to='CADVnQyn=rY4_0KuaXEKgO-3E2MXgjtyNcTNQfhyKKcbJNA=wnA@mail.gmail.com' \
    --to=ncardwell@google.com \
    --cc=aqm@ietf.org \
    --cc=bloat@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    --cc=eric.dumazet@gmail.com \
    --cc=sgunderson@bigfoot.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