From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id A564F21F1C6 for ; Sun, 19 Jan 2014 08:36:57 -0800 (PST) Received: by mail-we0-f176.google.com with SMTP id t61so1774095wes.21 for ; Sun, 19 Jan 2014 08:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jTiQBUQa9ILNXxiJKYTTmUqnqBBYpe6g9O28ZlaafUY=; b=yFraEVc7jCddiweePXmCWCncd2Jh8nZhlib8BztHGMz8TW9OHrhzLAovxHtRp/opmy 3aCgIEto/hACDIBRAnHmEom+Y/CkZLl1hYMU4HVY8NswjjkRLCi4oI0fmrQqoRUm+Dai 7rmpmG0e6DXdr8IEUOFBWP55fV+g+eVc6xijaZDgTvdiXvclEB9gXHsDNOBx+hDk5kDg 08oJcVH0CZTLfan0u8Xgkt/qNhOV9TLtg2g9jvNEZJYan2WRg6LzQxcLa1UiKtvQWf3P SLPmKQeMzq/lYQJtBO5J1q4D4vkIBloyBsd9oBTN7q0bEc6r9GefG/4H1ZuSbZKs2oCK RdwA== MIME-Version: 1.0 X-Received: by 10.194.175.133 with SMTP id ca5mr10722693wjc.19.1390149415637; Sun, 19 Jan 2014 08:36:55 -0800 (PST) Received: by 10.217.123.69 with HTTP; Sun, 19 Jan 2014 08:36:55 -0800 (PST) Date: Sun, 19 Jan 2014 11:36:55 -0500 Message-ID: From: Dave Taht To: "cerowrt-devel@lists.bufferbloat.net" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [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 16:37:09 -0000 The /etc/hotplug.d/iface/00-debloat script has been wrong in the face of the qos-scripts, aqm-scripts, and stuff inbetween. 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. 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! 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. but for 3.10.24 and later replace /etc/hotplug.d/iface/00-debloat with this= . #!/bin/sh #DEBLOAT_LOG=3D/tmp/debloat.log #DEBLOAT_LOG2=3D/tmp/debloat2.log DEBLOAT_LOG=3D/dev/null DEBLOAT_LOG2=3D/dev/null SQM=3D0 SQM=3D`uci get sqm.${DEVICE}.enabled` [ "$ACTION" =3D "ifup" -a "$SQM" !=3D "1" ] && { IFACE=3D$DEVICE QMODEL=3Dfq_codel_ll /usr/sbin/debloat >> $DEBLOAT_LOG 2>> $DEBLOAT_LOG2 } --=20 Dave T=E4ht Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.= html