[Cake] Cake not more CPU efficient than HTB+FQ-CoDel (anymore)?

Toke Høiland-Jørgensen toke at toke.dk
Wed Apr 11 11:24:30 EDT 2018


So we've been saying that one of the benefits of Cake is less CPU usage;
but while trying to benchmark this I got results that would seem to
indicate the opposite.

See attached graph + data files. Basically, I setup a shaper on an
Archer C7 with sqm-scripts simplest.qos. Both HTB+FQ-CoDel and Cake
manages to shape at 250 Mbps, where Cake even shows a bit lower latency.
That is good.

However, when I change the configuration to 400 Mbps (more than the
Archer CPU can handle), Cake tops out at ~260 Mbps, while HTB+FQ-CoDel
manages ~305 Mbps and a slightly lower latency. In both cases I see the
characteristic 95% sirq CPU usage in 'top' on the Archer while the test
is running.

So, um, did we cram so many features into Cake that it no longer uses
less CPU? Can anyone confirm these results?

The tests were run on an openwrt nightly image from today, which has the
latest Cake version from the Cobalt branch.


-Toke

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cake-vs-fqcodel-cpulimit.pdf
Type: application/pdf
Size: 111833 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20180411/2c4553d3/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_1up-2018-04-11T165952.024206.FQ-CoDel_250_Mbps.flent.gz
Type: application/gzip
Size: 16501 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20180411/2c4553d3/attachment-0004.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_1up-2018-04-11T170134.227613.Cake_250_Mbps.flent.gz
Type: application/gzip
Size: 16249 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20180411/2c4553d3/attachment-0005.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_1up-2018-04-11T170457.254899.Cake_400_Mbps.flent.gz
Type: application/gzip
Size: 16467 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20180411/2c4553d3/attachment-0006.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_1up-2018-04-11T170647.320916.FQ-CoDel_400_Mbps.flent.gz
Type: application/gzip
Size: 16560 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20180411/2c4553d3/attachment-0007.gz>


More information about the Cake mailing list