What's new

CakeQOS CakeQOS-Merlin

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

I'm planning to mess around with CakeQoS again tomorrow. So I'm curious what everyone is liking most for "Queue priority" and "Extra options" so far?

I'm guessing "Best effort" for queue priority. But extra options has me curious on what people are liking the most, after they have done some testing.
Here are my current settings:
Code:
[1] --> Download Speed | [220 Mbit]
[2] --> Upload Speed | [12 Mbit]
[3] --> Queue Priority | [besteffort]
[4] --> Extra Options | [docsis unlimited ack-filter dual-srchost]
I'm on a Comcast 250Mbit line and 12Mbit down. Works like a charm. Here are my current speedtest results, as you can see I switched from nothing defined under Extra Options to above setting around 8am this morning:
upload_2020-6-28_21-20-48.png


and I'm getting an A+ on buffer bloat.
 

Does @Odkrys have all the necessary tools to build equivalent packages for the other router models (assuming they are running v4 kernels)?

I'm sure more people would love a chance to play with cake. Just not sure what other dependencies there are. Clearly a 1.8GHz or better ARM53 based CPU is a basic requirement for decent perfformance.

As I continue to say we welcome more "bakers" for the remaining two routers :)

@Odkrys has laid the foundation with the ipks...I am curious on "how" to go about building additional packages etc. in order to maintain latest/greatest.

@robcore work on Post 1 with GUI add-on also has me stoked but not sure how to go about developing that piece. https://www.snbforums.com/threads/rt-ac86u-i-built-cake.49190/

I am guessing the likes of @dave14305 @Jack Yaz @Adamm are more the wizards there.
 
i've settled on "diffserv4 unlimited dual-srchost ack-filter" plus "docsis".
good results over the weekend but i need to see what happens comes Monday and workhours comcast UL congestion.

I am curious about diffserv4. As I remember reading a couple days back, a person, or two, seemed to comment as if traffic was mostly being put in best effort. As if traffic really wasn't be tagged much. Has anything changed in that regard? Just has me wondering why you're using it currently.
 
Here are my current settings:
Code:
[1] --> Download Speed | [220 Mbit]
[2] --> Upload Speed | [12 Mbit]
[3] --> Queue Priority | [besteffort]
[4] --> Extra Options | [docsis unlimited ack-filter dual-srchost]
I'm on a Comcast 250Mbit line and 12Mbit down. Works like a charm. Here are my current speedtest results, as you can see I switched from nothing defined under Extra Options to above setting around 8am this morning:
View attachment 24359

and I'm getting an A+ on buffer bloat.


Nice! You can’t improve on perfection!:)
After experimentation, I’ve settled on best effort, & no extra options. (On fibre).
 
@Mutzli

I am curious what exactly does "unlimited" and "dual srchost" do? Overall anyone who knows can comment on this. I hope you guys don't mind the questions. Because honestly I don't know much about Cake, and the options within it.

However I am gamer at heart, and so I love trying to keep my connection as steady as possible. My home network has 12+ devices at all times, that jumps to around 20, or so, at times. To top it off, I have docsis cable internet, like a lot of you. Which as we know upstream bandwidth is pretty limited, and when you push things on the upstream, latency gets jumpy.
 
@Mutzli

I am curious what exactly does "unlimited" and "dual srchost" do? Overall anyone who knows can comment on this. I hope you guys don't mind the questions. Because honestly I don't know much about Cake, and the options within it.

However I am gamer at heart, and so I love trying to keep my connection as steady as possible. My home network has 12+ devices at all times, that jumps to around 20, or so, at times. To top it off, I have docsis cable internet, like a lot of you. Which as we know upstream bandwidth is pretty limited, and when you push things on the upstream, latency gets jumpy.

Code:
SHAPER PARAMETERS         top
      CAKE uses a deficit-mode shaper, which does not exhibit the initial
      burst typical of token-bucket shapers.  It will automatically burst
      precisely as much as required to maintain the configured throughput.
      As such, it is very straightforward to configure:

      unlimited (default)
           No limit on the bandwidth.

      bandwidth RATE
           Set the shaper bandwidth.  See tc(8) or examples below for
      details of the RATE value.

      autorate-ingress
           Automatic capacity estimation based on traffic arriving at this
      qdisc.  This is most likely to be useful with cellular links, which
      tend to change quality randomly.  A bandwidth parameter can be used
      in conjunction to specify an initial estimate.  The shaper will
      periodically be set to a bandwidth slightly below the estimated rate.
      This estimator cannot estimate the bandwidth of links downstream of
      itself.

Code:
      dual-srchost
           Flows are defined by the 5-tuple, and fairness is applied first
      over source addresses, then over individual flows.  Good for use on
      egress traffic from a LAN to the internet, where it'll prevent any
      one LAN host from monopolising the uplink, regardless of the number
      of flows they use.

      dual-dsthost
           Flows are defined by the 5-tuple, and fairness is applied first
      over destination addresses, then over individual flows.  Good for use
      on ingress traffic to a LAN from the internet, where it'll prevent
      any one LAN host from monopolising the downlink, regardless of the
      number of flows they use.

      triple-isolate (default)
           Flows are defined by the 5-tuple, and fairness is applied over
      source *and* destination addresses intelligently (ie. not merely by
      host-pairs), and also over individual flows.  Use this if you're not
      certain whether to use dual-srchost or dual-dsthost; it'll do both
      jobs at once, preventing any one host on *either* side of the link
      from monopolising it with a large number of flows.
 
Nice! You can’t improve on perfection!:)
After experimentation, I’ve settled on best effort, & no extra options. (On fibre).

well, if you have cake with FIBER that's super healthy! do you even need cake?
 
Yes, cake with Fibre is needed for the lower speed tiers. :)
 
I’m sticking with diffserv4 here, and I was one that reported that not much traffic goes in the other tins, however as the besteffort tin is able to use all the bandwidth it’s not detrimental so I’m assuming I get some benefit from the limited shaping that does happen.

I’ve also experimented with autorate-ingress and unlimited.
  • Autorate-ingress works but seems to fall back to lower speeds when idle then takes a few seconds to reach the maximum when demand increases. It also has higher bufferbloat than fixed bandwidth.
  • Unlimited left my upload with poor bufferbloat but having experimented with setting unlimited on download only with fixed bandwidth upload, I think this has potential for some. I get maximum speed with only slightly increased bufferbloat on download and great upload performance. My reservation is whether the download bufferbloat seems ok from the Speedtest but in practice there’s traffic backing up at the ISP. I’ll need to test more during the working days.
 
I’m sticking with diffserv4 here, and I was one that reported that not much traffic goes in the other tins, however as the besteffort tin is able to use all the bandwidth it’s not detrimental so I’m assuming I get some benefit from the limited shaping that does happen.

I’ve also experimented with autorate-ingress and unlimited.
  • Autorate-ingress works but seems to fall back to lower speeds when idle then takes a few seconds to reach the maximum when demand increases. It also has higher bufferbloat than fixed bandwidth.
  • Unlimited left my upload with poor bufferbloat but having experimented with setting unlimited on download only with fixed bandwidth upload, I think this has potential for some. I get maximum speed with only slightly increased bufferbloat on download and great upload performance. My reservation is whether the download bufferbloat seems ok from the Speedtest but in practice there’s traffic backing up at the ISP. I’ll need to test more during the working days.
How do you individually add extra options to upload\download?
 
Last change. Very good.
Code:
CakeQOS-Merlin: Starting - ( 0Mbit | 0Mbit | diffserv4 | unlimited dual-srchost ack-filter )
 
How do you individually add extra options to upload\download?
There is a new update to the script which allows a bandwidth value of 0 (unlimited) to be entered - this allows unlimited to be set in either or both directions. It would be interesting to hear how people find it works set to unlimited just on download where they have asymmetric connections and the download is being limited by cake performance but they need shaping on the upload.

For other options I've been editing the cake-qos script on my own router - do this at your own risk - although you can always reinstall

There is an issue open on GitHub regarding the ability of setting options for upload and download separately. If you want to add your own use cases there is more chance of the functionality being added as currently I've struggled to make a case which is convincing the development team.
 
There is an issue open on GitHub regarding the ability of setting options for upload and download separately. If you want to add your own use cases there is more chance of the functionality being added as currently I've struggled to make a case which is convincing the development team.

I recently added these changes to the v1.0.2 branch, although due to the github outage I am unable to comment on the repo.
 
I recently added these changes to the v1.0.2 branch, although due to the github outage I am unable to comment on the repo.
Many thanks, much appreciated.

I've raised an issue regarding the update checks in the script. The github outage is causing the script to hang, and it seems to check everytime the main menu is displayed rather than just first launch so was quite problematic.

EDIT: I see the comments and closure of the issue on github thanks. It felt like much longer than 9 seconds that it was hanging but it's quite likely that I'm just impatient :)
 
Last edited:
Well I tried reinstalling CakeQoS, and it seems the install goes okay, however after I enter my "extra options" on initial setup. Some info pops up, and I try loading the menu by inputting CakeQoS. However it says not found. So am I missing something, or doing something wrong? Here's what is shown after I entered my "extra options" on setup.

Code:
Broadcom Packet Flow Cache HW acceleration <DISABLED>
CPU Speed (*) ==> Disable
Changing power settings. Forcing cpu to max frequency.
   Set cpuspeed to on(pwr config --cpuspeed on) to make it adaptive again
Broadcom Packet Flow Cache learning via BLOG disabled.
Broadcom Packet Flow Cache flushing the flows
 

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!

Staff online

Top