What's new

Solved CakeQOS not limiting download

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

eConnah

New Around Here
I have an TUF-AX3000 V2 and I'm trying to setup CakeQOS using merlin, specifically 3004.388.8_2-gnuton1. I'm using pppoe on full fibre, 100/20 connection. The bandwidth limiter for upload works perfectly well but for download it just doesn't work. It works using flex but I'm unsure why it doesn't with cake.
Here are my settings:
1736293504059.png

1736293567688.png

1736294862938.png


1736294953572.png

Any help would be great thanks.
 
Code:
cat /etc/cake-qos.conf
tc qdisc
Can you post the output of these commands run over SSH?
 
Ok, how about:
Code:
tc -s qdisc show dev ifb4ppp0
Maybe run it before and after a speedtest.
 
Try to run this command:
Code:
tc filter add dev ppp0 parent ffff: prio 10 matchall action mirred egress redirect dev ifb4ppp0
 
You should report back to Gnuton that he needs to enable CONFIG_NET_CLS_MATCHALL in his firmware. But first confirm the output of uname -r shows 4.19. If not, that’s not the issue.
 
You can try this command instead and see if the download gets limited.
Code:
tc filter add dev ppp0 parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev ifb4ppp0
 
That fixed it the download is now getting limited a bit more below the target around 6 mbps lower than the goal but I assume thats normal, however I re-applied the settings in qos and it seems to undo the fix.
 
That fixed it the download is now getting limited a bit more below the target around 6 mbps lower than the goal but I assume thats normal, however I re-applied the settings in qos and it seems to undo the fix.
You can make the workaround persist by setting up a script:
Code:
cat >/jffs/scripts/qos-start <<-EOF
#!/bin/sh
sed -i 's/tc filter add dev .*/tc filter add dev \$DLIF parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev \$MIF/g' /tmp/qos
EOF
chmod 755 /jffs/scripts/qos-start
service restart_qos
 
Similar threads

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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