Starlink has bufferbloat. Bad.
 help / color / mirror / Atom feed
* [Starlink] CAKE-Autorate
@ 2022-12-01 18:41 warren ponder
  2022-12-01 20:40 ` Sebastian Moeller
  0 siblings, 1 reply; 6+ messages in thread
From: warren ponder @ 2022-12-01 18:41 UTC (permalink / raw)
  To: Starlink-Bufferbloat

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?

thanks

WP

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Starlink] CAKE-Autorate
  2022-12-01 18:41 [Starlink] CAKE-Autorate warren ponder
@ 2022-12-01 20:40 ` Sebastian Moeller
  2022-12-01 20:52   ` warren ponder
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Moeller @ 2022-12-01 20:40 UTC (permalink / raw)
  To: warren ponder; +Cc: Starlink-Bufferbloat, Andrew Somerville

Hi Warren,


> On Dec 1, 2022, at 19:41, warren ponder via Starlink <starlink@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@192.168.42.1 'kill -USR1 $( cat /var/run/cake-autorate/maintain_log_file_pid )'  && sleep 30 && scp  root@192.168.42.1:/var/log/cake-autorate_*.log.gz ./SCRATCH/ && ssh root@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@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/starlink


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Starlink] CAKE-Autorate
  2022-12-01 20:40 ` Sebastian Moeller
@ 2022-12-01 20:52   ` warren ponder
  2022-12-01 21:25     ` Sebastian Moeller
  2022-12-02 13:08     ` Andrew Somerville
  0 siblings, 2 replies; 6+ messages in thread
From: warren ponder @ 2022-12-01 20:52 UTC (permalink / raw)
  To: Sebastian Moeller; +Cc: Starlink-Bufferbloat, Andrew Somerville

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@gmx.de> wrote:
>
> Hi Warren,
>
>
> > On Dec 1, 2022, at 19:41, warren ponder via Starlink <starlink@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@192.168.42.1 'kill -USR1 $( cat /var/run/cake-autorate/maintain_log_file_pid )'  && sleep 30 && scp  root@192.168.42.1:/var/log/cake-autorate_*.log.gz ./SCRATCH/ && ssh root@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@lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/starlink
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Starlink] CAKE-Autorate
  2022-12-01 20:52   ` warren ponder
@ 2022-12-01 21:25     ` Sebastian Moeller
  2022-12-02 13:08     ` Andrew Somerville
  1 sibling, 0 replies; 6+ messages in thread
From: Sebastian Moeller @ 2022-12-01 21:25 UTC (permalink / raw)
  To: warren ponder; +Cc: Starlink-Bufferbloat, Andrew Somerville

Hi Warren,

if you post a link to the log file I can process the logs for you. As far as I am concerned they carry no sensitive information (I happily share mine) but have a look inside before posting a link to convince yourself that this is OK.


> On Dec 1, 2022, at 21:52, warren ponder <wponder11@gmail.com> wrote:
> 
> Thanks @moeller! I am still trying to figure out Octave.

	Sorry, I use matlab at work and it is the only think I am reasonably proficient in, and octave is freely available hence my choice...

> It's not
> running on my router

	Yes, that is something to run on some other place, hence the ssh examples how to harvest the log files from the router from a different machine.


> 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.

	On my mac (Monterey, intel cpu) I installed octave via homebrew resulting in version 7.2 which is what I use to test... but the plotting code does not do anything earth shattering anyway, so feel free to use your toolkit of choice.


Regards
	Sebastian


> 
> WP
> 
> On Thu, Dec 1, 2022 at 1:40 PM Sebastian Moeller <moeller0@gmx.de> wrote:
>> 
>> Hi Warren,
>> 
>> 
>>> On Dec 1, 2022, at 19:41, warren ponder via Starlink <starlink@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@192.168.42.1 'kill -USR1 $( cat /var/run/cake-autorate/maintain_log_file_pid )'  && sleep 30 && scp  root@192.168.42.1:/var/log/cake-autorate_*.log.gz ./SCRATCH/ && ssh root@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@lists.bufferbloat.net
>>> https://lists.bufferbloat.net/listinfo/starlink
>> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Starlink] CAKE-Autorate
  2022-12-01 20:52   ` warren ponder
  2022-12-01 21:25     ` Sebastian Moeller
@ 2022-12-02 13:08     ` Andrew Somerville
  2022-12-02 13:19       ` warren ponder
  1 sibling, 1 reply; 6+ messages in thread
From: Andrew Somerville @ 2022-12-02 13:08 UTC (permalink / raw)
  To: warren ponder; +Cc: Sebastian Moeller, Starlink-Bufferbloat

[-- Attachment #1: Type: text/plain, Size: 3542 bytes --]

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@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@gmx.de> wrote:
> >
> > Hi Warren,
> >
> >
> > > On Dec 1, 2022, at 19:41, warren ponder via Starlink <
> starlink@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@192.168.42.1 'kill -USR1 $( cat
> /var/run/cake-autorate/maintain_log_file_pid )'  && sleep 30 && scp
> root@192.168.42.1:/var/log/cake-autorate_*.log.gz ./SCRATCH/ && ssh
> root@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@lists.bufferbloat.net
> > > https://lists.bufferbloat.net/listinfo/starlink
> >
>

[-- Attachment #2: Type: text/html, Size: 5016 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Starlink] CAKE-Autorate
  2022-12-02 13:08     ` Andrew Somerville
@ 2022-12-02 13:19       ` warren ponder
  0 siblings, 0 replies; 6+ messages in thread
From: warren ponder @ 2022-12-02 13:19 UTC (permalink / raw)
  To: Andrew Somerville; +Cc: Sebastian Moeller, Starlink-Bufferbloat

[-- Attachment #1: Type: text/plain, Size: 4018 bytes --]

Thanks Andrew, I sent @moeller some logs but the data set was small. I
should have a better one this AM. I can send it here or Openwrt ( probably
better) I do not want to clog up this list.

I'll check out the link and see if I have the reccomendations implemented.

Warren

On Fri, Dec 2, 2022, 6:09 AM Andrew Somerville <aesomerville@gmail.com>
wrote:

> 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@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@gmx.de> wrote:
>> >
>> > Hi Warren,
>> >
>> >
>> > > On Dec 1, 2022, at 19:41, warren ponder via Starlink <
>> starlink@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@192.168.42.1 'kill -USR1 $( cat
>> /var/run/cake-autorate/maintain_log_file_pid )'  && sleep 30 && scp
>> root@192.168.42.1:/var/log/cake-autorate_*.log.gz ./SCRATCH/ && ssh
>> root@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@lists.bufferbloat.net
>> > > https://lists.bufferbloat.net/listinfo/starlink
>> >
>>
>

[-- Attachment #2: Type: text/html, Size: 5910 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-02 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-01 18:41 [Starlink] CAKE-Autorate warren ponder
2022-12-01 20:40 ` Sebastian Moeller
2022-12-01 20:52   ` warren ponder
2022-12-01 21:25     ` Sebastian Moeller
2022-12-02 13:08     ` Andrew Somerville
2022-12-02 13:19       ` warren ponder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox