<div dir="ltr">Dear Joel, Luis,<div><br></div><div>Yes exactly; the bash CAKE-autorate implementation seeks to increase bandwidth on load subject to the RTT not spiking. </div><div><br></div><div>I think of it a little like a 'turbo' function on a CPU. It allows supervised excursions beyond the base bandwidth (safe harbour) for periods of heavy use, and otherwise returns to the safe harbour. Such supervised excursions are helpful to allow downloads to finish quicker and without hurting videoconferencing, and the safe harbour is helpful for general use when higher CAKE bandwidth is not needed anyway. If even the safe harbour causes trouble (e.g. a tsunami), it will keep dialing down to the set minimum bandwidth as required. This is the thinking behind having the set minimum, base and maximum for both download an dupload.</div><div><br></div><div>Whilst the approach seems to be working pretty well on LTE and Starlink variable connections (I mean for sure it beats just using CAKE with a fixed bandwidth on my LTE, and there are a few pretty positive reports from others users), I imagine that it will not help with CPU saturation. </div><div><br></div><div>I read a lot of reports about CAKE eating up too many cycles (e.g. on the RT3200 CAKE tops out at 500Mbit/s), so it seems there is a lot of appetite for making CAKE more efficient. But this is not my area of expertise.</div><div><br></div><div>Kind regards,</div><div><br></div><div>Andrew</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 17 Apr 2022 at 06:28, Luis A. Cornejo <<a href="mailto:luis.a.cornejo@gmail.com">luis.a.cornejo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">It still is Cake underneath doing the work, autorate is just adjusting available bandwidth to get the best latency at the best possible bandwidth. I would think it's the same limitation. I believe Dave Taht mentioned possibly making cake take advantage of multiple cores in the next version/rewrite of Cake.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 15, 2022 at 4:41 PM Joel Wirāmu Pauling <<a href="mailto:joel@aenertia.net" target="_blank">joel@aenertia.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Whilst I understand it's not designed for High Bandwidth uplinks - how does it scale to 1 to 10Gbit symmetrical (or near symmetrical) uplinks ?</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">One of the problems i've had with Cake is that it becomes CPU bound beyond around 3 or 4 gigabit.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 16 Apr 2022 at 07:41, Andrew Somerville <<a href="mailto:aesomerville@gmail.com" target="_blank">aesomerville@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>Thank you very much for the introduction Sebastian. </div><div><br></div><div>To give some context, my wife and I relocated to the Scottish Highlands and now rely upon a 4G LTE connection for work and personal use through Vodafone UK. I have spent quite a lot of time working on this autorate problem and have tried to leverage Sebastian's expertise in this field as much as possible. I have tried to keep it as simple as possible with some rationale and objective criticism behind the major logic. I value feedback and criticism. </div><div><br></div><div>I now use the bash implementation in my main branch on my RT3200 router as a service 24/7. I have rewritten it a few times and will do so again, or switch to another better approach if available. There have been a few ports of some of the earlier versions like this Golang version (<a href="https://github.com/notsure2/cake-autorate" target="_blank">https://github.com/notsure2/cake-autorate</a>). </div><div><br></div><div>Kind regards, </div><div><br></div><div>Andrew</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Apr 2022 at 22:42, Dave Taht <<a href="mailto:dave.taht@gmail.com" target="_blank">dave.taht@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">it's looking promising.<br>
<br>
in trying to get an android to do better this recent ML paper crossed my desk:<br>
<br>
<a href="https://arxiv.org/pdf/2007.02735.pdf" rel="noreferrer" target="_blank">https://arxiv.org/pdf/2007.02735.pdf</a><br>
<br>
On Wed, Apr 6, 2022 at 1:38 PM Sebastian Moeller <<a href="mailto:moeller0@gmx.de" target="_blank">moeller0@gmx.de</a>> wrote:<br>
><br>
> Dear Dave, dear all<br>
><br>
> please, let me introduce Andrew to this list, who is the driving force behind CAKE-autorate's design and implementation (which started from a more theoretical discussion in the OpenWrt forum before turning into something tangible). There are other alternative approaches for the rate-tracking problem many discussed in this longish forum thread: <a href="https://forum.openwrt.org/t/cake-w-adaptive-bandwidth/108848" rel="noreferrer" target="_blank">https://forum.openwrt.org/t/cake-w-adaptive-bandwidth/108848</a> (which is great as this occasionally leads to quite interesting discussion about how the different teams tackle common issues) but Andrew's autorate appears to the fastest moving with low software requirements (every router should run bash anyway ;) ).<br>
><br>
> Kind Regards<br>
>         Sebastian<br>
><br>
><br>
> > On Apr 6, 2022, at 17:43, Dave Taht <<a href="mailto:dave.taht@gmail.com" target="_blank">dave.taht@gmail.com</a>> wrote:<br>
> ><br>
> > For the past several days,  I have been very successfully using<br>
> > variants of the cake-autorate code to manage my connections on the<br>
> > boat, for which I use a tether to my laptop.<br>
> ><br>
> > <a href="https://github.com/lynxthecat/CAKE-autorate" rel="noreferrer" target="_blank">https://github.com/lynxthecat/CAKE-autorate</a><br>
> ><br>
> > Although this test claims my link was inadequate for a good videoconference<br>
> ><br>
> > <a href="https://www.waveform.com/tools/bufferbloat?test-id=964831e5-30f9-4695-bfbd-b58da0a759f3" rel="noreferrer" target="_blank">https://www.waveform.com/tools/bufferbloat?test-id=964831e5-30f9-4695-bfbd-b58da0a759f3</a><br>
> ><br>
> > they have all been perfect (and that test was conducted during an<br>
> > actual zoom conference). The code does not grab as much bandwidth as<br>
> > it could, when available, but I'll settle for perfect<br>
> > videoconferencing.<br>
> ><br>
> > Anyway... what I used to do was attach the phone to a router shared<br>
> > boat-wide that did this stuff, but it would be nice to move the<br>
> > algorithm directly into an android. My hope is that more modern<br>
> > androids are running a recent enough kernel(?) to have cake, but it's<br>
> > been a long time since I built anything for android, and am wondering<br>
> > if there is a lte/5g tablet or phone or dedicated lte router "out<br>
> > there" that can be hacked on?<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > I tried to build a better future, a few times:<br>
> > <a href="https://wayforward.archive.org/?site=https%3A%2F%2Fwww.icei.org" rel="noreferrer" target="_blank">https://wayforward.archive.org/?site=https%3A%2F%2Fwww.icei.org</a><br>
> ><br>
> > Dave Täht CEO, TekLibre, LLC<br>
> > _______________________________________________<br>
> > Cerowrt-devel mailing list<br>
> > <a href="mailto:Cerowrt-devel@lists.bufferbloat.net" target="_blank">Cerowrt-devel@lists.bufferbloat.net</a><br>
> > <a href="https://lists.bufferbloat.net/listinfo/cerowrt-devel" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/cerowrt-devel</a><br>
><br>
<br>
<br>
-- <br>
I tried to build a better future, a few times:<br>
<a href="https://wayforward.archive.org/?site=https%3A%2F%2Fwww.icei.org" rel="noreferrer" target="_blank">https://wayforward.archive.org/?site=https%3A%2F%2Fwww.icei.org</a><br>
<br>
Dave Täht CEO, TekLibre, LLC<br>
</blockquote></div>
_______________________________________________<br>
Cerowrt-devel mailing list<br>
<a href="mailto:Cerowrt-devel@lists.bufferbloat.net" target="_blank">Cerowrt-devel@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/cerowrt-devel" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/cerowrt-devel</a><br>
</blockquote></div>
_______________________________________________<br>
Bloat mailing list<br>
<a href="mailto:Bloat@lists.bufferbloat.net" target="_blank">Bloat@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/bloat" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/bloat</a><br>
</blockquote></div>
</blockquote></div>