What's new

CakeQOS CakeQoS-Merlin v2.0.0 alpha

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

Status
Not open for further replies.
I've updated the alpha to handle mounting the web page after a reboot. And I even tested it. :rolleyes:

Summary of changes today:
  • Fixed permissions on service-event-end preventing Check for Update from working properly
  • Added back ingress keyword to hardcoded download options. Can be overridden by adding egress to the Custom Download Options box.
  • Fixed WebUI missing after router reboot.
Update with cake-qos update or through the WebUI if you have already fixed the permissions manually.
I ran the manual update, and can now see that the "Check" button works. However, it keeps finding a Hotfix and offering to apply it. Now I am assuming that hotfixes are not being released at a rate of one every 30 seconds or so ;).

EDIT: Just updated from the script suing the shell again, and it found a hotfix and applied it successfully. Not sure what odd intermediate state my installation was in before.....
It would be nice if the hotfixes updated the minor revision number.
 
Last edited:
Post some more of the syslog before and after those lines. Like this:

Code:
Mar 20 22:02:23 rc_service: httpds 1236:notify_rc restart_qos;restart_firewall
Mar 20 22:02:23 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Mar 20 22:02:23 CakeQOS-Merlin: Configuring Cake options...
Mar 20 22:02:23 lldpd[1061]: removal request for address of fe80::44ed:d1ff:febd:d526%21, but no knowledge of it
Mar 20 22:02:23 kernel: Ebtables v2.0 registered
Mar 20 22:02:25 BWDPI: fun bitmap = 3
Mar 20 22:02:25 custom_config: Appending content of /jffs/configs/cake-qos.conf.add.
Mar 20 22:02:25 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Mar 20 22:02:25 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Mar 20 22:02:26 custom_script: Running /jffs/scripts/firewall-start (args: eth0)
Mar 20 22:02:26 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
here you go. FYI I have updated to beta 2 prior to getting three logs.

Mar 21 15:56:41 kernel: Init chrdev /dev/idp with major 190
Mar 21 15:56:41 kernel: tdts: tcp_conn_max = 8000
Mar 21 15:56:41 kernel: tdts: tcp_conn_timeout = 300 sec
Mar 21 15:56:45 kernel: SHN Release Version: 2.0.1 c03f6c5
Mar 21 15:56:45 kernel: UDB Core Version: 0.2.20
Mar 21 15:56:45 kernel: Init chrdev /dev/idpfw with major 191
Mar 21 15:56:45 kernel: IDPfw: flush fc
Mar 21 15:56:45 kernel: IDPfw: IDPfw is ready
Mar 21 15:56:45 kernel: sizeof forward pkt param = 192
Mar 21 15:56:45 BWDPI: fun bitmap = 3
Mar 21 15:56:45 rc_service: httpd 1253:notify_rc restart_qos;restart_firewall
Mar 21 15:56:45 custom_script: Running /jffs/scripts/service-event (args: restart qos)
Mar 21 15:56:45 CakeQOS-Merlin: Configuring Cake options...
Mar 21 15:56:46 BWDPI: force to flush flowcache entries
Mar 21 15:56:46 kernel: IDPfw: Exit IDPfw
Mar 21 15:56:46 kernel: mod epilog takes 0 jiffies
Mar 21 15:56:46 kernel: IDPfw: Exit IDPfw
Mar 21 15:56:46 kernel: Exit chrdev /dev/idpfw with major 191
Mar 21 15:56:46 kernel: Exit chrdev /dev/idp with major 190
Mar 21 15:56:46 kernel: Archer TCP Pure ACK Enabled
Mar 21 15:56:46 kernel: ^[[0;33;41m[ERROR archer] sysport_tm_command,1224: Feature Unavailable^[[0m
Mar 21 15:56:46 custom_config: Appending content of /jffs/configs/cake-qos.conf.add.
Mar 21 15:56:46 custom_script: Running /jffs/scripts/service-event-end (args: restart qos)
Mar 21 15:56:46 custom_script: Running /jffs/scripts/service-event (args: restart firewall)
Mar 21 15:56:46 custom_script: Running /jffs/scripts/nat-start
Mar 21 15:56:47 custom_script: Running /jffs/scripts/service-event-end (args: restart firewall)
Mar 21 15:56:48 kernel: Init chrdev /dev/idp with major 190
Mar 21 15:56:48 kernel: tdts: tcp_conn_max = 8000
Mar 21 15:56:48 kernel: tdts: tcp_conn_timeout = 300 sec
Mar 21 15:56:52 kernel: SHN Release Version: 2.0.1 c03f6c5
Mar 21 15:56:52 kernel: UDB Core Version: 0.2.20
Mar 21 15:56:52 kernel: Init chrdev /dev/idpfw with major 191
Mar 21 15:56:52 kernel: IDPfw: flush fc
Mar 21 15:56:52 kernel: IDPfw: IDPfw is ready
Mar 21 15:56:52 kernel: sizeof forward pkt param = 192
Mar 21 15:56:52 BWDPI: fun bitmap = 3
Mar 21 15:56:58 BWDPI: force to flush flowcache entries
Mar 21 15:56:58 kernel: IDPfw: Exit IDPfw
Mar 21 15:56:58 kernel: mod epilog takes 0 jiffies
Mar 21 15:56:58 kernel: IDPfw: Exit IDPfw
Mar 21 15:56:58 kernel: Exit chrdev /dev/idpfw with major 191
Mar 21 15:56:58 kernel: Exit chrdev /dev/idp with major 190
Mar 21 15:56:58 custom_config: Appending content of /jffs/configs/cake-qos.conf.add.
Mar 21 15:56:59 custom_script: Running /jffs/scripts/nat-start
 
With CakeQOS_Merlin enabled:
Screenshot_2021-03-21 Bufferbloat Test by Waveform Cake On.png

With CakeQOS_Merlin disabled:
Screenshot_2021-03-21 Bufferbloat Test by Waveform Cake Off.png

CakeQOS_Merlin Settings:
Screenshot_2021-03-21 ASUS Wireless Router RT-AC86U - CakeQoS.png
 
Great job guys! I updated to 386.2_B2 and then installed this gem.

A few comments/suggestions:

1) When I added ack-filter to the Custom Upload Parameters and then look at /jffs/configs/cake-qos.conf.add I do see ack-filter appended. But it also has no-ack-filter on the line:
ULOPTIONS="dual-srchost nat nowash no-ack-filter docsis ack-filter"

2) It would be helpful to display the actual parameters in cake-qos.conf.add on the WebUI. Somewhat like cake-qos status. Maybe above the Custom Parameters lines

3) Dave - you have a parser that will "negate" in FlexQos. Maybe add an equivalent function on the Custom Parameters. i.e !no-ack-filter would remove the parameter.

4) Once you hit apply - it restarts cake-qos. I believe so, just checking.

BTW, I have a very asymmetric link (200 down, 10 up) both dslr and Waveform show A/A+.
 
Updated this morning, Gui is stuck here (cant click on anything). Those arent my settings. Rebooted router, uninstalled cake-qos 2.0, reinstalled. Cleared browser cookies.
Running cake-qos from cli shows everything fine. AC86U

ss2.png
p
 
Updated this morning, Gui is stuck here (cant click on anything). Those arent my settings. Rebooted router, uninstalled cake-qos 2.0, reinstalled. Cleared browser cookies.
Running cake-qos from cli shows everything fine. AC86U

View attachment 32279p
Something broke in the HTML, probably related to the new tooltip. Please check the browser console.
 
1) When I added ack-filter to the Custom Upload Parameters and then look at /jffs/configs/cake-qos.conf.add I do see ack-filter appended. But it also has no-ack-filter on the line:
ULOPTIONS="dual-srchost nat nowash no-ack-filter docsis ack-filter"
ack-filter should be controlled by the yes/no choices (Filter duplicate tcp acks).
2) It would be helpful to display the actual parameters in cake-qos.conf.add on the WebUI. Somewhat like cake-qos status. Maybe above the Custom Parameters lines
Yes, more status is planned.
3) Dave - you have a parser that will "negate" in FlexQos. Maybe add an equivalent function on the Custom Parameters. i.e !no-ack-filter would remove the parameter.
I’m not fond of that idea on the surface. Most parameters have opposite keywords to negate their effects.
4) Once you hit apply - it restarts cake-qos. I believe so, just checking.
It restarts QoS and firewall.
 
I have a question on setting custom parameters. When I enter 'docsis' for download and upload it doesn't seem to load that parameter. However, it does load 'ingress' as a download parameter. Here is my cake-qos.conf.add file:
Code:
ULPRIOQUEUE="besteffort"
DLPRIOQUEUE="besteffort"
ULOPTIONS="dual-srchost nat nowash ack-filter docsis"
DLOPTIONS="ingress dual-dsthost nat wash no-ack-filter docsis ingress"

and here is the status:
Code:
CakeQOS-Merlin: > Download Status:
qdisc cake 800a: dev ifb4eth0 root refcnt 2 bandwidth 225280Kbit besteffort dual-dsthost nat wash ingress no-ack-filter
CakeQOS-Merlin: > Upload Status:
qdisc cake 8009: dev eth0 root refcnt 2 bandwidth 15360Kbit besteffort dual-srchost nat nowash ack-filter split-gso rtt

Is that because of Merlins implementation of mpu and overhead settings.

Edit: removed the 'ingress' parameter since it is loaded as a standard parameter.
 
Last edited:
Something broke in the HTML, probably related to the new tooltip. Please check the browser console.
Just installed on my AX86U to make sure it was broke also. Heres console output
user1.asp:47 Uncaught SyntaxError: Unexpected token ';'
Uncaught SyntaxError: Unexpected token ';'
user1.asp:1183 Uncaught ReferenceError: initial is not defined
at onload (user1.asp:1183)
user1.asp:1 Unchecked runtime.lastError: The message port closed before a response was received.
 
Last edited:
ack-filter should be controlled by the yes/no choices (Filter duplicate tcp acks).

Yes, more status is planned.

I’m not fond of that idea on the surface. Most parameters have opposite keywords to negate their effects.

It restarts QoS and firewall.
I see. I was more thinking it would remove a default parameter. Since this page is for the brave of heart (aka advanced users).

I will clean up my Parameters and use the filter duplicate tcp acks setting.

Gratis.

Oops -
I stand corrected (and now understand). After removing the ack-filter parameter and using the settings box, I now see how the .add file is generated. I didn't quite comprehend that all the settings above completely generate a new .add file.

Never mind, no need for "!"
 
Just installed on my AX86U to make sure it was broke also. Heres console output
user1.asp:47 Uncaught SyntaxError: Unexpected token ';'
Uncaught SyntaxError: Unexpected token ';'
user1.asp:1183 Uncaught ReferenceError: initial is not defined
at onload (user1.asp:1183)
user1.asp:1 Unchecked runtime.lastError: The message port closed before a response was received.
OK, I've reverted that change for now. I need to be more thorough to find the correct WAN MTU value for all connection types. What kind of connection do you have? Any Dual WAN or PPPoE?
 
OK, I've reverted that change for now. I need to be more thorough to find the correct WAN MTU value for all connection types. What kind of connection do you have? Any Dual WAN or PPPoE?
Router is connected to a vdsl modem that uses pppoe. That fixed it
 
I have a question on setting custom parameters. When I enter 'docsis' for download and upload it doesn't seem to load that parameter. However, it does load 'ingress' as a download parameter. Here is my cake-qos.conf.add file:
Code:
ULPRIOQUEUE="besteffort"
DLPRIOQUEUE="besteffort"
ULOPTIONS="dual-srchost nat nowash ack-filter docsis"
DLOPTIONS="ingress dual-dsthost nat wash no-ack-filter docsis ingress"

and here is the status:
Code:
CakeQOS-Merlin: > Download Status:
qdisc cake 800a: dev ifb4eth0 root refcnt 2 bandwidth 225280Kbit besteffort dual-dsthost nat wash ingress no-ack-filter
CakeQOS-Merlin: > Upload Status:
qdisc cake 8009: dev eth0 root refcnt 2 bandwidth 15360Kbit besteffort dual-srchost nat nowash ack-filter split-gso rtt

Is that because of Merlins implementation of mpu and overhead settings.

Edit: removed the 'ingress' parameter since it is loaded as a standard parameter.
Yes, Merlin's overhead settings override any overhead keywords in the custom section, due to the layout of the command line. Overhead is applied after DLOPTIONS.
Code:
tc qdisc add dev $MIF root cake $DLPRIOQUEUE $DLOPTIONS $DLBW $OVERHEAD $FRAMING 2>/dev/null
 
My weekly AX86U bitch (For those who may have one and experiencing bufferbloat). I have a AC86U and AX86U hooked to the same modem using different SSID's. Both running 386.2 Beta2 , both running cake. Exact
same settings. Bufferbloat on AC86u A+ , Bufferbloat on AX86u C
 
Another minor update to the webui to show a tooltip with what kind of throughput (goodput) you might expect based on your bandwidth, MTU and overhead. I've seen this calculation used by Sebastian Moeller on the Cake mail list and OpenWRT forums many times, and I've added it when you hover over the upload/download fields.

View attachment 32242

Goodput = Bandwidth * ( ( MTU - 20 - 20 ) / ( MTU + Overhead ) )

If your test results are reasonably close to these expectations, then you are doing well. This is for IPv4 Ethernet.
that's cool - what changes for IPv6?
 
have you tried cake just on the upload side? or do you need the sorting/priority/containers of Flex on the download side?
Maybe we need Flake now.. Flex on the download, cake on the upload.. come on Dave
 
I've seen alot of CAKE talk and I wanted to know if I install the latest 386.2 beta 2, is the built in CAKE the same as CAKE 2.0.0 alpha or they're separately? I haven't kept up with all the info going around. I apologize if this has been asked already
 
Status
Not open for further replies.

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