Cake max speeds

baratrion

New Around Here
I've seen this message in the original Cake thread here:

No. Enabling Cake maxes out speeds at 250-300Mbps before the CPU runs out of puff on any of the Asus routers.

Can people confirm if this is the case? I've seen other people claiming higher speeds with Merlin + Cake on Asus modems.

Would anyone recommend an Asus router that could cope with ~500Mbps and Cake?
 

RMerlin

Asuswrt-Merlin dev
I've seen this message in the original Cake thread here:



Can people confirm if this is the case? I've seen other people claiming higher speeds with Merlin + Cake on Asus modems.

Would anyone recommend an Asus router that could cope with ~500Mbps and Cake?
There isn`t any. My RT-AX88U can barely reach 400 Mbps with a single stream (so under a normal scenario with multiple connections it would not be able to keep up).
 

BreakingDad

Very Senior Member
I've seen this message in the original Cake thread here:



Can people confirm if this is the case? I've seen other people claiming higher speeds with Merlin + Cake on Asus modems.

Would anyone recommend an Asus router that could cope with ~500Mbps and Cake?
Why not use flex? I find it works like a dream at 500Mbps.
 

SomeWhereOverTheRainBow

Part of the Furniture
There isn`t any. My RT-AX88U can barely reach 400 Mbps with a single stream (so under a normal scenario with multiple connections it would not be able to keep up).
Rmerlin is right on this one.
I've seen this message in the original Cake thread here:



Can people confirm if this is the case? I've seen other people claiming higher speeds with Merlin + Cake on Asus modems.

Would anyone recommend an Asus router that could cope with ~500Mbps and Cake?
Cake really relies on the capabilities of the CPU (and sometimes the kernal). On a RPI 4 running openwrt and Cake-SQM, I was able to run cake at 500 Mbps + with the manipulation of packet steering, but the CPU was firing at all pistons. I am not sure if such possibilities are available on Asus routers though. The CPU on most the routers serves a limited finite purpose which is basic router operations.

Just for giggles, if any one is interested in trying out the Receive Packet Steering manipulations here is an example.

Any body running Cake or FleX want to try these out, see if it helps.
Code:
echo 2 > /sys/class/net/eth1/queues/rx-0/rps_cpus
echo 1 > /sys/class/net/eth0/queues/rx-0/rps_cpus
#(interfaces may very adjust accordingly)
Here is mine on an RT-AX88U
Code:
/tmp/home/root# ls /sys/class/net/*/queues/*/rps_cpus
/sys/class/net/bcmsw/queues/rx-0/rps_cpus         /sys/class/net/bond0/queues/rx-8/rps_cpus         /sys/class/net/bond1/queues/rx-8/rps_cpus         /sys/class/net/imq2/queues/rx-0/rps_cpus
/sys/class/net/bcmswlpbk0/queues/rx-0/rps_cpus    /sys/class/net/bond0/queues/rx-9/rps_cpus         /sys/class/net/bond1/queues/rx-9/rps_cpus         /sys/class/net/ip6tnl0/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-0/rps_cpus         /sys/class/net/bond1/queues/rx-0/rps_cpus         /sys/class/net/br0/queues/rx-0/rps_cpus           /sys/class/net/lo/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-1/rps_cpus         /sys/class/net/bond1/queues/rx-1/rps_cpus         /sys/class/net/dpsta/queues/rx-0/rps_cpus         /sys/class/net/sit0/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-10/rps_cpus        /sys/class/net/bond1/queues/rx-10/rps_cpus        /sys/class/net/eth0/queues/rx-0/rps_cpus          /sys/class/net/spu_ds_dummy/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-11/rps_cpus        /sys/class/net/bond1/queues/rx-11/rps_cpus        /sys/class/net/eth1/queues/rx-0/rps_cpus          /sys/class/net/spu_us_dummy/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-12/rps_cpus        /sys/class/net/bond1/queues/rx-12/rps_cpus        /sys/class/net/eth2/queues/rx-0/rps_cpus          /sys/class/net/tun21/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-13/rps_cpus        /sys/class/net/bond1/queues/rx-13/rps_cpus        /sys/class/net/eth3/queues/rx-0/rps_cpus          /sys/class/net/tun22/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-14/rps_cpus        /sys/class/net/bond1/queues/rx-14/rps_cpus        /sys/class/net/eth4/queues/rx-0/rps_cpus          /sys/class/net/wl0.1/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-15/rps_cpus        /sys/class/net/bond1/queues/rx-15/rps_cpus        /sys/class/net/eth5/queues/rx-0/rps_cpus          /sys/class/net/wl0.2/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-2/rps_cpus         /sys/class/net/bond1/queues/rx-2/rps_cpus         /sys/class/net/eth6/queues/rx-0/rps_cpus          /sys/class/net/wl0.3/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-3/rps_cpus         /sys/class/net/bond1/queues/rx-3/rps_cpus         /sys/class/net/eth7/queues/rx-0/rps_cpus          /sys/class/net/wl1.1/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-4/rps_cpus         /sys/class/net/bond1/queues/rx-4/rps_cpus         /sys/class/net/ifb0/queues/rx-0/rps_cpus          /sys/class/net/wl1.2/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-5/rps_cpus         /sys/class/net/bond1/queues/rx-5/rps_cpus         /sys/class/net/ifb1/queues/rx-0/rps_cpus          /sys/class/net/wl1.3/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-6/rps_cpus         /sys/class/net/bond1/queues/rx-6/rps_cpus         /sys/class/net/imq0/queues/rx-0/rps_cpus
/sys/class/net/bond0/queues/rx-7/rps_cpus         /sys/class/net/bond1/queues/rx-7/rps_cpus         /sys/class/net/imq1/queues/rx-0/rps_cpus

Code:
/tmp/home/root# cat /sys/class/net/*/queues/rx-0/rps_cpus
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Here is a very interesting read on the topic

 
Last edited:

minhgi

Regular Contributor
I think any quad core Asus router should be able to handle 500mbps+ cakeQOS. Anymore than that, switch over to Flex. At less we have option to maximize output from ISP.
 

Attachments

  • 1637075180010.png
    1637075180010.png
    20.1 KB · Views: 86

Wade Coxon

Senior Member
I think any quad core Asus router should be able to handle 500mbps+ cakeQOS. Anymore than that, switch over to Flex. At less we have option to maximize output from ISP.
The number of cores is not relevant as cake is single threaded. None will get close to 500Mbps.
Core type and MHz is what counts.
 

heysoundude

Part of the Furniture

SomeWhereOverTheRainBow

Part of the Furniture
maybe I'm not grokking that correctly, but wouldn't "load balancing" across the processors of our routers require a number of instances of QoS, and then being coordinated?
is one of the benefits of engaging that sidestepping the hardware acceleration restrictions?
Well with cake qos, hardware acceleration is already removed from the equation, so one must try other means or explore other avenues to remove the load off the cpu (i.e. the load imposed by cake qos). If that can be achieved, maybe cake qos can work with higher speeds. All the rps would be doing is taking packets and sending it to a cpu core designated for that specific marked traffic, this ensure that no one thread suffers the burden of directing all the traffic.
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top