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!

This might be the optimal setting. Gonna configure it now as the dust has settled in the real job!

See how stable this stays..vs besteffort which has been rock solid

Code:
qdisc cake 8008: root refcnt 2 bandwidth 145Mbit diffserv4 triple-isolate nat wash ingress ack-filter split-gso rtt 100.0ms noatm overhead 18 mpu 64 no-sce
 Sent 1992225 bytes 4626 pkt (dropped 0, overlimits 776 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 28Kb of 7250000b
 capacity estimate: 145Mbit
 min/max network layer size:           46 /    1500
 min/max overhead-adjusted size:       64 /    1518
 average network hdr offset:           14

                   Bulk  Best Effort        Video        Voice
  thresh       9062Kbit      145Mbit    72500Kbit    36250Kbit
  target          5.0ms        5.0ms        5.0ms        5.0ms
  interval      100.0ms      100.0ms      100.0ms      100.0ms
  pk_delay          0us        7.0ms          0us         77us
  av_delay          0us        448us          0us          2us
  sp_delay          0us          8us          0us          0us
  backlog            0b           0b           0b           0b
  pkts                0         1820            0         2806
  bytes               0      1823865            0       168360
  way_inds            0            0            0            0
  way_miss            0           78            0            1
  way_cols            0            0            0            0
  marks               0            0            0            0
  drops               0            0            0            0
  ack_drop            0            0            0            0
  sp_flows            0            8            0            1
  bk_flows            0            1            0            0
  un_flows            0            0            0            0
  max_len             0         1514            0           60
  quantum           300         1514         1514         1106

eth0
Code:
qdisc cake 8007: root refcnt 2 bandwidth 14Mbit diffserv4 triple-isolate nat nowash ack-filter split-gso rtt 100.0ms noatm overhead 18 mpu 64 no-sce
 Sent 768928 bytes 4355 pkt (dropped 385, overlimits 1674 requeues 0)
 backlog 0b 0p requeues 0
 memory used: 17344b of 4Mb
 capacity estimate: 14Mbit
 min/max network layer size:           28 /    1500
 min/max overhead-adjusted size:       64 /    1518
 average network hdr offset:           14

                   Bulk  Best Effort        Video        Voice
  thresh        875Kbit       14Mbit        7Mbit     3500Kbit
  target         20.8ms        5.0ms        5.0ms        5.2ms
  interval      115.8ms      100.0ms      100.0ms      100.2ms
  pk_delay          0us       13.3ms          0us          0us
  av_delay          0us        820us          0us          0us
  sp_delay          0us          3us          0us          0us
  backlog            0b           0b           0b           0b
  pkts                0         4740            0            1
  bytes               0       802150            0           42
  way_inds            0            0            0            0
  way_miss            0          143            0            1
  way_cols            0            0            0            0
  marks               0            0            0            0
  drops               0            2            0            0
  ack_drop            0          383            0            0
  sp_flows            0            0            0            1
  bk_flows            0            1            0            0
  un_flows            0            0            0            0
  max_len             0         1514            0           42
  quantum           300          427          300          300

qdisc ingress ffff: parent ffff:fff1 ----------------
 Sent 7364043 bytes 16607 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0

my ack_drop on the UL is huge(?)

Code:
                   Bulk  Best Effort        Video        Voice
  thresh        250Kbit        4Mbit        2Mbit        1Mbit
  target         72.7ms        5.0ms        9.1ms       18.2ms
  interval      167.7ms      100.0ms      104.1ms      113.2ms
  pk_delay          0us        2.8ms          0us        2.3ms
  av_delay          0us        1.2ms          0us        957us
  sp_delay          0us          2us          0us          9us
  backlog            0b           0b           0b           0b
  pkts                0      1347916            0         1646
  bytes               0    418341082            0       214826
  way_inds            0        22771            0            0
  way_miss            0         9834            0           45
  way_cols            0            0            0            0
  marks               0            1            0            0
  drops               0        13657            0            0
  ack_drop            0       297507            0            0
  sp_flows            0            2            0            1
  bk_flows            0            1            0            0
  un_flows            0            0            0            0
  max_len             0         1514            0          590
  quantum           300          300          300          300
 
top
That's ack-filter doing its job!

If upload isn't saturating itself with acks in response to a massive download, then the download can proceed more quickly :)
That's why ack-filter is recommended for links with 10:1 DL/UL ratios. (useless to me of course ;))

i see. so it's just showing how bad my comcast upload is :-(
 
Even with "diffserv 8" I am only seeing 2 tins with data. Looks like diffserv is not working correctly.
Yea, I am seeing a little stuff in Video on upload(??), but most everything is on besteffort with a smidgeon in voice which must catch my instant messaging traffic.
Absolutely nothing in bulk which you'd think would be an easy one to detect.
 
I went to switch my cake settings from diffserv4 back to besteffort today, so ran.
Code:
/jffs/scripts/cake-qos start 31600kbit 8900kbit "bridged-ptm"

But my nat-start script was not updated with the new settings, and still shows diffserv4.

Is the start command supposed to edit the nat-start script as well?
I tried both install/update with my preferred parameters, but neither of those updated the nat-start script either.
 
I went to switch my cake settings from diffserv4 back to besteffort today, so ran.
Code:
/jffs/scripts/cake-qos start 31600kbit 8900kbit "bridged-ptm"

But my nat-start script was not updated with the new settings, and still shows diffserv4.

Is the start command supposed to edit the nat-start script as well?
I tried both install/update with my preferred parameters, but neither of those updated the nat-start script either.
Try stopping cake first...
cake-qos stop
then run your config script
cake-qos status
 
Try stopping cake first...
cake-qos stop
then run your config script
cake-qos status
Stopping cake then using either start, install or update does not update my nat-start script.

Start is the only one that takes parameters though?

Oh wait, I see it is already tracked as an issue in Github. Never mind :)
 
Stopping cake then using either start, install or update does not update my nat-start script.

Start is the only one that takes parameters though?

Oh wait, I see it is already tracked as an issue in Github. Never mind :)

I have addressed this and many other QOL issues today while rewriting the script, hold tight until its ready ;)
 
Has anyone tested how cake interacts with vpn clients and vpn servers?

My connection speed as measured by spdMerlin is consistently 111/10 and I've set cake to 95/8.5 besteffort which seems to give me the best results, e.g. below
upload_2020-6-24_10-35-38.png


Results with merlin VPN client (AirVPN):
upload_2020-6-24_10-36-17.png


Results with vpn client on laptop (this is my work's vpn client not AirVPN used above):
upload_2020-6-24_10-37-25.png


All tests were done on the same laptop connected over wireless. I guess I need to test the AirVPN client on the laptop as well?


Loving cake-qos so far, thanks everyone for your great work :)
 
Has anyone tested how cake interacts with vpn clients and vpn servers?
A quick check: My overseas VPN performance / download around 30-40% better now / around 100MBps average.

Upload not checked.

Sent from my OnePlus 7 Pro using Asus RT-AC86U & Merlin 384.17
 
when downloading a large file, with cake limits set to 250/10 on a crappy bufferbloated comcast 600/15 line, sometimes i get packet loss while download is ongoing. nothing else heavy going on, on the network.
Untitled.jpg
 
Last edited:
Can someone help me figure out if I did something wrong, or if I found a bug (possibly in Merlin)?

I've changed from FreshJR/fq-codel to cake. I uninstalled FreshJR, turned off QoS and have Withdrawn.
RAM usage dropped...but it creeps back up. and here's possibly why:

in Merlin, General Settings/Adaptive QoS/Classification is still "Automatically refresh data" every 3 sec.
as soon as I turn it off and go back to General/Network Map, the RAM usage drops a good 3-5%
over time, somehow, it gets switched back on.

Did I miss something in the uninstall/deactivation process?
Is this tied to some other setting/logging function elsewhere?
can this be addressed by issuing a command in terminal?
Should I report this to @RMerlin?
 
i have cake enabled and i can see that it is working on the speed tests, but when i go to the sysinfo page, it reports hw accel enabled. anyone else seeing this? i did do ctrlF5
Untitled.png
 
Can someone help me figure out if I did something wrong, or if I found a bug (possibly in Merlin)?

I've changed from FreshJR/fq-codel to cake. I uninstalled FreshJR, turned off QoS and have Withdrawn.
RAM usage dropped...but it creeps back up. and here's possibly why:

in Merlin, General Settings/Adaptive QoS/Classification is still "Automatically refresh data" every 3 sec.
as soon as I turn it off and go back to General/Network Map, the RAM usage drops a good 3-5%
over time, somehow, it gets switched back on.

Did I miss something in the uninstall/deactivation process?
Is this tied to some other setting/logging function elsewhere?
can this be addressed by issuing a command in terminal?
Should I report this to @RMerlin?
Believe there was two sections to withdraw from. Did you do both?
 
Did I miss something in the uninstall/deactivation process?
Is this tied to some other setting/logging function elsewhere?
can this be addressed by issuing a command in terminal?
I think this is just normal memory management at work. Questions like this led to the optional setting about purging cache a couple of years ago. Using memory is good.
 
Believe there was two sections to withdraw from. Did you do both?

I wasn’t aware of a 2nd section. And at the moment, I cant recall where the 1st one was.
Can you confirm your suspicion and let us know where they are?


Sent from my iPhone using Tapatalk
 
I wasn’t aware of a 2nd section. And at the moment, I cant recall where the 1st one was.
Can you confirm your suspicion and let us know where they are?


Sent from my iPhone using Tapatalk
Under administration then Privacy. Its my understanding that once you withdraw from those they shouldn't work anymore or show data. I may be wrong as I don't use Cake. I still use Daves updated freshjr script.
upload_2020-6-24_15-11-32.png
 

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