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!

how I installed it:

Thank you very much! I also tried to use this scripts but was not able to get it working. Until now!
I followed your lines and the first trail was working! I will try to use this for adjusting Cake. So with this I can adjust Cake not being physically there (via VPN Server)...
Before I ssh'd in into the router and started a ping command and looked at the results during a spdMerlin speedtest. But using this script for adjusting Cake makes it easier. At least for me. Thanks again!
 
So CakeQOS does seem to improve my latency after all!

Without CakeQOS:
Code:
 Download: 244.14 Mbps
  Latency: (in msec, 59 pings, 0.00% packet loss)
      Min: 7.666
    10pct: 10.653
   Median: 22.835
      Avg: 67.547
    90pct: 240.734
      Max: 248.053
............................................................
   Upload: 25.43 Mbps
  Latency: (in msec, 59 pings, 0.00% packet loss)
      Min: 8.453
    10pct: 23.154
   Median: 32.368
      Avg: 31.307
    90pct: 35.969
      Max: 37.449

With CakeQOS:
Code:
Download: 202.32 Mbps
  Latency: (in msec, 60 pings, 0.00% packet loss)
      Min: 8.565
    10pct: 8.861
   Median: 10.263
      Avg: 10.600
    90pct: 12.531
      Max: 14.997
............................................................
   Upload: 20.56 Mbps
  Latency: (in msec, 60 pings, 0.00% packet loss)
      Min: 10.174
    10pct: 11.276
   Median: 12.804
      Avg: 13.319
    90pct: 16.255
      Max: 18.946

Using these settings:
Code:
[1]  --> Download Speed             | [225 Mbit]
[2]  --> Upload Speed               | [22 Mbit]
[3]  --> Queue Priority             | [besteffort]
[4]  --> Extra Download Options     | [docsis ack-filter]
[5]  --> Extra Upload Options       | [docsis ack-filter]

Now I need to figure out whether it's worth giving up bandwidth for better latency...
 
So CakeQOS does seem to improve my latency after all!

Without CakeQOS:
Code:
 Download: 244.14 Mbps
  Latency: (in msec, 59 pings, 0.00% packet loss)
      Min: 7.666
    10pct: 10.653
   Median: 22.835
      Avg: 67.547
    90pct: 240.734
      Max: 248.053
............................................................
   Upload: 25.43 Mbps
  Latency: (in msec, 59 pings, 0.00% packet loss)
      Min: 8.453
    10pct: 23.154
   Median: 32.368
      Avg: 31.307
    90pct: 35.969
      Max: 37.449

With CakeQOS:
Code:
Download: 202.32 Mbps
  Latency: (in msec, 60 pings, 0.00% packet loss)
      Min: 8.565
    10pct: 8.861
   Median: 10.263
      Avg: 10.600
    90pct: 12.531
      Max: 14.997
............................................................
   Upload: 20.56 Mbps
  Latency: (in msec, 60 pings, 0.00% packet loss)
      Min: 10.174
    10pct: 11.276
   Median: 12.804
      Avg: 13.319
    90pct: 16.255
      Max: 18.946

Using these settings:
Code:
[1]  --> Download Speed             | [225 Mbit]
[2]  --> Upload Speed               | [22 Mbit]
[3]  --> Queue Priority             | [besteffort]
[4]  --> Extra Download Options     | [docsis ack-filter]
[5]  --> Extra Upload Options       | [docsis ack-filter]

Now I need to figure out whether it's worth giving up bandwidth for better latency...

from what i found online, you only need the ack-filter on the upload (you have enough bandwidth on the download). also you might get same results even if you bump the DL up to 240... did you also experiment with 0/0?
BTW cake is meant to help with latency, but also with fairness when you have all your router's clients uploading/downloading/streaming/etc simultaneously
 
Last edited:
So CakeQOS does seem to improve my latency after all!

Now I need to figure out whether it's worth giving up bandwidth for better latency...

It’s like driving on the 401- right lane cruising at the speed limit often gets you sailing past the people stopped in the left “fast” lane. You don’t need speed as much as you think you do.
Better ping/less latency makes for a smoother ride; less stop/go gets you there in less time.


Sent from my iPhone using Tapatalk
 
where do i get this nice ping and latency stats ?
 
where do i get this nice ping and latency stats ?


Code:
 mkdir -p /jffs/addons/util
 /usr/sbin/curl -s "https://raw.githubusercontent.com/richb-hanover/OpenWrtScripts/master/betterspeedtest.sh" -o "/jffs/addons/util/betterspeedtest.sh"
 chmod +x /jffs/addons/util/betterspeedtest.sh
 opkg install coreutils-mktemp
 opkg install coreutils-seq
 opkg install netperf
 opkg install procps-ng-pgrep
 /jffs/addons/util/betterspeedtest.sh -t 60 -H netperf-west.bufferbloat.net -p 8.8.8.8
 
does it cost router performance ?

It didnt installed, or how can i open it ?

Is there any way how to show which scripts are installed ?

My router is an Asus RT-AC5300
 
Last edited:
Code:
 mkdir -p /jffs/addons/util
 /usr/sbin/curl -s "https://raw.githubusercontent.com/richb-hanover/OpenWrtScripts/master/betterspeedtest.sh" -o "/jffs/addons/util/betterspeedtest.sh"
 chmod +x /jffs/addons/util/betterspeedtest.sh
 opkg install coreutils-mktemp
 opkg install coreutils-seq
 opkg install netperf
 opkg install procps-ng-pgrep
 /jffs/addons/util/betterspeedtest.sh -t 60 -H netperf-west.bufferbloat.net -p 8.8.8.8
its a shame netperf has such limited locations for public test servers which will probaby affect non-US results =[
 
its a shame netperf has such limited locations for public test servers which will probaby affect non-US results =[
Try netperf-eu.bufferbloat.net.
 
denmark still isn't particularly close to cambridge. while distance isn't a massive factor, testing closer servers usually produces better results

I'm in UK, and have been getting fairly consistent results using netperf-eu.bufferbloat.net

without CakeQOS
Code:
2020-07-06 20:59:07 Testing against netperf-eu.bufferbloat.net (ipv4) with 5 simultaneous sessions while pinging gstatic.com (60 seconds in each direction)
.................................................................
 Download: 117.76 Mbps
  Latency: (in msec, 65 pings, 0.00% packet loss)
      Min: 21.224
    10pct: 96.982
   Median: 401.530
      Avg: 365.693
    90pct: 492.280
      Max: 515.735
.................................................................
   Upload: 10.58 Mbps
  Latency: (in msec, 65 pings, 0.00% packet loss)
      Min: 15.426
    10pct: 43.055
   Median: 56.706
      Avg: 54.064
    90pct: 62.067
      Max: 68.906

with CakeQOS
Code:
2020-07-06 21:04:07 Testing against netperf-eu.bufferbloat.net (ipv4) with 5 simultaneous sessions while pinging gstatic.com (60 seconds in each direction)
................................................................
 Download: 97.82 Mbps
  Latency: (in msec, 65 pings, 0.00% packet loss)
      Min: 14.775
    10pct: 15.279
   Median: 18.378
      Avg: 19.176
    90pct: 22.242
      Max: 36.572
.................................................................
   Upload: 9.11 Mbps
  Latency: (in msec, 65 pings, 0.00% packet loss)
      Min: 13.231
    10pct: 14.165
   Median: 18.261
      Avg: 19.120
    90pct: 24.134
      Max: 33.956
 
so i also cannot install this script to test the latency ? is there any other scripts that test the same?
 
so i also cannot install this script to test the latency ? is there any other scripts that test the same?
You can install the ping and latency test tool using the instructions in @ugandy 's post here:
https://www.snbforums.com/threads/release-cakeqos-merlin.64800/page-46#post-600639

I was talking about cake being incompatible with your router model.
I didn't realise you were asking about the ping test script costing router performance. In answer to that, no, it just lets you run a short test.
 
i did try to install that script but it says not found on each installation code, does this code also support the asus rtac5300
 
i did try to install that script but it says not found on each installation code, does this code also support the asus rtac5300
You need to have USB storage configured on the router, and have installed entware in order to install addon packages.
 
Is this the best way to test internet latency/jitter ping all that matter also for online gaming?

Or is connmon and spd Merlin better?
 

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