CAKE w/ Adaptive Bandwidth

Yepp, one CPU is already essentially maxed out. As long as things keep working, why bother though?

Which performance governor do you use? Schedulers like 'ondemand' scale the CPU clock down to the minimum deemed necessary. You could try temporarily switching to 'performance' and retesting.

Probably the code is now ripe to be packaged up into an OpenWrt package, but the installer script seems to work just fine and an install is preserved across upgrades.

1 Like

That would be tricky... the "problem" with SQM is already that it requires configuration before it can be used, but cake-autorate requires even more experimentation and configuration. Also we lack a luci GUI for its configuration file(s)...

1 Like

A great point.

My concern is right now I don't have that many wireless clients on the router and I am running a few PBR rules and a VPN connection but over time with more clients or a few more rules I'd see bad wireless performance etc.

Sometimes I need to remind myself, if it works well don't break it :smiley:

I think it's running better with performance (of course my WISP is also a fair bit slower today so I'm not able to push it as hard right now).

Can I just leave this as the default CPU governor or is my router going to combust under continuous load? :eyes:

Interesting. I understand that the RT3200 manufacturer firmware runs it at max CPU clock the whole time. And one or two experts on this forum seem to have opted for running the 'performance' scheduler full time on their RT3200s. Whilst in principal CPU scaling may hurt cake performance, absent data confirming that, personally I'd be inclined to stick with 'ondemand' to help preserve device longevity.

It also just occured to me that cake-autorate could actually toggle the performance governor between 'running' and 'sleep' states. But to code that up I'd like to see data confirming the benefit.

What a great song

I'm just going to let it ride with performance as the governor and will try to let you know if it actually did anything when my speeds are back up. It's hard to be sure considering I'm only pulling 70% of the speed I was seeing last time...

Thanks for your reassurance, I'm not too worried if I ultimately blow up this $45 PoS a year earlier than its expected lifespan, I'll probably switch to using my pi4 as primary router in the next year especially if speeds keep up, then there shouldn't be any worry of maxing out the CPU, until 6G is rolled out :smiley:

EDIT:
Seems like it's still hitting 100%, whatever I guess as long as it doesn't lead to late packets or awful wifi performance maybe I'll just be leaving some speed on the table.

I'm assuming I should live with my potentially slightly limited speeds with cake instead of considering fq_codel or something?
There's no way to make this work with a little bit less CPU load right, it's probably cake and not the autorate pingers/algorithm that's causing the maxed out CPU right?

cake is exceedingly CPU hungry and that can't be easily changed. Despite this, I think the benefits outweigh switching to codel.

cake-autorate is hungrier than it needs to be given that it runs in bash. A lot of effort has gone into keeping CPU utilisation as low as possible. Certainly on my RT3200 with default settings cake-autorate ticks along just fine without impacting anything else.

In any case, the CPU consumption of cake-autorate can be brought down significantly by reducing logging and the ping frequency.

Probably most users with higher bandwidth connections want to leave a lot of headroom for cake anyway and switch to x86/RPi4 at which point the impact of cake-autorate should be negligable.

So I'd try disabling all logging on cake-autorate and increasing the reflector ping interval.

Also try enabling irqbalance and software flow offloading, which should help reduce CPU usage in general.

1 Like

Sure. Will give it a try, i thought NAT offloading meant no cake but maybe thats just HW offloading. Do you think its better to have more pingers at less freq or less pingers at higher freq? I may need a bit of both but we'll see

Do I need to do anything special to use this, in that I have already have the Openwrt SQM packages installed?

cake-autorate is not part of any OpenWrt SQM package. See here for installation instructions.

1 Like

I'm not entirely sure if it due to a bug.

But after a few days of running the autorate script, my rates will always be near 200bytes per second making using the internet near impossible.

(as my network will be lowered due to whats considered "peak traffic" but will not recover after that, unless I delete all log files then turn off the logs completely then rebooting)
as an example this is my network when such an event happens

# *** OVERRIDES ***
# Lowest mimimum RTT increase to remain at base Shaper Bandwidth

dl_owd_delta_thr_ms=10.0
ul_owd_delta_thr_ms=10.0

#Highest RTT increase to minimum shaper bandwidth

dl_avg_owd_delta_thr_ms=20.0
ul_avg_owd_delta_thr_ms=20.0
# Wait time on Start

startup_wait_s=20.0

#Allowed to increase and decrease amount
alpha_baseline_increase=0.002
alpha_baseline_decrease=0.87

# OWD delta from baseline is tracked using ewma with alpha set below
alpha_delta_ewma=0.095


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=5000  # minimum bandwidth for download (Kbit/s)
base_dl_shaper_rate_kbps=400000 # steady state bandwidth for download (Kbit/s)
max_dl_shaper_rate_kbps=700000  # maximum bandwidth for download (Kbit/s)

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

In comparison upon deleting all the logs turning them off and rebooting I get

I think we need to see a log file covering the scenario in question. Could you share one?

it will take at least 3 days since thats when i've noticed the? error? bugs? happen~ as i deleted the logs :frowning:
So I will re-enable the logs and post it when the rates get... suspiciously low again. as the previous screenshot at 1mbps was taken 1 month ago.

Without seeing the logs I’m guessing, but I’m supposing without active traffic the latency on the connection spikes, and as a result the shaper rate is throttled down to your minimum.

I suspect that might be a case.

But I'm unsure as to why it would stay as low as it does
( would it constantly cause the latency to be higher than normal? due to having less bandwidth available like 500 kbps connection would take significantly longer to download/upload 1gb of data than having 400mbps? would that be a cause or is there something wrong with my settings/isp)

Maybe while we wait for full log with issue for now you could share the SUMMARY lines of a log with a speed test - give output from log passed through ‘grep SUMMARY’.

SUMMARY_HEADER; LOG_DATETIME; LOG_TIMESTAMP; DL_ACHIEVED_RATE_KBPS; UL_ACHIEVED_RATE_KBPS; DL_SUM_DELAYS; UL_SUM_DELAYS; DL_AVG_OWD_DELTA_US; UL_AVG_OWD_DELTA_US; DL_LOAD_CONDITION; UL_LOAD_CONDITION; CAKE_DL_RATE_KBPS; CAKE_UL_RATE_KBPS
SUMMARY; 2023-11-15-19:37:10; 1700044630.182094; 1622; 20; 1; 0; 1974; 1974; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.184435; 1622; 20; 1; 0; 786; 786; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.283243; 1622; 20; 1; 0; 760; 760; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.288752; 1622; 20; 1; 0; 621; 621; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.364668; 3183; 40; 2; 1; 2781; 2781; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.372203; 3183; 40; 1; 1; 1939; 1939; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.479191; 3183; 40; 1; 1; 1717; 1717; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.482076; 3183; 40; 1; 1; 2660; 2660; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.578703; 1561; 34; 1; 1; 2472; 2472; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.584290; 1561; 34; 1; 1; 2006; 2006; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.632284; 1561; 34; 0; 0; -184; -184; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.672772; 1561; 34; 0; 0; -192; -192; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.778598; 3142; 39; 0; 0; -199; -199; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.781387; 3142; 39; 0; 0; -57; -57; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.878775; 3142; 39; 0; 0; -30; -30; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.884195; 3142; 39; 0; 0; -37; -37; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.932616; 3074; 44; 0; 0; 32; 32; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:37:10; 1700044630.974144; 3074; 44; 0; 0; 99; 99; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.200146; 3568; 39; 0; 0; 145; 145; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.252392; 3568; 39; 0; 0; 168; 168; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.304677; 3857; 44; 0; 0; 93; 93; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.409198; 3857; 44; 0; 0; 155; 155; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.412229; 3857; 44; 0; 0; 91; 91; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.449908; 3857; 44; 0; 0; -89; -89; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.500290; 4036; 49; 0; 0; -72; -72; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.552761; 4036; 49; 0; 0; -63; -63; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.604438; 4036; 49; 0; 0; 2; 2; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.708543; 3774; 44; 0; 0; -56; -56; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.711865; 3774; 44; 0; 0; -1; -1; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.749974; 3774; 44; 0; 0; -4; -4; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.800943; 3774; 44; 0; 0; 4; 4; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.852815; 3774; 44; 0; 0; 6; 6; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:11; 1700044691.904546; 4409; 52; 0; 0; 17; 17; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:12; 1700044692.009480; 4409; 52; 0; 0; 59; 59; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:12; 1700044692.012481; 4409; 52; 0; 0; 92; 92; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:38:12; 1700044692.054271; 4409; 52; 0; 0; 408; 408; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.365914; 3090; 45; 0; 0; 358; 358; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.374453; 3090; 45; 0; 0; 381; 381; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.432610; 3090; 45; 0; 0; 1106; 1106; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.472818; 3090; 45; 0; 0; 1067; 1067; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.520858; 3046; 74; 0; 0; 951; 951; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.566018; 3046; 74; 0; 0; 701; 701; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.665515; 3046; 74; 0; 0; 692; 692; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.674435; 3046; 74; 0; 0; 672; 672; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.758139; 2791; 39; 1; 1; 2783; 2783; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.772855; 2791; 39; 1; 1; 2782; 2782; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.821217; 2791; 39; 1; 1; 2872; 2872; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.869188; 2791; 39; 1; 1; 3088; 3088; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.966266; 3255; 45; 1; 1; 3105; 3105; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:33; 1700044773.983304; 3255; 45; 1; 1; 3804; 3804; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:34; 1700044774.024605; 3255; 45; 0; 0; 974; 974; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:34; 1700044774.073048; 3255; 45; 0; 0; 974; 974; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:34; 1700044774.120689; 3255; 45; 0; 0; 976; 976; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:39:34; 1700044774.166391; 2668; 44; 0; 0; 701; 701; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.396387; 3391; 38; 1; 1; 2742; 2742; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.412244; 1779; 32; 1; 1; 2021; 2021; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.517053; 1779; 32; 1; 1; 2642; 2642; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.520069; 1779; 32; 1; 1; 2825; 2825; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.569361; 1779; 32; 1; 1; 3504; 3504; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.616172; 3055; 39; 1; 1; 4270; 4270; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.680647; 3055; 39; 0; 0; 2927; 2927; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.720842; 3055; 39; 0; 0; 3600; 3600; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.819143; 3072; 49; 0; 0; 3741; 3741; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.822243; 3072; 49; 0; 0; 3848; 3848; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.870515; 3072; 49; 0; 0; 3897; 3897; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.914921; 3072; 49; 0; 0; 3738; 3738; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:06; 1700044806.971902; 3072; 49; 0; 0; 3015; 3015; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:07; 1700044807.011679; 3210; 45; 0; 0; 2345; 2345; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:07; 1700044807.110788; 3210; 45; 0; 0; 1595; 1595; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:07; 1700044807.113807; 3210; 45; 0; 0; 1250; 1250; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:07; 1700044807.163402; 3210; 45; 0; 0; 609; 609; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:07; 1700044807.213318; 2629; 34; 0; 0; 9; 9; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.457201; 1477; 43; 0; 0; 56; 56; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.504635; 1477; 43; 0; 0; 105; 105; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.550202; 2447; 42; 0; 0; 151; 151; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.600233; 2447; 42; 0; 0; 166; 166; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.699454; 2447; 42; 0; 0; 87; 87; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.708729; 2447; 42; 0; 0; 85; 85; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.757328; 2920; 44; 0; 0; 85; 85; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.804594; 2920; 44; 0; 0; 56; 56; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.850278; 2920; 44; 0; 0; 22; 22; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:56; 1700044856.900545; 2920; 44; 0; 0; 56; 56; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.000537; 1521; 33; 0; 0; 97; 97; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.009059; 1521; 33; 0; 0; 90; 90; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.057666; 1521; 33; 0; 0; 73; 73; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.104537; 1521; 33; 0; 0; 68; 68; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.150533; 2170; 48; 0; 0; 44; 44; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.201292; 2170; 48; 0; 0; 69; 69; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.304949; 2170; 48; 0; 0; 344; 344; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:40:57; 1700044857.313235; 2170; 48; 0; 0; 569; 569; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.591833; 2265; 17; 0; 0; 550; 550; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.640636; 2930; 28; 0; 0; 625; 625; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.700119; 2930; 28; 0; 0; 609; 609; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.741745; 2930; 28; 0; 0; 593; 593; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.796109; 2930; 28; 0; 0; 297; 297; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.838307; 1803; 38; 0; 0; 177; 177; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.891095; 1803; 38; 0; 0; 166; 166; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:29; 1700044889.940457; 1803; 38; 0; 0; 124; 124; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.000060; 1803; 38; 0; 0; 134; 134; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.042005; 1893; 28; 0; 0; 133; 133; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.096770; 1893; 28; 0; 0; 158; 158; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.138906; 1893; 28; 0; 0; 166; 166; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.192929; 1893; 28; 0; 0; 291; 291; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.241141; 2430; 38; 0; 0; 300; 300; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.305465; 2430; 38; 0; 0; 707; 707; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:30; 1700044890.348115; 2430; 38; 0; 0; 1181; 1181; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.540734; 2681; 177; 0; 0; 1137; 1137; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.634197; 2681; 177; 0; 0; 1019; 1019; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.689981; 2386; 241; 0; 0; 897; 897; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.693120; 2386; 241; 0; 0; 835; 835; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.726981; 2386; 241; 0; 0; -1416; -1416; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.780171; 2386; 241; 0; 0; -1827; -1827; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.840791; 2386; 241; 0; 0; -1825; -1825; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.935199; 4655; 257; 0; 0; -1830; -1830; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.989769; 4655; 257; 0; 0; -1836; -1836; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:45; 1700044905.996019; 4655; 257; 0; 0; -1445; -1445; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.028980; 4655; 257; 0; 0; 180; 180; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.105684; 6196; 186; 1; 1; 1968; 1968; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.148686; 6196; 186; 1; 1; 2225; 2225; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.237911; 6196; 186; 1; 1; 2232; 2232; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.294771; 3654; 148; 1; 1; 2215; 2215; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.301289; 3654; 148; 1; 1; 1889; 1889; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.333111; 3654; 148; 1; 1; 2082; 2082; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:41:46; 1700044906.383965; 3654; 148; 0; 0; 265; 265; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:42; 1700044962.632403; 3219; 34; 0; 0; 589; 589; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:42; 1700044962.718416; 2258; 32; 0; 0; 590; 590; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:42; 1700044962.774373; 2258; 32; 0; 0; 624; 624; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:42; 1700044962.777420; 2258; 32; 0; 0; 632; 632; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:42; 1700044962.823415; 2258; 32; 0; 0; 730; 730; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:42; 1700044962.865152; 2258; 32; 0; 0; 780; 780; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:42; 1700044962.927586; 947; 27; 0; 0; 222; 222; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.021972; 947; 27; 0; 0; 247; 247; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.077928; 1310; 49; 0; 0; 372; 372; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.081185; 1310; 49; 0; 0; 505; 505; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.136104; 1310; 49; 1; 0; 1453; 1453; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.167538; 1310; 49; 1; 0; 1445; 1445; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.227147; 1310; 49; 1; 0; 1410; 1410; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.325259; 1607; 38; 1; 0; 1702; 1702; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.383935; 1607; 38; 1; 0; 1926; 1926; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.387048; 1607; 38; 1; 0; 2109; 2109; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.431528; 1607; 38; 0; 0; 1358; 1358; dl_low; ul_idle; 400000; 400000
SUMMARY; 2023-11-15-19:42:43; 1700044963.474208; 1607; 38; 0; 0; 1533; 1533; dl_low; ul_idle; 400000; 400000

Unsure which log you need the grep on but this is from the cake-autorate-primary log~

This just shows shaper rates held at base rate and next to no traffic.

Yea It seems that the script stopped working at one point so I just reinstalled it seems to be working again~

however the logs appear to just read 400000 even though its still shaping the traffic :thinking:

Not entirely sure as to what I've done :confused:
as the results follow as~


SUMMARY_HEADER; LOG_DATETIME; LOG_TIMESTAMP; DL_ACHIEVED_RATE_KBPS; UL_ACHIEVED_RATE_KBPS; DL_SUM_DELAYS; UL_SUM_DELAYS; DL_AVG_OWD_DELTA_US; UL_AVG_OWD_DELTA_US; DL_LOAD_CONDITION; UL_LOAD_CONDITION; CAKE_DL_RATE_KBPS; CAKE_UL_RATE_KBPS
SUMMARY; 2023-11-15-21:03:02; 1700049782.021596; 10994; 752; 0; 0; 320; 320; dl_high; ul_idle; 11365; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.050588; 10994; 752; 0; 0; -1334; -1334; dl_high; ul_idle; 11478; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.106220; 11035; 845; 0; 0; -3088; -3088; dl_high; ul_idle; 11592; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.156292; 11035; 845; 0; 0; -4802; -4802; dl_high; ul_idle; 11707; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.219747; 11035; 845; 1; 1; -3155; -3155; dl_high; ul_idle; 11824; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.262080; 11035; 845; 1; 1; -3251; -3251; dl_high; ul_idle; 11942; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.321683; 11482; 869; 1; 1; -1964; -1964; dl_high; ul_idle; 12061; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.364864; 11482; 869; 1; 1; -411; -411; dl_high; ul_idle; 12181; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.417036; 11482; 869; 1; 1; 1062; 1062; dl_high; ul_idle; 12302; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.464726; 11482; 869; 1; 1; 2507; 2507; dl_high; ul_idle; 12425; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.508031; 11879; 949; 1; 1; 1472; 1472; dl_high; ul_idle; 12549; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.565625; 11879; 949; 1; 1; 1678; 1678; dl_high; ul_idle; 12674; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.703403; 11879; 949; 2; 2; 8240; 8240; dl_high; ul_idle; 12800; 10393
SUMMARY; 2023-11-15-21:03:02; 1700049782.742331; 12144; 825; 3; 3; 14378; 14378; dl_high_bb; ul_idle_bb; 9600; 7794
SUMMARY; 2023-11-15-21:03:02; 1700049782.756232; 12144; 825; 3; 3; 14388; 14388; dl_high_bb; ul_idle_bb; 9600; 7794
SUMMARY; 2023-11-15-21:03:02; 1700049782.770558; 12144; 825; 4; 4; 19046; 19046; dl_high_bb; ul_idle_bb; 9600; 7794
SUMMARY; 2023-11-15-21:03:02; 1700049782.796758; 12144; 825; 3; 3; 18296; 18296; dl_high_bb; ul_idle_bb; 9600; 7794
SUMMARY; 2023-11-15-21:03:02; 1700049782.856178; 12144; 825; 3; 3; 17728; 17728; dl_high_bb; ul_idle_bb; 9600; 7794

Summary started to work after a bit of time~

i have changed the ms on all settings to 1ms to test