What's new
  • 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!

cake-autorate: adding support for Asus Merlin

Yes, very much so. People have reported exactly this problem before. If you've installed Optware (usually by installing Download Master in stock firmware) make sure you remove it completely from the USB drive before installing Entware.
Excellent; that was exactly what I was angling at, thank you.
 
I got cake-autorate installed and running, but the output is not giving what speeds its calculating, only messages about reflectors.
It seems to be working... will test for a few days.
 
Last edited:
autorate has been running this morning and I have already something that is not ideal.
I was in a Google Meet call and three times the computer basically froze with only the audio working. (By froze I mean, no network/internet access)

This is not good. Without autorate I would never get the freeze like this, slow downs yes, but for very short time.

Its my understanding that autorate forces a reset of cake which drops all the packets and causes the freezing.
These are the custom settings I have so far:
min_dl_shaper_rate_kbps=25000 # minimum bandwidth for download (Kbit/s)
base_dl_shaper_rate_kbps=120000 # steady state bandwidth for download (Kbit/s)
max_dl_shaper_rate_kbps=150000 # maximum bandwidth for download (Kbit/s)

min_ul_shaper_rate_kbps=5000 # minimum bandwidth for upload (Kbit/s)
base_ul_shaper_rate_kbps=15000 # steady state bandwidth for upload (KBit/s)
max_ul_shaper_rate_kbps=20000 # maximum bandwidth for upload (Kbit/s)

connection_active_thr_kbps=2000 # threshold in Kbit/s below which dl/ul is considered idle

reflector_ping_interval_s=2.0
reflector_response_deadline_s=4.0
output_cake_changes=1
bufferbloat_refractory_period_ms=2000

Anything I can change so that it makes things roll more smoothly?

PS: I realize now that the SSH session had ended and with it autorate was stopped... I am trying again with /jffs/scripts/cake-autorate/launcher.sh &
to keep running after ssh ends.
I will see if the freeze happens again
 
Last edited:
autorate has been running this morning and I have already something that is not ideal.
I was in a Google Meet call and three times the computer basically froze with only the audio working. (By froze I mean, no network/internet access)

This is not good. Without autorate I would never get the freeze like this, slow downs yes, but for very short time.

Its my understanding that autorate forces a reset of cake which drops all the packets and causes the freezing.
These are the custom settings I have so far:
min_dl_shaper_rate_kbps=25000 # minimum bandwidth for download (Kbit/s)
base_dl_shaper_rate_kbps=120000 # steady state bandwidth for download (Kbit/s)
max_dl_shaper_rate_kbps=150000 # maximum bandwidth for download (Kbit/s)

min_ul_shaper_rate_kbps=5000 # minimum bandwidth for upload (Kbit/s)
base_ul_shaper_rate_kbps=15000 # steady state bandwidth for upload (KBit/s)
max_ul_shaper_rate_kbps=20000 # maximum bandwidth for upload (Kbit/s)

connection_active_thr_kbps=2000 # threshold in Kbit/s below which dl/ul is considered idle

reflector_ping_interval_s=2.0
reflector_response_deadline_s=4.0
output_cake_changes=1
bufferbloat_refractory_period_ms=2000

Anything I can change so that it makes things roll more smoothly?
I'm not sure if this script is still being updated or maintained but maybe you can submit a request thru GitHub:
 
SSH disconnect is killing the script, how do I keep it running without being connected via SSH?

I cant properly test this, if I have to keep the ssh session active all the time.
 
Last edited:
SSH disconnect is killing the script, how do I keep it running without being connected via SSH?

I cant properly test this, if I have to keep the ssh session active all the time.
Use the command:

nohup </fullpath/scriptname.sh> &

or cd to the script directory

nohup <./scriptname.sh> &

which allows the script to continue running in the background even after you close the terminal.

Look up nohup command for more info.

(nohup is the 'No hang up' command !!!)
 

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!
Back
Top