* [Cerowrt-devel] SQM restart and problems on boot fixed
@ 2014-01-19 16:36 Dave Taht
2014-01-19 18:21 ` Sebastian Moeller
0 siblings, 1 reply; 2+ messages in thread
From: Dave Taht @ 2014-01-19 16:36 UTC (permalink / raw)
To: cerowrt-devel
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=/tmp/debloat.log
#DEBLOAT_LOG2=/tmp/debloat2.log
DEBLOAT_LOG=/dev/null
DEBLOAT_LOG2=/dev/null
SQM=0
SQM=`uci get sqm.${DEVICE}.enabled`
[ "$ACTION" = "ifup" -a "$SQM" != "1" ] && {
IFACE=$DEVICE QMODEL=fq_codel_ll /usr/sbin/debloat >>
$DEBLOAT_LOG 2>> $DEBLOAT_LOG2
}
--
Dave Täht
Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Cerowrt-devel] SQM restart and problems on boot fixed
2014-01-19 16:36 [Cerowrt-devel] SQM restart and problems on boot fixed Dave Taht
@ 2014-01-19 18:21 ` Sebastian Moeller
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Moeller @ 2014-01-19 18:21 UTC (permalink / raw)
To: Dave Taht; +Cc: cerowrt-devel
Hi Dave,
On Jan 19, 2014, at 17:36 , Dave Taht <dave.taht@gmail.com> wrote:
> 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=/tmp/debloat.log
> #DEBLOAT_LOG2=/tmp/debloat2.log
> DEBLOAT_LOG=/dev/null
> DEBLOAT_LOG2=/dev/null
>
> SQM=0
> SQM=`uci get sqm.${DEVICE}.enabled`
>
> [ "$ACTION" = "ifup" -a "$SQM" != "1" ] && {
> IFACE=$DEVICE QMODEL=fq_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
>
>
> --
> Dave Täht
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-19 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 16:36 [Cerowrt-devel] SQM restart and problems on boot fixed Dave Taht
2014-01-19 18:21 ` Sebastian Moeller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox