General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Sebastian Moeller <moeller0@gmx.de>
To: Kenneth Porter <shiva@sewingwitch.com>
Cc: Jonathan Morton via Bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] SQM tuning question
Date: Sun, 4 Jun 2023 20:48:48 +0200	[thread overview]
Message-ID: <DC2B85AB-E0E1-4B8C-9BC9-B57BD6769B0A@gmx.de> (raw)
In-Reply-To: <642118391FA06B4E63C6FA57@[10.96.7.39]>

Have a look at:

cake-autorate: https://github.com/lynxthecat/cake-autorate/blob/master/cake-autorate.sh
lua sqm-autorate: https://github.com/sqm-autorate/sqm-autorate
perl sqm-autorate: https://github.com/tievolu/sqm-autorate

all three use active latency probes to detect an increase in delay and interpret that as increase in queueing delay which happens if the offered load exceeds the available capacity, and all three will, by slightly different heuristics, adjust the traffic shaper so that latency under loads stays (mostly) within acceptable (configurable) limits.
Note the "organic" traffic over the link is measured and used as "load" so no cyclic saturating speedtest is necessary.

I think that evenroute's iqrouter uses a different approach in that they periodically perform speedtests and then set the traffic shaper in accordance to that result.

However the three different *-autorates should be runnable on essentially every linux distribution, while for evenroute's implementation one would need to buy their hardware IIRC.

Best Regards
	Sebastian


> On Jun 3, 2023, at 18:54, Kenneth Porter via Bloat <bloat@lists.bufferbloat.net> wrote:
> 
> --On Saturday, June 03, 2023 7:44 PM +0300 Jonathan Morton via Bloat <bloat@lists.bufferbloat.net> wrote:
> 
>> When your available bandwidth varies over time, that can be inconvenient.
>> There are methods, however, of observing how available capacity tends to
>> change over time (typically on diurnal and weekly patterns, if the
>> variations are due to congestion in the ISP backhaul or peering) and
>> scheduling adjustments on that basis.  If you have more information on
>> your situation, we might be able to give more detailed advice.
> 
> Are there any good solutions for regularly recomputing the bandwidth on a consumer link? I'm running the Linux SQM scripts to launch cake on a recent Debian system and CoDel on a CentOS 7 gateway. I set the bandwidth manually based on periodic manual speed tests. I'd love to automate that.
> 
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat


  reply	other threads:[~2023-06-04 18:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-03 13:56 John D
2023-06-03 15:44 ` Jonathan Morton
2023-06-03 16:54   ` Kenneth Porter
2023-06-04 18:48     ` Sebastian Moeller [this message]
2023-06-03 17:17   ` John D
2023-06-03 18:04     ` Aaron Wood
2023-06-04 19:55       ` Sebastian Moeller
2023-06-04 18:56     ` Sebastian Moeller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DC2B85AB-E0E1-4B8C-9BC9-B57BD6769B0A@gmx.de \
    --to=moeller0@gmx.de \
    --cc=bloat@lists.bufferbloat.net \
    --cc=shiva@sewingwitch.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox