From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id B87CF21F1D4 for ; Sun, 19 Jan 2014 10:21:17 -0800 (PST) Received: from hms-beagle-3.home.lan ([217.254.130.56]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M8MyE-1VAUUW2kXi-00vvrk for ; Sun, 19 Jan 2014 19:21:02 +0100 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) From: Sebastian Moeller In-Reply-To: Date: Sun, 19 Jan 2014 19:21:02 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Dave Taht X-Mailer: Apple Mail (2.1510) X-Provags-ID: V03:K0:uRziKUWz0OtjbSDzQfkCteBdSuyDiUVp4HWIMJuzNKr+3cheZIT Jg2iQmj8Szhz87bBi+23JsD2U3z/n9mDxGhU5XuCBKdzL3K6UO69INjNf9c6cRKqO/nDZcr jsRRSClJNyHkWhwLtZYcEPCpEZV88V6VL+ukpWSgzhZguk00+mujqNw84lKFF0VChAlBGO4 FhonbABwa6FohGXQGJ8hw== Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] SQM restart and problems on boot fixed X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 18:21:35 -0000 Hi Dave, On Jan 19, 2014, at 17:36 , Dave Taht wrote: > The /etc/hotplug.d/iface/00-debloat script has been wrong in the face > of the qos-scripts, aqm-scripts, and stuff inbetween. >=20 > Thus on a fresh boot, or after a DHCP renew > or a variety of other circumstances, the portion of sqm that sets up > the egress portion of itself gets wiped out. >=20 > this explains a lot of network performance issues that others have had > after a cero box had been up for a while... the sqm code was getting > partially disabled! >=20 > This was also probably wrong on a ton of previous releases going back > to 3.7.5 or earlier. (however since the name has changed, it would be > aqm for stuff prior to the great renaming, and for 3.7.5 the solution > is also different because we > weren't using uci at the time. >=20 > but for 3.10.24 and later replace /etc/hotplug.d/iface/00-debloat with = this. >=20 > #!/bin/sh >=20 > #DEBLOAT_LOG=3D/tmp/debloat.log > #DEBLOAT_LOG2=3D/tmp/debloat2.log > DEBLOAT_LOG=3D/dev/null > DEBLOAT_LOG2=3D/dev/null >=20 > SQM=3D0 > SQM=3D`uci get sqm.${DEVICE}.enabled` >=20 > [ "$ACTION" =3D "ifup" -a "$SQM" !=3D "1" ] && { > IFACE=3D$DEVICE QMODEL=3Dfq_codel_ll /usr/sbin/debloat >> > $DEBLOAT_LOG 2>> $DEBLOAT_LOG2 > } Excellent find, must have been tricky to catch with it only = triggering ever so often. I assume that this triggering will also have = removed the HTB from egress, so that "tc -d qdisc" always reported the = actual running setup? best Sebastian >=20 >=20 > --=20 > Dave T=E4ht >=20 > Fixing bufferbloat with cerowrt: = http://www.teklibre.com/cerowrt/subscribe.html > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel