General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: "Jonas Köppeler" <j.koeppeler@tu-berlin.de>
To: <bloat@lists.bufferbloat.net>
Subject: [Bloat] Re: [Cake] Re: Re: CAKE-MQ merged to OpenWrt 25.12 today (February 15)
Date: Tue, 17 Feb 2026 17:55:23 +0100	[thread overview]
Message-ID: <68ddca35-77e8-4e1b-b128-fce2867fff67@tu-berlin.de> (raw)
In-Reply-To: <878qcrpbyp.fsf@toke.dk>


On 2/17/26 5:32 PM, Toke Høiland-Jørgensen via Bloat wrote:
> Stephen Hemminger <stephen@networkplumber.org> writes:
>
>> On Tue, 17 Feb 2026 14:23:52 +0100
>> Toke Høiland-Jørgensen via Cake <cake@lists.bufferbloat.net> wrote:
>>
>>> dave seddon <dave.seddon.ca@gmail.com> writes:
>>>
>>>> === Pre-flight Complete ===
>>>> Running 6 test points
>>>>
>>>> [1/6] qdisc=fq_codel flows=1 tool=iperf2
>>>>    Switching qdisc to fq_codel...
>>>>    Throughput: 9.41 Gbps
>>>> [2/6] qdisc=fq_codel flows=10 tool=iperf2
>>>>    Throughput: 9.43 Gbps
>>>> [3/6] qdisc=cake flows=1 tool=iperf2
>>>>    Switching qdisc to cake...
>>>>    Throughput: 6.93 Gbps
>>>> [4/6] qdisc=cake flows=10 tool=iperf2
>>>>    Throughput: 4.37 Gbps                                 <---- cake
>>>> [5/6] qdisc=mq-cake flows=1 tool=iperf2
>>>>    Switching qdisc to mq-cake...
>>>>    Throughput: 7.17 Gbps
>>>> [6/6] qdisc=mq-cake flows=10 tool=iperf2
>>>>    Throughput: 9.44 Gbps                                   <-----
>>>> mq-cake ... Actually, that's interesting.  higher than fq_codel
>>> Are you running fq_codel as the root qdisc? Because in that case you're
>>> running through the single qdisc lock, which could explain the
>>> difference. Try running separate fq_codel instances beneath an 'mq'
>>> qdisc as the root.
>>>
>>> Also, if you're not setting a shaping rate, cake_mq is basically the
>>> same as just installing an mq qdisc at the root and having separate cake
>>> instances beneath that. So to test the multi-core shaper algorithm
>>> you'll need to set a rate ('bandwidth' parameter).
>>>
>> This is what the OpenWrt SQM scripts seem to favor.
>> I probably need to tune the adaption overhead
>>
>> # tc qdisc show dev wan
>> qdisc htb 1: root refcnt 2 r2q 10 default 0x12 direct_packets_stat 0 direct_qlen 1000
>> qdisc fq_codel 120: parent 1:12 limit 1001p flows 1024 quantum 300 target 5ms interval 100ms memory_limit 4Mb drop_batch 64
>> qdisc fq_codel 130: parent 1:13 limit 1001p flows 1024 quantum 300 target 5ms interval 100ms memory_limit 4Mb drop_batch 64
>> qdisc fq_codel 110: parent 1:11 limit 1001p flows 1024 quantum 300
>> target 5ms interval 100ms memory_limit 4Mb drop_batch 64
> If you set 'script' to 'layer_cake.qos' or 'piece_of_cake.qos' in the
> config, you'll get a CAKE setup instead. On OpenWrt 25.12 (still in -rc)
> this will automatically select cake_mq where the system supports it.
Actually on that note: I was playing around with the latest OpenWrt 
(25.12 snapshot from today). I can successfully install cake_mq 
manually. However, the sqm script does not install cake_mq (to be more 
specific using the web interface luci-sqm-script). I opened a github 
issue providing more details: 
https://github.com/tohojo/sqm-scripts/issues/182

Jonas

  reply	other threads:[~2026-02-17 16:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-15 17:42 [Bloat] CAKE-MQ merged to OpenWrt 25.12 today (February 15) Frantisek Borsik
2026-02-16 16:51 ` [Bloat] Consumer CPE with Modern AQM? Livingood, Jason
2026-02-16 17:24   ` [Bloat] " Frantisek Borsik
2026-02-16 17:45   ` Daniel Sterling
2026-02-16 20:10     ` David Collier-Brown
2026-02-17  4:12     ` Jim Gettys
2026-02-17 12:12       ` Jan Ceuleers
2026-02-17 16:35       ` [Bloat] Re: [EXTERNAL] " Livingood, Jason
2026-02-17 16:24     ` [Bloat] Re: [EXTERNAL] " Livingood, Jason
2026-02-17  6:10 ` [Bloat] Re: [Cake] CAKE-MQ merged to OpenWrt 25.12 today (February 15) dave seddon
2026-02-17  6:41   ` Stephen Hemminger
2026-02-17 13:23   ` Toke Høiland-Jørgensen
2026-02-17 14:34     ` [Bloat] Re: [Cake] Re: " Stephen Hemminger
2026-02-17 16:32       ` Toke Høiland-Jørgensen
2026-02-17 16:55         ` Jonas Köppeler [this message]
2026-02-20 15:59         ` dave seddon
2026-02-23 10:18           ` Toke Høiland-Jørgensen

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=68ddca35-77e8-4e1b-b128-fce2867fff67@tu-berlin.de \
    --to=j.koeppeler@tu-berlin.de \
    --cc=bloat@lists.bufferbloat.net \
    /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