Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: "Sebastian Moeller" <moeller0@gmx.de>,
	"Joel Wirāmu Pauling" <joel@aenertia.net>
Cc: Cake List <cake@lists.bufferbloat.net>,
	cerowrt-devel <cerowrt-devel@lists.bufferbloat.net>,
	Jonathan Morton <chromatix99@gmail.com>
Subject: Re: [Cake] [Cerowrt-devel] 10gige and 2.5gige
Date: Fri, 17 Dec 2021 12:33:08 +0100	[thread overview]
Message-ID: <874k77cvpn.fsf@toke.dk> (raw)
In-Reply-To: <D1CBC326-1ABB-4636-8B83-AE5970277200@gmx.de>

Sebastian Moeller <moeller0@gmx.de> writes:

> Mmmh, I guess our approach at traffic shaping does not scale well at those speeds. Maybe this could be fixed with larger batching?
>
> I think it might be worth trying to switch to simple.qos/fq_codel and
> set a somewhat larger burst/quantum duration in defaults.sh, then
> disable BQL on the NIC and configure a beefy txqueuelen on the
> interface. This might help making SQM limp along to higher rates. If
> that would actually work, we could try to see whether we can make cake
> learn coarser batching ("bursts" and/or quantum) at high rates (but I
> did not check what cake does internally, it might already do this,
> @jonathan?)....

I fear the problem is rather the lack of multithreading. I have a fairly
beefy 8-core ARM box for my main router these days, and even that can't
forward at a gigabit on a single core. There was a bug in the HW
configuration so all traffic was sent to a single core, which resulted
in 50+ms of bloat and traffic capping out way short of a gigabit. Now
that it's fixed and traffic is mixed over all eight cores I have smooth
sailing and no bloat. Thankfully I don't need to shape, so I'm just
running straight mq+fq_codel on the physical interface....

-Toke

      reply	other threads:[~2021-12-17 11:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAA93jw6i0G_QyBbmC_0U-UUc4y3kZnb_vdvGpo1WE6m9pfDDWQ@mail.gmail.com>
     [not found] ` <1639678615.275317887@apps.rackspace.com>
     [not found]   ` <CAKiAkGRDwkH0yW0buxdUGyktE9XCT9RjospS=mbs_TfXWKh5Sg@mail.gmail.com>
     [not found]     ` <1639690165.936410589@apps.rackspace.com>
     [not found]       ` <4927o62q-qq3-p947-qopq-89rppp637497@ynat.uz>
     [not found]         ` <CAKiAkGREZKh7XEYehM6v3DKp94eLrV1b86dM=cSCNtYwARBCgA@mail.gmail.com>
     [not found]           ` <7F1B6B98-2DE2-41A3-B47F-30B46E2736FB@gmx.de>
     [not found]             ` <CAKiAkGTzP5V9cocHptqfBqbLkbEw8-4k68bU2RxA3ZOuOvG18w@mail.gmail.com>
     [not found]               ` <CAKiAkGQJbVhJLO1ewgFYOv3uHBFVFuGgGOEgQE9j1nAkmPUuzA@mail.gmail.com>
2021-12-17  9:26                 ` Sebastian Moeller
2021-12-17 11:33                   ` Toke Høiland-Jørgensen [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

  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=874k77cvpn.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=cake@lists.bufferbloat.net \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    --cc=joel@aenertia.net \
    --cc=moeller0@gmx.de \
    /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