I'm using the 3.2 version.
Sure, I'll try the master branch and will record the logs.
I'm using the 3.2 version.
Sure, I'll try the master branch and will record the logs.
Here are the results using my latest logs:
https://drive.google.com/drive/folders/1R7E436DrjydgE3aVd_Jp_Hc3UyXX2-fq?usp=sharing
Seems your delays could be tightened - check this post here:
Maybe try:
dl_avg_owd_delta_max_adjust_up_thr_ms=7.5
ul_avg_owd_delta_max_adjust_up_thr_ms=7.5
dl_owd_delta_delay_thr_ms=15.0
ul_owd_delta_delay_thr_ms=15.0
dl_avg_owd_delta_max_adjust_down_thr_ms=30.0
ul_avg_owd_delta_max_adjust_down_thr_ms=30.0
And also can you post results from:
Firstly - I have to say this is a really stellar program and seems to be working very well to control 100-2000+ms T-mobile home internet latency to <60ms with less-than-expected bandwidth penalty. I bought a used Cudy WR3000 to test it out as my "production" mesh setup is running DD-WRT which doesn't have auto-adjusting QoS scripts (yet). Which leads to the question...
How "minor" are the modifications to try and convert this script to be DD-WRT compatible? I presume it's easier to replace my DD-WRT routers with openWRT routers, but if it's truly a "minor" effort, than maybe it's worth a shot.
Thanks. Yes I guess it just works for many different setups now. Mostly they’d benefit with some optimisation but the defaults are probably just fine for many.
Surely very minor. You could try raising an issue on the GitHub. Else it may be a case of a sufficiently interested and knowledgable party fixing it himself.
I did make some (presumably) logical adjusting to the defaults while installing, based on known bandwidth max/min and minimum expected latency.
I'm considering a few options.
I am looking for some help maximizing my connection if possible. I am brand new to OpenWRT (been using it for a month now) and just installed cake-autorate.
Hardware: Hitron Technologies EN2251 modem (provided by Spectrum), GL iNet GL-MT6000 (Flint 2) router running official OpenWRT (OpenWrt 23.05.5 (r24106-10cc5fcd00). All devices using to test are hardwired to the router.
ISP: Spectrum cable internet connected with coaxial cable, rated for 500 Mbps down. My speeds average around 560 Mbps down for speed tests.
Spectrum provided this information:
/root/cake-automate/config.primary.sh:
root@OpenWrt:~/cake-autorate# cat /root/cake-autorate/config.primary.sh
#!/usr/bin/env bash
# *** INSTANCE-SPECIFIC CONFIGURATION OPTIONS ***
#
# cake-autorate will run one instance per config file present in the directory where
# cake-autorate is found (typically /root/cake-autorate). The config files must be in
# the directory in the form: config.instance.sh. Thus multiple instances of cake-autorate
# can be established by setting up appropriate config files like config.primary.sh and
# config.secondary.sh for the respective first and second instances of cake-autorate.
### For multihomed setups, it is the responsibility of the user to ensure that the probes
### sent by this instance of cake-autorate actually travel through these interfaces.
### See ping_extra_args and ping_prefix_string
dl_if=ifb4eth1 # download interface
ul_if=eth1 # upload interface
# Set either of the below to 0 to adjust one direction only
# or alternatively set both to 0 to simply use cake-autorate to monitor a connection
adjust_dl_shaper_rate=1 # enable (1) or disable (0) actually changing the dl shaper rate
adjust_ul_shaper_rate=1 # enable (1) or disable (0) actually changing the ul shaper rate
min_dl_shaper_rate_kbps=56100 # minimum bandwidth for download (Kbit/s)
base_dl_shaper_rate_kbps=280500 # steady state bandwidth for download (Kbit/s)
max_dl_shaper_rate_kbps=504900 # maximum bandwidth for download (Kbit/s)
min_ul_shaper_rate_kbps=2100 # minimum bandwidth for upload (Kbit/s)
base_ul_shaper_rate_kbps=10500 # steady state bandwidth for upload (KBit/s)
max_ul_shaper_rate_kbps=18900: # maximum bandwidth for upload (Kbit/s)
connection_active_thr_kbps=100 # threshold in Kbit/s below which dl/ul is considered idle
# Logging toggles for various stats
output_processing_stats=0 # enable (1) or disable (0) output monitoring lines showing processing stats
output_load_stats=0 # enable (1) or disable (0) output monitoring lines showing achieved loads
output_reflector_stats=0 # enable (1) or disable (0) output monitoring lines showing reflector stats
output_summary_stats=0 # enable (1) or disable (0) output monitoring lines showing summary stats
output_cpu_stats=0 # enable (1) or disable (0) output monitoring lines showing CPU usage percentages
output_cpu_raw_stats=0 # enable (1) or disable (0) output monitoring lines showing raw CPU usage lines
# *** OVERRIDES ***
### See defaults.sh for additional configuration options
### that can be set in this configuration file to override the defaults.
### Place any such overrides below this line.
root@OpenWrt:~/cake-autorate#
tc qdisc ls:
root@OpenWrt:~/cake-autorate# tc qdisc ls
qdisc noqueue 0: dev lo root refcnt 2
qdisc mq 0: dev eth0 root
qdisc fq_codel 0: dev eth0 parent :10 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :f limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :e limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :d limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :c limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :b limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :a limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :9 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc cake 81c1: dev eth1 root refcnt 17 bandwidth 20Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms noatm overhead 34
qdisc ingress ffff: dev eth1 parent ffff:fff1 ----------------
qdisc noqueue 0: dev lan2 root refcnt 2
qdisc noqueue 0: dev lan3 root refcnt 2
qdisc noqueue 0: dev lan4 root refcnt 2
qdisc noqueue 0: dev lan5 root refcnt 2
qdisc noqueue 0: dev lan1 root refcnt 2
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev phy0-ap0 root refcnt 2
qdisc noqueue 0: dev phy1-ap0 root refcnt 2
qdisc cake 81c2: dev ifb4eth1 root refcnt 2 bandwidth 300Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms noatm overhead 34
root@OpenWrt:~/cake-autorate#
SQM settings
Basic Settings:
Download speed (ingress): 300000
Upload speed (egress): 20000
Queue Discipline:
Queue discipline: cake
Queue setup script: piece_of_cake.qos
Link Layer Adaptation:
Link Layer: Ethernet with overhead
Per Packet Overhead (bytes): 34
Here I included screenshots of various settings: https://imgur.com/a/upUB3qo
Test result 1: https://www.waveform.com/tools/bufferbloat?test-id=396493f7-cce2-44fa-a2c1-08f7406f18d4
Test result 2: https://www.waveform.com/tools/bufferbloat?test-id=944dc43b-31bb-424d-876f-cfba9473f21b
Test result 3: https://www.waveform.com/tools/bufferbloat?test-id=3ceac456-2632-4ade-957e-905774bf441a
Test result 4: https://www.waveform.com/tools/bufferbloat?test-id=19af4892-9625-4cf9-a2e4-0cde9c0671d8
Test result 5: https://www.waveform.com/tools/bufferbloat?test-id=58347dce-cdad-43f8-a2d9-d9cabd6638ac
Please could you enable all logging options and export data file following reset and sustained download that saturates your connection?
Sorry a beginner question - I enabled logging and see a log file in /var/log/cake-autorate.log but how do I export it to my PC from the router?
Logging I enabled:
# Logging toggles for various stats
output_processing_stats=1 # enable (1) or disable (0) output monitoring lines showing processing stats
output_load_stats=1 # enable (1) or disable (0) output monitoring lines showing achieved loads
output_reflector_stats=1 # enable (1) or disable (0) output monitoring lines showing reflector stats
output_summary_stats=1 # enable (1) or disable (0) output monitoring lines showing summary stats
output_cpu_stats=1 # enable (1) or disable (0) output monitoring lines showing CPU usage percentages
output_cpu_raw_stats=1 # enable (1) or disable (0) output monitoring lines showing raw CPU usage lines
This is the output of the log:
root@OpenWrt:/# cat /var/log/cake-autorate.log
ERROR; 2025-02-21-02:03:42; 1740103422.760650; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:03:42; 1740103422.819046; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:03:42; 1740103422.821571; Starting: cleanup_and_killall with PID: 3746
INFO; 2025-02-21-02:03:42; 1740103422.821987; Stopping cake-autorate with PID: 3746 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:03:42; 1740103422.822326; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:03:47; 1740103427.942029; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:03:48; 1740103428.000794; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:03:48; 1740103428.003333; Starting: cleanup_and_killall with PID: 3846
INFO; 2025-02-21-02:03:48; 1740103428.003773; Stopping cake-autorate with PID: 3846 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:03:48; 1740103428.004103; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:03:53; 1740103433.124674; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:03:53; 1740103433.183820; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:03:53; 1740103433.186337; Starting: cleanup_and_killall with PID: 3946
INFO; 2025-02-21-02:03:53; 1740103433.186739; Stopping cake-autorate with PID: 3946 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:03:53; 1740103433.187063; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:03:58; 1740103438.329475; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:03:58; 1740103438.396602; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:03:58; 1740103438.399687; Starting: cleanup_and_killall with PID: 4074
INFO; 2025-02-21-02:03:58; 1740103438.400260; Stopping cake-autorate with PID: 4074 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:03:58; 1740103438.400749; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:04:03; 1740103443.519651; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:04:03; 1740103443.577971; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:04:03; 1740103443.580457; Starting: cleanup_and_killall with PID: 4174
INFO; 2025-02-21-02:04:03; 1740103443.580862; Stopping cake-autorate with PID: 4174 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:04:03; 1740103443.581186; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:04:08; 1740103448.707941; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:04:08; 1740103448.772907; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:04:08; 1740103448.775550; Starting: cleanup_and_killall with PID: 4298
INFO; 2025-02-21-02:04:08; 1740103448.776023; Stopping cake-autorate with PID: 4298 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:04:08; 1740103448.776400; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:18:41; 1740104321.119574; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:18:41; 1740104321.177435; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:18:41; 1740104321.180071; Starting: cleanup_and_killall with PID: 7943
INFO; 2025-02-21-02:18:41; 1740104321.180492; Stopping cake-autorate with PID: 7943 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:18:41; 1740104321.180821; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:18:46; 1740104326.296686; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:18:46; 1740104326.355224; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:18:46; 1740104326.357824; Starting: cleanup_and_killall with PID: 8070
INFO; 2025-02-21-02:18:46; 1740104326.358326; Stopping cake-autorate with PID: 8070 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:18:46; 1740104326.358705; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:18:51; 1740104331.474001; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:18:51; 1740104331.532204; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:18:51; 1740104331.534762; Starting: cleanup_and_killall with PID: 8171
INFO; 2025-02-21-02:18:51; 1740104331.535170; Stopping cake-autorate with PID: 8171 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:18:51; 1740104331.535509; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:18:56; 1740104336.651885; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:18:56; 1740104336.710798; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:18:56; 1740104336.713284; Starting: cleanup_and_killall with PID: 8279
INFO; 2025-02-21-02:18:56; 1740104336.713685; Stopping cake-autorate with PID: 8279 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:18:56; 1740104336.714010; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:19:01; 1740104341.831035; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:19:01; 1740104341.890596; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:19:01; 1740104341.893122; Starting: cleanup_and_killall with PID: 8387
INFO; 2025-02-21-02:19:01; 1740104341.893553; Stopping cake-autorate with PID: 8387 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:19:01; 1740104341.893878; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:19:07; 1740104347.010842; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:19:07; 1740104347.069064; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:19:07; 1740104347.071601; Starting: cleanup_and_killall with PID: 8487
INFO; 2025-02-21-02:19:07; 1740104347.072010; Stopping cake-autorate with PID: 8487 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:19:07; 1740104347.072336; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:20:30; 1740104430.234941; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:20:30; 1740104430.293126; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:20:30; 1740104430.295630; Starting: cleanup_and_killall with PID: 8724
INFO; 2025-02-21-02:20:30; 1740104430.296048; Stopping cake-autorate with PID: 8724 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:20:30; 1740104430.296381; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:20:35; 1740104435.416093; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:20:35; 1740104435.475011; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:20:35; 1740104435.477676; Starting: cleanup_and_killall with PID: 8843
INFO; 2025-02-21-02:20:35; 1740104435.478176; Stopping cake-autorate with PID: 8843 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:20:35; 1740104435.478516; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:20:40; 1740104440.598381; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:20:40; 1740104440.656559; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:20:40; 1740104440.659140; Starting: cleanup_and_killall with PID: 8943
INFO; 2025-02-21-02:20:40; 1740104440.659540; Stopping cake-autorate with PID: 8943 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:20:40; 1740104440.659866; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:20:45; 1740104445.782267; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:20:45; 1740104445.841703; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:20:45; 1740104445.844225; Starting: cleanup_and_killall with PID: 9051
INFO; 2025-02-21-02:20:45; 1740104445.844625; Stopping cake-autorate with PID: 9051 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:20:45; 1740104445.844948; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:20:50; 1740104450.983117; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:20:51; 1740104451.054462; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:20:51; 1740104451.057623; Starting: cleanup_and_killall with PID: 9151
INFO; 2025-02-21-02:20:51; 1740104451.058322; Stopping cake-autorate with PID: 9151 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:20:51; 1740104451.058818; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:20:56; 1740104456.198335; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:20:56; 1740104456.271416; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:20:56; 1740104456.274410; Starting: cleanup_and_killall with PID: 9259
INFO; 2025-02-21-02:20:56; 1740104456.275032; Stopping cake-autorate with PID: 9259 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:20:56; 1740104456.275642; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:23:30; 1740104610.645811; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:23:30; 1740104610.704013; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:23:30; 1740104610.706503; Starting: cleanup_and_killall with PID: 9908
INFO; 2025-02-21-02:23:30; 1740104610.706907; Stopping cake-autorate with PID: 9908 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:23:30; 1740104610.707253; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:23:35; 1740104615.827363; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:23:35; 1740104615.885469; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:23:35; 1740104615.888115; Starting: cleanup_and_killall with PID: 10035
INFO; 2025-02-21-02:23:35; 1740104615.888565; Stopping cake-autorate with PID: 10035 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:23:35; 1740104615.888915; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:23:41; 1740104621.009749; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:23:41; 1740104621.067618; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:23:41; 1740104621.070217; Starting: cleanup_and_killall with PID: 10143
INFO; 2025-02-21-02:23:41; 1740104621.070628; Stopping cake-autorate with PID: 10143 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:23:41; 1740104621.070961; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:23:46; 1740104626.186764; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:23:46; 1740104626.245541; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:23:46; 1740104626.248157; Starting: cleanup_and_killall with PID: 10245
INFO; 2025-02-21-02:23:46; 1740104626.248571; Stopping cake-autorate with PID: 10245 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:23:46; 1740104626.248895; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:23:51; 1740104631.364814; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:23:51; 1740104631.422890; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:23:51; 1740104631.425482; Starting: cleanup_and_killall with PID: 10353
INFO; 2025-02-21-02:23:51; 1740104631.425900; Stopping cake-autorate with PID: 10353 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:23:51; 1740104631.426226; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-02:23:56; 1740104636.541499; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-02:23:56; 1740104636.604189; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-02:23:56; 1740104636.606715; Starting: cleanup_and_killall with PID: 10469
INFO; 2025-02-21-02:23:56; 1740104636.607135; Stopping cake-autorate with PID: 10469 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-02:23:56; 1740104636.607523; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:31:16; 1740108676.865773; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:31:16; 1740108676.926547; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:31:16; 1740108676.929129; Starting: cleanup_and_killall with PID: 20809
INFO; 2025-02-21-03:31:16; 1740108676.929544; Stopping cake-autorate with PID: 20809 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:31:16; 1740108676.929874; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:31:22; 1740108682.048709; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:31:22; 1740108682.107189; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:31:22; 1740108682.109723; Starting: cleanup_and_killall with PID: 20928
INFO; 2025-02-21-03:31:22; 1740108682.110124; Stopping cake-autorate with PID: 20928 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:31:22; 1740108682.110449; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:31:27; 1740108687.227560; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:31:27; 1740108687.286820; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:31:27; 1740108687.289474; Starting: cleanup_and_killall with PID: 21036
INFO; 2025-02-21-03:31:27; 1740108687.289922; Stopping cake-autorate with PID: 21036 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:31:27; 1740108687.290289; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:31:32; 1740108692.411616; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:31:32; 1740108692.470826; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:31:32; 1740108692.473420; Starting: cleanup_and_killall with PID: 21152
INFO; 2025-02-21-03:31:32; 1740108692.473843; Stopping cake-autorate with PID: 21152 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:31:32; 1740108692.474175; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:31:37; 1740108697.593106; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:31:37; 1740108697.651937; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:31:37; 1740108697.654422; Starting: cleanup_and_killall with PID: 21261
INFO; 2025-02-21-03:31:37; 1740108697.654826; Stopping cake-autorate with PID: 21261 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:31:37; 1740108697.655151; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:31:42; 1740108702.775167; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:31:42; 1740108702.833717; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:31:42; 1740108702.836222; Starting: cleanup_and_killall with PID: 21369
INFO; 2025-02-21-03:31:42; 1740108702.836626; Stopping cake-autorate with PID: 21369 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:31:42; 1740108702.836961; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:45:04; 1740109504.725891; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:45:04; 1740109504.784536; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:45:04; 1740109504.787037; Starting: cleanup_and_killall with PID: 23066
INFO; 2025-02-21-03:45:04; 1740109504.787438; Stopping cake-autorate with PID: 23066 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:45:04; 1740109504.787821; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:57:05; 1740110225.914254; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:57:05; 1740110225.972701; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:57:05; 1740110225.975190; Starting: cleanup_and_killall with PID: 24965
INFO; 2025-02-21-03:57:05; 1740110225.975616; Stopping cake-autorate with PID: 24965 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:57:05; 1740110225.975940; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:57:11; 1740110231.093294; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:57:11; 1740110231.152283; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:57:11; 1740110231.154794; Starting: cleanup_and_killall with PID: 25100
INFO; 2025-02-21-03:57:11; 1740110231.155213; Stopping cake-autorate with PID: 25100 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:57:11; 1740110231.155560; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:57:16; 1740110236.272975; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:57:16; 1740110236.332028; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:57:16; 1740110236.334558; Starting: cleanup_and_killall with PID: 25200
INFO; 2025-02-21-03:57:16; 1740110236.334968; Stopping cake-autorate with PID: 25200 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:57:16; 1740110236.335325; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:57:21; 1740110241.450900; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:57:21; 1740110241.509467; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:57:21; 1740110241.511958; Starting: cleanup_and_killall with PID: 25300
INFO; 2025-02-21-03:57:21; 1740110241.512392; Stopping cake-autorate with PID: 25300 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:57:21; 1740110241.512726; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:57:26; 1740110246.628993; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:57:26; 1740110246.686928; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:57:26; 1740110246.689507; Starting: cleanup_and_killall with PID: 25408
INFO; 2025-02-21-03:57:26; 1740110246.689913; Stopping cake-autorate with PID: 25408 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:57:26; 1740110246.690243; Killing all background processes and cleaning up temporary files.
ERROR; 2025-02-21-03:57:31; 1740110251.807274; The value of 'max_ul_shaper_rate_kbps' in config file: '/root/cake-autorate/config.primary.sh' is not a valid value of type: 'integer'.
ERROR; 2025-02-21-03:57:31; 1740110251.865559; The config file: '/root/cake-autorate/config.primary.sh' contains 1 error(s). Exiting now.
DEBUG; 2025-02-21-03:57:31; 1740110251.868146; Starting: cleanup_and_killall with PID: 25508
INFO; 2025-02-21-03:57:31; 1740110251.868642; Stopping cake-autorate with PID: 25508 and config: /root/cake-autorate/config.primary.sh
INFO; 2025-02-21-03:57:31; 1740110251.868995; Killing all background processes and cleaning up temporary files.
See here:
Note that your config contains a superfluous colon ":" that makes cake-autorate not start up...
Oof my bad, I fixed it.
I was able to generate the log but am not sure how to download them since it's stored on the router. The log is in: /var/log/cake-autorate.primary_2025_02_21_14_13_02.log.gz
How can I download it to my PC to share?
Assuming that you might use Windows, try WinSCP as a graphical tool hat allows up- and downloads via SCP.
Awesome thank you!!
I could not find a way to upload the file to the post so I put it on my Google Drive: https://drive.google.com/file/d/1jlEaVz5YcwyRLe9eJWSEaG89bh4tkiQ3/view?usp=sharing
This should be the test from it: Bufferbloat and Internet Speed Test - Waveform
You can use this - it's easier:
A sustained download of say a 1GB image from a fast source would be better.
Also I just saw that file but it looks rather like the output from 'dmesg' rather than the cake-autorate log file from a speed test.
Are you really using:
See here.
Sure no problem was not sure the procedure.I get an error when posting that EasyUpload URL: "An error occurred: Sorry you cannot post a link to that host."
Oh maybe that's because you're new to this forum. Perhaps you can private message me with it and I'll post it.