From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 670DE3B29D for ; Fri, 2 Dec 2022 08:09:10 -0500 (EST) Received: by mail-lf1-x12d.google.com with SMTP id cf42so1551365lfb.1 for ; Fri, 02 Dec 2022 05:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ay/QNueileD7O0bRkt7QJO10moyTIjovtPAHxPNM3UE=; b=K5quWJrAc/BVc7FTagS37F0TiAqn54hgC69X/DJh4ugCyOSCpT35CfHipPym6vrGnT TaK/eP3dGYyE/9jhvr3RUlcr5ekPOZyVYOETZs4H1LyCB2zSTteyQL/pXHLRDmi+LAC9 kk4+mstL8v5xEERpJB7grdnH5/d7x7voEiSrNkhiuPaFDJw7/OU3zRpmH6Rti/I145tN IGUUKc3/vbw7kIKvmXBqloBkCbHu+66OxrULAM3sr2gSSI/bbrJtr9Z13EMqpOahiUtB OfnW0k962ixBf+hBbTYwMLbM/LY1UgffvL4f9fc+XkYS508aPn/5oukbfnje4FCF0s6W peJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ay/QNueileD7O0bRkt7QJO10moyTIjovtPAHxPNM3UE=; b=kna+kGeuNgt91obXy++VGv7aZ6bwtfRc+y7l1NwiEhxuRFec/UB99vcxrlioVkmvSc e8jwc6krk2JkNT79fF5IsZSnlgIzXn6kowp1bVF1aTFrkGloGqKAWo+qsc8jiqi1vazn 2bpaTRa4rXGGTCfJmIycErhWVOx1Pwz3z2Qjz19zM785GockEFmRKFmP2508TW0KO1gk uYAQW2+6aITpFShBPPRnqhLlZGGFmY7E9SjGsetTRpM2QCqqWjChf45iSCF3vJEL0RBQ dvyvrh3N2zsWhTTGvS77k5c4j+1e//LStSH/UdE/9igoyqqZ2NY2a5VSaZpt1cLoiit8 SUDw== X-Gm-Message-State: ANoB5pmD95hteZgFRYZxWOvYJHtCUaGwsT+N3/Kb9S4i76o5d89h05aM udTBcAfXv+4jLpXzLc4YNeZ7kcXrEAQFNmRX3mU= X-Google-Smtp-Source: AA0mqf4xPj9Ns6sPPTzlvdLeaJLIPNtbPYo6pUVUohayQQyRB73tZTWPDCtZP4761rknP0jN37RYgJXvQ7gCSQBSECI= X-Received: by 2002:a05:6512:12c9:b0:4af:aa4c:fc8c with SMTP id p9-20020a05651212c900b004afaa4cfc8cmr22934174lfg.653.1669986548714; Fri, 02 Dec 2022 05:09:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andrew Somerville Date: Fri, 2 Dec 2022 13:08:31 +0000 Message-ID: To: warren ponder Cc: Sebastian Moeller , Starlink-Bufferbloat Content-Type: multipart/alternative; boundary="0000000000000411db05eed80b2c" X-Mailman-Approved-At: Tue, 06 Dec 2022 12:40:17 -0500 Subject: Re: [Starlink] CAKE-Autorate X-BeenThere: starlink@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Starlink has bufferbloat. Bad." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2022 13:09:10 -0000 --0000000000000411db05eed80b2c Content-Type: text/plain; charset="UTF-8" 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 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 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 > > > --0000000000000411db05eed80b2c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Warren,

As Sebastian suggest= ed if you can send across a log file having run some speed tests (ideally w= ith longer rather than shorter duration) then with his fantastic plotting u= tility 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 pu= t almost all my effort into developing it with the help of Sebastian.=C2=A0=

cake-autorate does not autoconfigure itself so it does = require quite a bit of tuning - especially for Starlink, which is a super i= nteresting 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.=C2=A0

It mig= ht be time to add some more documentation. But the thread on OpenWrt is a g= reat 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 he= re:


Best wi= shes and keep me CC'ed,

Andrew

On T= hu, 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 ha= ve 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 in= fo to
> > read up on about ensuring I have it going right and possibly quan= tify
> > its making a difference?
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Most discussion happens in the follow= ing OpenWrt thread:
> https://forum.openwrt.org/t/ca= ke-w-adaptive-bandwidth/135379/1202
> or you can open an issue in the github. About making a difference we a= dded some potting code which can turn the log files into partially interpre= table plots.
>
> I use (192.168.42.1 is my OpenWrt/TurrisOS router running cake-autorat= e):
> ssh root@192.16= 8.42.1 'kill -USR1 $( cat /var/run/cake-autorate/maintain_log_file_= pid )'=C2=A0 && sleep 30 && scp=C2=A0 root@192.168.42.1= :/var/log/cake-autorate_*.log.gz ./SCRATCH/ && ssh root@192.168.42.1 'rm /var/l= og/cake-autorate_*.log.gz'
>
> followed by:
> octave -qf --eval 'fn_parse_autorate_log("./SCRATCH/cake-auto= rate_2022-12-01_20_21_16.log.gz", [], [])'
>
> this requires octave >=3D 6.4... once you have that post your plots= to the forum thread and we can take it from there.
>
>
>
> Regards
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sebastian
>
> P.S.: I cc'd Andrew cake-autorate's principal developer, he mi= ght have more ideas...
>
>
>
> >
> > thanks
> >
> > WP
> > _______________________________________________
> > Starlink mailing list
> > Starlink@lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/st= arlink
>
--0000000000000411db05eed80b2c--