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 11:13:32 -0800	[thread overview]
Message-ID: <87375e2g0z.fsf@nemesis.taht.net> (raw)
In-Reply-To: <1BED94C0-BF21-44BE-A0B0-22224C24C160@gmail.com> (Pete Heist's message of "Thu, 16 Nov 2017 19:40:24 +0100")

Pete Heist <peteheist@gmail.com> writes:

>     On Nov 16, 2017, at 5:31 PM, Dave Taht <dave@taht.net> wrote:
>
>     
>     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:
>                 
>                 
>
>             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.
>     
>
> I noticed when I went to buy the APU2 that the two lower-end models (apu2c2 and
> apu2c0) have I211 NICs instead of a I210. The I211 is a “value part” that among
> other things has 2 tx and rx queues per port instead of 4. I wasn’t sure of the
> real effect of this when I purchased them, but for an extra few bucks the I210
> seemed worth it. Table 1-6 on page 13:
>
> https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/i210-ethernet-controller-datasheet.pdf
>
>         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.
>
> A real nicety of Cake that the world should benefit from.

At a rather large cpu cost.

>
>         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?
>
> Looks like you forked it to fix a multi-queue problem. I forked your fork to add
> a scaling parameter to fix the bar height. -s 4096 works well for me.

I put in a pull request with all the outstanding patches to the
maintainer. Should have done that 2+ years ago.


  reply	other threads:[~2017-11-16 19:13 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
2017-11-16 18:40     ` Pete Heist
2017-11-16 19:13       ` Dave Taht [this message]
     [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=87375e2g0z.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