Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Dave Taht <dave@taht.net>
To: Pete Heist <peteheist@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Cake upstream Planning
Date: Thu, 16 Nov 2017 08:31:24 -0800	[thread overview]
Message-ID: <87shde2nj7.fsf@nemesis.taht.net> (raw)
In-Reply-To: <F9CF3DD7-5AED-4EE5-AC47-C31A5AFE1FBE@gmail.com> (Pete Heist's message of "Thu, 16 Nov 2017 10:14:37 +0100")

Pete Heist <peteheist@gmail.com> writes:

>>>    On Nov 15, 2017, at 9:04 PM, Dave Taht <dave@taht.net> wrote:
>>> 
>>> 
>>>    Dave Taht <dave@taht.net> writes:
>>> 
>>>                TCP RTT ~= 8ms with default qdisc, throughput ~= 940 Mbit
>>>            TCP RTT ~= 4.5ms with ‘cake unlimited’, throughput ~= 920 Mbit
>>>            TCP RTT ~= 1ms with ‘cake unlimited lan’, throughput ~= 920 Mbit
>>> 
>>> 
>>>    This was with BQL in play? Monitoring BQL's behavior might help.
>>> 
>>>    I'd also love to know an exact setting for the shaper as a close as
>>>    possible to the underlying bandwidth of ethernet. However, I tend to be
>>>    plagued with
>>> 
>>> 
>>> Yes, with BQL (Intel I210 with igb driver on the APU2). An rrul_be test with —
>>> socket-stats.
>> 
>> https://github.com/ffainelli/bqlmon was a tool for looking at bql more
>> directly.
>> 
>> I had forked it for some reason or another:
>> 
>> https://github.com/dtaht/bqlmon
>
> Nice, that does work for me. It’s interesting that there are four queues for the
> igb driver, 00 - 03, and when I try an rrul_be_nflows test, not all four queues
> are necessarily used. Once I get >= 8 flows in each direction they usually are
> though. I suppose this is the driver deciding when to start using another queue
> or not.

Usually it is selected via a hash. In more than a few cases, however,
the designer of the hardware intended it as a strict priority queue. In
other cases, it's based on the CPU.

In all cases such a limited number of queues tends to cause oddities.

I think it was the mvneta (?) that had the strict priority queue idea baked
into it, which we ended up disabling entirely and going with just one
hardware queue.

>
> Cake does seem to visibly reduce the size of the queues.

I generally observe that TSO/GRO/etc tends to make BQL's queues 3-5
times larger than they are without those offloads - no way to fix it,
short of doing what cake does to peel those apart.

> For whatever
> terminal/ncurses weirdness reason though, the bar graphs may be sometimes
> blowing off the top of my 45 row screen, but it doesn’t entirely ruin the
> experience.

Maybe that was why I forked it?

  reply	other threads:[~2017-11-16 16:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1019.1510802012.3609.cake@lists.bufferbloat.net>
2017-11-16  9:14 ` Pete Heist
2017-11-16 16:31   ` Dave Taht [this message]
2017-11-16 18:40     ` Pete Heist
2017-11-16 19:13       ` Dave Taht
     [not found] <mailman.1013.1510778675.3609.cake@lists.bufferbloat.net>
2017-11-16  9:50 ` Pete Heist
     [not found] <mailman.7.1510506001.13084.cake@lists.bufferbloat.net>
2017-11-14  9:51 ` [Cake] Donation Pete Heist
2017-11-14 20:10   ` Dave Taht
2017-11-15 14:41     ` Pete Heist
2017-11-15 19:44       ` [Cake] Cake upstream Planning Dave Taht
2017-11-15 20:04         ` Dave Taht
2017-11-15 20:44           ` Pete Heist
2017-11-15 20:49             ` Dave Taht
2017-11-15 20:06         ` Pete Heist
2017-11-15 20:19           ` Dave Taht
2017-11-15 20:28             ` Nils Andreas Svee
2017-11-15 20:58               ` Pete Heist
2017-11-15 22:40                 ` Nils Andreas Svee
2017-11-16  8:41                   ` Pete Heist

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/cake.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=87shde2nj7.fsf@nemesis.taht.net \
    --to=dave@taht.net \
    --cc=cake@lists.bufferbloat.net \
    --cc=peteheist@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox