What's new

CakeQOS CakeQoS-Merlin v2.1.1

  • 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!

No with this option you stick with the default (wan upload and ifb created for download based on wan). You just need to end up with 'flows nonat' by either tweaking the options and/or specifying custom upload parameters. And you can verify all worked well using 'tc qdisc ls' when logged in via ssh.
Cake automatically creates "ifb" ?
 
Thanks, appreciate the noob explanations :)

Here's what I end up with:

tc qdisc ls
qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth3 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc cake 8007: dev eth4 root refcnt 2 bandwidth 18432Kbit diffserv3 flows nonat nowash ack-filter split-gso rtt 100ms noatm overhead 80
qdisc ingress ffff: dev eth4 parent ffff:fff1 ----------------
qdisc pfifo_fast 0: dev eth5 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 0: dev eth6 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc cake 8008: dev ifb4eth4 root refcnt 2 bandwidth 110592Kbit besteffort dual-dsthost nat wash ingress no-ack-filter split-gso rtt 100ms noatm overhead 80

Is MPU important? It's set to 0 currently for me.

1697359601000.png
 
Last edited:
Trying to remove Cake-QOS Merlin script with cake-qos uninstall but the tab is still showing under qos and Putty shows cake qos not found.

I am now trying Flex Qos and installed this instead.

I also cleared my cache and cookies still there.

Thanks in advance for your help
 
Last edited:
Trying to remove Cake-QOS Merlin script with cake-qos uninstall but the tab is still showing under qos and Putty shows cake qos not found.

I also cleared my cache and cookies still there.

Thanks in advance for your help
You can try the following and reboot router:


or

Code:
cake-qos uninstall
 
Last edited:
You can try the following and reboot router:


or

Code:
cake-qos uninstall
That worked thanks
 
@privacyguy123 I've just asked a question on your behalf directed to one of the original cake co-authors on the OpenWrt forum:


Specifically I think you may need to get rid of the 'diffserv3' keyword, but I'm not entirely certain. Hence my question.

I you run two concurrent speed tests via the VPN from two different clients, do you see 50/50 split of bandwidth?
 
@privacyguy123 I've just asked a question on your behalf directed to one of the original cake co-authors on the OpenWrt forum:


Specifically I think you may need to get rid of the 'diffserv3' keyword, but I'm not entirely certain. Hence my question.

I you run two concurrent speed tests via the VPN from two different clients, do you see 50/50 split of bandwidth?
Thanks! Please note it is possible to change diffserv3 to besteffort, difserv4 or difserv8

No, I get one hogging bandwidth as far as I can see ... also ping timeouts on the one that does the test slower.

Keep in mind my set up is ALL traffic sent though WG via VPN Director.
 
Specifically I think you may need to get rid of the 'diffserv3' keyword, but I'm not entirely certain. Hence my question.
Isn’t the trade-off that WG will retain the skb hash in order to differentiate flows, but the encapsulated packet presents no original DSCP, so the tin would end up as whichever DSCP is assigned to the tunnel connection itself? besteffort is probably the most sensible choice. You can have fairness but not priority in such a scenario.
 
Isn’t the trade-off that WG will retain the skb hash in order to differentiate flows, but the encapsulated packet presents no original DSCP, so the tin would end up as whichever DSCP is assigned to the tunnel connection itself? besteffort is probably the most sensible choice. You can have fairness but not priority in such a scenario.

Not only this, you can tag your packets with DSCP yet will any of the routers along the way use them for queuing? Probably not.
 
I honestly can't determine at all if QoS is doing anything on this router. Perhaps AX3000 is too old and doesn't have these features in the kernel or something? Bufferbloat tests online pretty much suck across the board, FlexQoS, Cake QoS or stock. running speed tests causes running video stream to become choppy or cut out entirely for up to a second *sometimes*, it is hard to reproduce but happens often enough. Ping tests ms shoots up high and sometimes it times out when running a speed test - I've seen others online say these settings are supposed to fix that.

Ironically upload on these tests is A+.
 
I honestly can't determine at all if QoS is doing anything on this router. Perhaps AX3000 is too old and doesn't have these features in the kernel or something? Bufferbloat tests online pretty much suck across the board, FlexQoS, Cake QoS or stock. running speed tests causes running video stream to become choppy or cut out entirely for up to a second *sometimes*, it is hard to reproduce but happens often enough. Ping tests ms shoots up high and sometimes it times out when running a speed test - I've seen others online say these settings are supposed to fix that.

Ironically upload on these tests is A+.

What is your measured download speed with no activity or as little as possible? Set 90% of that for CAKE and you should see a marked improvement. Also, on the CakeQOS-Merlin form, change your upload to match the download. When you move away from besteffort you are not following the spirit of the CAKE design and the same goes for diffserve3. For both download and upload you want the following:
NAT Lookup: Yes
Wash DSCP Markings: No (You don't want CAKE to use them yet upstream routers can)
Filter Duplicate TCP ACKs: No (Let TCP handle this tiny bit of traffic that is there if there is a problem)

Good luck
 
What is your measured download speed with no activity or as little as possible? Set 90% of that for CAKE and you should see a marked improvement. Also, on the CakeQOS-Merlin form, change your upload to match the download. When you move away from besteffort you are not following the spirit of the CAKE design and the same goes for diffserve3. For both download and upload you want the following:
NAT Lookup: Yes
Wash DSCP Markings: No (You don't want CAKE to use them yet upstream routers can)
Filter Duplicate TCP ACKs: No (Let TCP handle this tiny bit of traffic that is there if there is a problem)

Good luck
120mb/20mb - VPN on or off both the same.

I was told by others that for Cake to play nice with WireGuard it has to be flows nonat. None of this matters as QoS does nothing discernable whatsoever on my connection with everything routed through WGC1 via VPN Director. Flex or Cake.
 
Last edited:
120mb/20mb - VPN on or off both the same.

I was told by others that for Cake to play nice with WireGuard it has to be flows nonat. None of this matters as QoS does nothing discernable whatsoever on my connection with everything routed through WGC1 via VPN Director. Flex or Cake.

WireGuard is probably a single flow as that's how VPNs work. All of the WireGuard traffic will be treated the same. What applications are running over Wireguard? If you have applications that require priority you will need to separate them for QOS to help. This means not using a VPN for them, using a deferent VPN for them or using something like Tailescale which uses separate flows for each application.
 
As a last hail-mary-I-don't-know-wtf-is-going on I limited both sides to 20mb - even capped download speed at 20mbs is showing over 60ms latency added when downloading. how the F does that make sense? That's like 20% of my bandwidth and it's still bloating ...
 
As a last hail-mary-I-don't-know-wtf-is-going on I limited both sides to 20mb - even capped download speed at 20mbs is showing over 60ms latency added when downloading. how the F does that make sense? That's like 20% of my bandwidth and it's still bloating ...

Your frustration is clear. A VPN adds latency. Separate latency sensitive applications from the VPN. If they require encryption, then encrypt at the application level. Using a VPN is like putting everyone in a car. Do you expect some passengers to arrive sooner than others? If you want some passengers to arrive sooner, then they must be in a separate car that has flashing lights to give it priority.
 
Your frustration is clear. A VPN adds latency. Separate latency sensitive applications from the VPN. If they require encryption, then encrypt at the application level. Using a VPN is like putting everyone in a car. Do you expect some passengers to arrive sooner than others? If you want some passengers to arrive sooner, then they must be in a separate car that has flashing lights to give it priority.
I am to believe that CakeQoS set how @Lynx describes sort those people into "different cars" ...
 

Latest 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