[Starlink] CAKE-Autorate

Andrew Somerville aesomerville at gmail.com
Fri Dec 2 08:08:31 EST 2022


Dear Warren,

As Sebastian suggested if you can send across a log file having run some
speed tests (ideally with longer rather than shorter duration) then with
his fantastic plotting utility we should be able to get an idea of what is
happening. There really is not much in the way of documentation concerning
cake-autorate. I have put almost all my effort into developing it with the
help of Sebastian.

cake-autorate does not autoconfigure itself so it does require quite a bit
of tuning - especially for Starlink, which is a super interesting case
because it offers huge bandwidth but latency is a challenge to keep under
control and we even tried to implement some compensation for satellite
switching, which hasn't been tested as much as I would like and possibly
can be improved further.

It might be time to add some more documentation. But the thread on OpenWrt
is a great place to get feedback from both of us and other users. Actually
I just gave some suggested parameters for use with Starlink to an OpenWrt
user here:

https://forum.openwrt.org/t/cake-w-adaptive-bandwidth/135379/1221?u=lynx

Best wishes and keep me CC'ed,

Andrew

On Thu, 1 Dec 2022 at 20:52, warren ponder <wponder11 at gmail.com> wrote:

> Thanks @moeller! I am still trying to figure out Octave. It's not
> running on my router so I have been copying zips off to a Mac and
> trying to plot them there. I think I am not hitting the min
> requirement of 6.4 though. Seems the plots are key here so I'll put
> some effort into focusing on that.
>
> WP
>
> On Thu, Dec 1, 2022 at 1:40 PM Sebastian Moeller <moeller0 at gmx.de> wrote:
> >
> > Hi Warren,
> >
> >
> > > On Dec 1, 2022, at 19:41, warren ponder via Starlink <
> starlink at lists.bufferbloat.net> wrote:
> > >
> > > I have been working with the 3rd party router team of the router I
> > > have been using behind Starlink to add CAKE to their router. I have an
> > > early access loaded and have modified it to add CAKE-Autorate. I have
> > > it running but not entirely sure I have it all running correctly or
> > > how to quantify if its making a difference.
> > >
> > > Beside github for CAKE-Autorate are there any other sources of info to
> > > read up on about ensuring I have it going right and possibly quantify
> > > its making a difference?
> >
> >         Most discussion happens in the following OpenWrt thread:
> > https://forum.openwrt.org/t/cake-w-adaptive-bandwidth/135379/1202
> > or you can open an issue in the github. About making a difference we
> added some potting code which can turn the log files into partially
> interpretable plots.
> >
> > I use (192.168.42.1 is my OpenWrt/TurrisOS router running cake-autorate):
> > ssh root at 192.168.42.1 'kill -USR1 $( cat
> /var/run/cake-autorate/maintain_log_file_pid )'  && sleep 30 && scp
> root at 192.168.42.1:/var/log/cake-autorate_*.log.gz ./SCRATCH/ && ssh
> root at 192.168.42.1 'rm /var/log/cake-autorate_*.log.gz'
> >
> > followed by:
> > octave -qf --eval
> 'fn_parse_autorate_log("./SCRATCH/cake-autorate_2022-12-01_20_21_16.log.gz",
> [], [])'
> >
> > this requires octave >= 6.4... once you have that post your plots to the
> forum thread and we can take it from there.
> >
> >
> >
> > Regards
> >         Sebastian
> >
> > P.S.: I cc'd Andrew cake-autorate's principal developer, he might have
> more ideas...
> >
> >
> >
> > >
> > > thanks
> > >
> > > WP
> > > _______________________________________________
> > > Starlink mailing list
> > > Starlink at lists.bufferbloat.net
> > > https://lists.bufferbloat.net/listinfo/starlink
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bufferbloat.net/pipermail/starlink/attachments/20221202/5b2a1166/attachment.html>


More information about the Starlink mailing list