From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 0C16A3B2A4 for ; Sun, 4 Jun 2023 14:48:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1685904529; x=1686509329; i=moeller0@gmx.de; bh=xviiwGT26w/PgAohh1bIHA3K9HrBYTF8Zy1suF4gJVs=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=Om0FpfzSRKAueh/u3ISllhrsG5gsrdzx3R6o0+TvpBE5K25lRGIYVEdIPBJ+NZqqj5VZDBc T7JQTbrsYQz0bqYqen39M/kNHWBNhOhRvC0y3fWUhEoMPgamDXrxjv4cV7rj1zvNJQRtmEqWs e6uqvvki6SNcpGCNwm/CN/f8RruYh5TMJrQAYdJgcl5hGkKpQHsD2yl3ex5PYTCdSjdqCNZzY nxSg7ibWVtARE4l4mQkZkH/ea+tdpSnwaR35niodewC+qmAm2BzSbuErcyCSxvcn7Yc2uUV7H Dr7HHrYVO80fG87jQbKLDzoteYC5cjZpmdm+79hQbii3HWXxxuwQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from smtpclient.apple ([80.187.108.116]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1McH5Q-1qbd6L2gnM-00ciJ1; Sun, 04 Jun 2023 20:48:49 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) From: Sebastian Moeller In-Reply-To: <642118391FA06B4E63C6FA57@[10.96.7.39]> Date: Sun, 4 Jun 2023 20:48:48 +0200 Cc: Jonathan Morton via Bloat Content-Transfer-Encoding: quoted-printable Message-Id: References: <39DED14A-AACF-4C45-9834-C295F92E8800@gmail.com> <642118391FA06B4E63C6FA57@[10.96.7.39]> To: Kenneth Porter X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Provags-ID: V03:K1:nsQXKyHqZNJcx8HMRLouKZFUnbOrPInDPXac59xzhzsLpU/XKpn a9DmNC/MORoFF2rjPs8IUKHBr48eHOhzC9t441s1Oa2azKXyOyfoo9DCfx7GaEWfeyLUqbS jx3WpJ4veGz2+SdkfNpcx6bzDXwlUtq/gR/fpsancrC9Zo5aeJysbc/aG2aG2J64vzarjWu xbSovKrl98JMWDZihNoCg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:JfM9aopv+14=;+iJEPh54GJDbar39JzQA3pbe2PG NLXQ8OkjwG8vT1X8k9269+82d8uk0mg/a56iKDm3+/tKL27omhom/KXcQpI8mNPsS7bRbJyfK B7FP44ABGovBW8uSXqdBx/yzh9HrSaJ/6f5Q+OMXRoK+Ohn6CtIdDMWk65YNNfZ9sVmNJKDXt 6S85AyRyQU0WMmJxq3cxYNKSVcAnbBNfwbHMN/7sStrqdgb7NBLTLsGtqQQ4u2qYdwbmn3RvB Iu0erx4ys9OFFxG8ODaymVYDGxm1HTr0hSGo/YIxf+ls9AL9/nj3b8sGpKrqRYRgMhPcKX1k5 yXTwzUGH8E39Ejn98/RtgMYZaxfT3iy8CFCWQslpRARo+KQernEG9CLgrUexV8QOmvM1aPjNy rt1GbcChhYYCZIc3PvXmJGpT6ngYIuzRaiJPdIQCE9noFEgNHZm8V/q0U1OeJY7u26xdtHW6n G4AIzlKlLvSLxtoNhGRiuFgTt3sAFQEzBvQn76wSTjc7qBS+C4AtjAjDu1bhloMx2J+OF7tpg tJM45LuQO3jM3qfDuZ+CVSKTj07aaV77tGx2csQmQmjpTs0cBAaJFNc18pfFw9bXklxqdPdZb oMLmsMx0c35DqB1c7Gl2Ras3N1HiNfKggEvycxIxFS5CABgmtnQSAmYdGCsm72VKTMzNaGxsI MRqZOjUlBXSYM5B2vK61j21Dz2fWw7qWdMb1Ez9nFKq731B4qsxyJyIsiAZ5jJHVN6n6tJQPR HG8+Um2sl6xSa+P0D56OmUo0Ys1iGOk7LawhDu2Ch5OXfRnnwSB3/Irc1oDweto76JutPwfaM KoRrwAy7RPHTtHLRIcth+4TIKdPjBJlulyJe3oQkyh51hvmUUqm+IA2hPh25WOL4uiISa37hv Sp4KGAmAPB82Su9cf1xTFA8qobDwLawaF3Ydl++5ho591N2PvdshTU/dZJ3gJyIAo1sJmWeQa 3PROUbyh9WY20ekxf9NSat6hrxo= Subject: Re: [Bloat] SQM tuning question X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2023 18:48:59 -0000 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 = wrote: >=20 > --On Saturday, June 03, 2023 7:44 PM +0300 Jonathan Morton via Bloat = wrote: >=20 >> 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. >=20 > 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. >=20 > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat