Community discussions

MikroTik App
Cablenut9
Long time Member
Long time Member
Topic Author
Posts: 542
加入: Fri Jan 08, 2021 5:30 am

CAKE autorate-ingress turns speeds into molasses

Fri Aug 27, 2021 9:25 pm

I just got 7.1rc2 to try out CAKE without crashes. I also wanted to try out the autorate-ingress feature that lets me use CAKE without a bandwidth setting. However, it seems like this is actually slowing everything down to unacceptable levels. Bandwidth-heavy websites like YouTube and speedtest.net don't even work that well on a RB4011 with minimal firewall rules. Is this a bug or something built into CAKE?
Top
zainarbani
常客
常客
Posts: 53
加入: Thu Jul 22, 2021 9:42 am
Location:Pati、印度尼西亚

Re: CAKE autorate-ingress turns speeds into molasses

Fri Aug 27, 2021 9:40 pm

man-sch-cake
Code:Select all
Automatic capacity estimation based on traffic arriving at this qdisc. This is most likely to be useful with cellular links, which tend to change quality randomly. A bandwidth parameter can be used in conjunction to specify an initial estimate. The shaper will periodically be set to a bandwidth slightly below the estimated rate. This estimator cannot estimate the bandwidth of links downstream of itself.

Not sure withestimator cannot estimate the bandwidth of links downstream of
itself
, maybe try set limit value with average speed.
Top
noradtux
newbie
Posts: 38
加入: Mon May 24, 2021 6:33 pm

Re: CAKE autorate-ingress turns speeds into molasses

Sun Aug 29, 2021 12:57 pm

I had a go with auto-ingress on rc1. My observation is that it slowly increases the allowed throughput until it hits the maximum throughput of the connection. My guess is that this is recognized by increasing latency. To avoid latency spikes they need to ramp up, if needs to be that slow is an other question ...
Top
santyx32
Member Candidate
Member Candidate
Posts: 215
加入: Fri Oct 25, 2019 2:17 am

Re: CAKE autorate-ingress turns speeds into molasses

Sun Aug 29, 2021 10:15 pm

I've never had luck with CAKE autorate-ingress even with OpenWrt, it's better to just set a fixed max limit based on 85-90% of your real speeds.
Top
infabo
Member
Member
Posts: 340
加入: Thu Nov 12, 2020 12:07 pm

Re: CAKE autorate-ingress turns speeds into molasses

Thu Sep 02, 2021 12:58 am

Hej, the following config crashes my device after a short period. Can you reproduce it too?
Code:Select all
/queue type add cake-bandwidth=your-egress-bandwidth-here kind=cake name=cake-egress add cake-autorate-ingress=yes cake-bandwidth=your-ingress-bandwidth-here kind=cake name=cake-ingress /queue simple add disabled=yes name=queue-foo queue=cake-ingress/cake-egress target=your-wan-interface-here
Top
dtaht
Member Candidate
Member Candidate
Posts: 199
加入: Sat Aug 03, 2013 5:46 am

Re: CAKE autorate-ingress turns speeds into molasses

Sat Jan 15, 2022 7:13 am

There has been a lot of work in the openwrt world to make the cake autorate feature work better over here.

https://forum.openwrt.org/t/cakes-autor ... ss/108848/

It's not ported to mikrotik yet, nor do I know how we would do that as yet. The math is shaping up, at least.

See also:viewtopic.php?t=179307
Top

Who is online

Users browsing this forum: No registered users and 2 guests