From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp121.iad.emailsrvr.com (smtp121.iad.emailsrvr.com [207.97.245.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id 673B2202102 for ; Thu, 3 Jan 2013 15:47:36 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp42.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 1E0441484B2; Thu, 3 Jan 2013 18:47:35 -0500 (EST) X-Virus-Scanned: OK Received: from legacy2.wa-web.iad1a (legacy2.wa-web.iad1a.rsapps.net [192.168.2.218]) by smtp42.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id EAC3514820F; Thu, 3 Jan 2013 18:47:34 -0500 (EST) Received: from reed.com (localhost [127.0.0.1]) by legacy2.wa-web.iad1a (Postfix) with ESMTP id D658FE00B5; Thu, 3 Jan 2013 18:47:34 -0500 (EST) Received: by apps.rackspace.com (Authenticated sender: dpreed@reed.com, from: dpreed@reed.com) with HTTP; Thu, 3 Jan 2013 18:47:34 -0500 (EST) Date: Thu, 3 Jan 2013 18:47:34 -0500 (EST) From: dpreed@reed.com To: "Dave Taht" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_20130103184734000000_29283" Importance: Normal X-Priority: 3 (Normal) X-Type: html In-Reply-To: References: <1357239005.383531290@apps.rackspace.com> <1357242245.104614574@apps.rackspace.com> Message-ID: <1357256854.873619715@apps.rackspace.com> X-Mailer: webmail7.0 Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] cerowrt 3.7.1-1 released 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: Thu, 03 Jan 2013 23:47:36 -0000 ------=_20130103184734000000_29283 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =0AIn 3.7.1-1, there seems to be no package versions of kmod-usb-net-* in t= he packages listed from snapon.=0A =0AThat would be a nice to have feature.= How hard is it to get that?=0A =0A-----Original Message-----=0AFrom: "Da= ve Taht" =0ASent: Thursday, January 3, 2013 3:02pm=0AT= o: dpreed@reed.com=0ACc: cerowrt-devel@lists.bufferbloat.net=0ASubject: Re:= [Cerowrt-devel] cerowrt 3.7.1-1 released=0A=0A=0A=0AOn Thu, Jan 3, 2013 at= 11:44 AM, wrote:=0A> I'm fine with the command line app= roach.... thanks!=0A>=0A>=0A>=0A> (is there anything special about how to = run the "debloat" script? I assume=0A> it is a package that I download), bu= t you can confirm that).=0A=0Adebloat runs on both std ubuntu/debian system= s and openwrt and turns=0Aoff offloads via ethtool, and trims down=0A=0AOn = ubuntu...=0A=0AIt is intended to run out of /etc/network/ifup.d, and as suc= h does not=0Atake command line arguments but environmental parameters.=0A= =0Ae.g.=0A=0AIFACE=3Dwlan1 QMODEL=3Dfq_codel debloat=0A=0AOn openwrt/cerowr= t it runs out of /etc/hotplug.d/iface/00-debloat=0A=0AThere are tons of QMO= DEL options, see the bottommost portion of=0A"debloat" for the callbacks.= =0A=0A=0AThere are various options, like QDEBUG=3D1, which dumps the comman= ds fed=0Ato tc to stdout and a lot of bad-out-of-date documentation inside = it.=0AIt started life as a wrapper around qfq and has grown rather=0Aembarr= assingly bloated over time.=0A=0AOne major bug is that it does not detect b= ridged interfaces presently.=0A=0AThe simple_qos.sh script relies on it to = set the tricky parameters=0Athat it overrides.=0A=0A> And which queue shoul= d have ecn disabled?=0A=0Ain the simple_qos.sh script I have been disabling= ecn on egress=0Auniversally. It's on on ingress.=0A=0ANote that this scrip= t is intended for a rate limited ethernet device, not wifi.=0A=0AOf late, f= or wifi, I have been disabling ecn on wifi on the vo queue=0Aand the backgr= ound queue. There are various variants of the debloat=0Ascript (for wifi, e= thernet, and various variants of codel, Xfq_codel,=0Aand QFQ) in play at th= e moment.=0A=0A=0A>=0A>=0A>=0A> -----Original Message-----=0A> From: "Dave = Taht" =0A> Sent: Thursday, January 3, 2013 2:30pm=0A> = To: dpreed@reed.com=0A> Cc: cerowrt-devel@lists.bufferbloat.net=0A> Subject= : Re: [Cerowrt-devel] cerowrt 3.7.1-1 released=0A>=0A> On Thu, Jan 3, 2013 = at 10:50 AM, wrote:=0A>> Perhaps this is premature, but I= have installed 3.7.1-1 on my experimental=0A>=0A> I'm happy with 3.7.1 fro= m a reliability perspective.=0A>=0A> I've got 8 routers deployed on it now = for testing, no crashes, good=0A> performance, I'm happy.=0A>=0A> Still nee= d some features to land in iptables and gui work, and dnsmasq=0A> to get ou= t of beta and I'd like to finish up simple_qos to become=0A> ceroshaper...= =0A>=0A> etc...=0A>=0A> but go for it!=0A>=0A>> router as well. It seems to= be working fine but now I'd like to start=0A>> capturing monitoring data f= rom the AQM (nfq_codel is enabled by default?)=0A>> layer.=0A>>=0A>>=0A>>= =0A>> I'd also like to change the "WAN interface" to be one of its 2.4 Gig= =0A>> radios.=0A>> That's because I want to put the Cerowrt experimental ro= uter "in front of"=0A>> a=0A>> mobile hotspot that is operating using LTE t= o provide my internet access.=0A>> (Yes, I know that "in general" WLAN's ne= ed something better than=0A>> nfq_codel,=0A>=0A> In this case nfq_codel is = on ALL 4 wifi queues, so you will need to=0A> parse those. Also the debloat= script modifies the size of those queues=0A> significantly vs a vs a defau= lt openwrt setup.=0A>=0A> Also I disable ecn on at least one queue...=0A>= =0A>> but in this case, it's a single device and a single hop - i.e. cable= =0A>> equivalent). Alternatively, maybe I can connect the mobile hotspot to= the=0A>> router using USB.=0A>>=0A>>=0A>>=0A>> Best way to do that? I have= not delved deep into OpenWRT/Cerowrt config=0A>> files.=0A>=0A> Well, I'm = a command line guy, but you can do all this via the gui if=0A> you do it al= l in one go. However:=0A>=0A> In /etc/config/firewall:=0A>=0A> Change the g= e00 entry to the wifi device you are going to use - this=0A> will turn on n= at for that device.=0A>=0A> Replace the wifi interface with ge00 on the oth= er entries in the firewall.=0A>=0A> In /etc/quagga/babeld.conf for the wifi= device you are going to use.=0A> Enable it for ge00 if you are going to us= e that for something.=0A>=0A> Assuming you are using dhcp on your wifi...= =0A>=0A> in /etc/config/network=0A>=0A> ...Basically swap the ge00 and wifi= entries...=0A>=0A> in /etc/config/wireless=0A>=0A> Enable "sta" mode for t= he wifi interface you are going to use. (mildly=0A> easier to get this righ= t via the gui)=0A>=0A> in /etc/config/dhcp=0A>=0A> disable dhcp service on = the wifi interface you are going to use=0A>=0A> cross fingers, make a small= blood sacrifice to Murphy, reboot.=0A>=0A> I note that both vi and zile (e= macs) are installed from a command line=0A> perspective.=0A>=0A> ...=0A>=0A= > As for the usb approach, I think usb-net is built, but have not tried=0A>= it recently. There used to be support for several 3g usb-modems, in=0A> fa= ct, installable via opkg.=0A>=0A>>=0A>>=0A>>=0A>> -----Original Message----= -=0A>> From: "Dave Taht" =0A>> Sent: Wednesday, Januar= y 2, 2013 5:03am=0A>> To: cerowrt-devel@lists.bufferbloat.net=0A>> Subject:= [Cerowrt-devel] cerowrt 3.7.1-1 released=0A>>=0A>> Two formerly back-order= ed 3800s arrived yesterday!=0A>>=0A>> They barely had time to power on befo= re I reflashed them with:=0A>>=0A>> http://snapon.lab.bufferbloat.net/~cero= 2/cerowrt/wndr/3.7.1-1/=0A>>=0A>> I still regard this series as heavily dev= elopment oriented and=0A>> unsuitable for general use. In particular I'd li= ke to wait for dnsmasq=0A>> to come out of beta, fix AHCP, add a gui for th= e ceroshaper, etc, etc.=0A>>=0A>> But: This is the first devel release I've= been able to test in the=0A>> real world as a default gw in a while. So fa= r, so good.=0A>>=0A>> I have some issues with how the new network6 configur= ation stuff=0A>> interacts with ahcp, but aside from that... I saw upnp wor= k for the=0A>> first time... saw the ula auto code work... analyzed some dr= opbox and=0A>> netflix traffic, ran a couple android boxes through it, fidd= led with=0A>> nfq_codel...=0A>>=0A>> some notes:=0A>>=0A>> + resync with op= enwrt head=0A>> + update to Linux 3.7.1 with unaligned patches from robert = bradley=0A>> + A QFQ+ update=0A>> + mildly improved nfq_codel=0A>> - Missin= g cups support (didn't compile=0A>> - no ipv6 npt yet=0A>>=0A>> Merry New Y= ear!=0A>>=0A>> --=0A>> Dave T=C3=A4ht=0A>>=0A>> Fixing bufferbloat with cer= owrt:=0A>> http://www.teklibre.com/cerowrt/subscribe.html=0A>> ____________= ___________________________________=0A>> Cerowrt-devel mailing list=0A>> Ce= rowrt-devel@lists.bufferbloat.net=0A>> https://lists.bufferbloat.net/listin= fo/cerowrt-devel=0A>=0A>=0A>=0A> --=0A> Dave T=C3=A4ht=0A>=0A> Fixing buffe= rbloat with cerowrt:=0A> http://www.teklibre.com/cerowrt/subscribe.html=0A= =0A=0A=0A-- =0ADave T=C3=A4ht=0A=0AFixing bufferbloat with cerowrt: http://= www.teklibre.com/cerowrt/subscribe.html ------=_20130103184734000000_29283 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

= In 3.7.1-1, there seems to be no package versions of kmod-usb-net-* in the = packages listed from snapon.

=0A

 <= /p>=0A

That would be a nice to have feature= .   How hard is it to get that?

=0A

 

=0A

-----Original Message--= ---
From: "Dave Taht" <dave.taht@gmail.com>
Sent: Thursday,= January 3, 2013 3:02pm
To: dpreed@reed.com
Cc: cerowrt-devel@lis= ts.bufferbloat.net
Subject: Re: [Cerowrt-devel] cerowrt 3.7.1-1 releas= ed

=0A
=0A

On Thu, Jan 3, 2013 at 11:44 AM, <dpreed@reed.com> wr= ote:
> I'm fine with the command line approach.... thanks!
&g= t;
>
>
> (is there anything special about how to ru= n the "debloat" script? I assume
> it is a package that I download)= , but you can confirm that).

debloat runs on both std ubuntu/deb= ian systems and openwrt and turns
off offloads via ethtool, and trims = down

On ubuntu...

It is intended to run out of /etc/n= etwork/ifup.d, and as such does not
take command line arguments but en= vironmental parameters.

e.g.

IFACE=3Dwlan1 QMODEL=3Df= q_codel debloat

On openwrt/cerowrt it runs out of /etc/hotplug.d= /iface/00-debloat

There are tons of QMODEL options, see the bott= ommost portion of
"debloat" for the callbacks.


There = are various options, like QDEBUG=3D1, which dumps the commands fed
to = tc to stdout and a lot of bad-out-of-date documentation inside it.
It = started life as a wrapper around qfq and has grown rather
embarrassing= ly bloated over time.

One major bug is that it does not detect b= ridged interfaces presently.

The simple_qos.sh script relies on = it to set the tricky parameters
that it overrides.

> And= which queue should have ecn disabled?

in the simple_qos.sh scri= pt I have been disabling ecn on egress
universally. It's on on ingress= .

Note that this script is intended for a rate limited ethernet = device, not wifi.

Of late, for wifi, I have been disabling ecn o= n wifi on the vo queue
and the background queue. There are various var= iants of the debloat
script (for wifi, ethernet, and various variants = of codel, Xfq_codel,
and QFQ) in play at the moment.


= >
>
>
> -----Original Message-----
> Fro= m: "Dave Taht" <dave.taht@gmail.com>
> Sent: Thursday, Januar= y 3, 2013 2:30pm
> To: dpreed@reed.com
> Cc: cerowrt-devel@= lists.bufferbloat.net
> Subject: Re: [Cerowrt-devel] cerowrt 3.7.1-= 1 released
>
> On Thu, Jan 3, 2013 at 10:50 AM, <dpreed@= reed.com> wrote:
>> Perhaps this is premature, but I have ins= talled 3.7.1-1 on my experimental
>
> I'm happy with 3.7.1 = from a reliability perspective.
>
> I've got 8 routers depl= oyed on it now for testing, no crashes, good
> performance, I'm hap= py.
>
> Still need some features to land in iptables and gu= i work, and dnsmasq
> to get out of beta and I'd like to finish up = simple_qos to become
> ceroshaper...
>
> etc...
>
> but go for it!
>
>> router as well. It = seems to be working fine but now I'd like to start
>> capturing = monitoring data from the AQM (nfq_codel is enabled by default?)
>&g= t; layer.
>>
>>
>>
>> I'd also = like to change the "WAN interface" to be one of its 2.4 Gig
>> r= adios.
>> That's because I want to put the Cerowrt experimental = router "in front of"
>> a
>> mobile hotspot that is o= perating using LTE to provide my internet access.
>> (Yes, I kno= w that "in general" WLAN's need something better than
>> nfq_cod= el,
>
> In this case nfq_codel is on ALL 4 wifi queues, so = you will need to
> parse those. Also the debloat script modifies th= e size of those queues
> significantly vs a vs a default openwrt se= tup.
>
> Also I disable ecn on at least one queue...
&= gt;
>> but in this case, it's a single device and a single hop -= i.e. cable
>> equivalent). Alternatively, maybe I can connect t= he mobile hotspot to the
>> router using USB.
>>
>>
>>
>> Best way to do that? I have not delve= d deep into OpenWRT/Cerowrt config
>> files.
>
>= Well, I'm a command line guy, but you can do all this via the gui if
= > you do it all in one go. However:
>
> In /etc/config/f= irewall:
>
> Change the ge00 entry to the wifi device you a= re going to use - this
> will turn on nat for that device.
>= ;
> Replace the wifi interface with ge00 on the other entries in th= e firewall.
>
> In /etc/quagga/babeld.conf for the wifi dev= ice you are going to use.
> Enable it for ge00 if you are going to = use that for something.
>
> Assuming you are using dhcp on = your wifi...
>
> in /etc/config/network
>
>= ...Basically swap the ge00 and wifi entries...
>
> in /etc= /config/wireless
>
> Enable "sta" mode for the wifi interfa= ce you are going to use. (mildly
> easier to get this right via the= gui)
>
> in /etc/config/dhcp
>
> disable d= hcp service on the wifi interface you are going to use
>
> = cross fingers, make a small blood sacrifice to Murphy, reboot.
>> I note that both vi and zile (emacs) are installed from a command l= ine
> perspective.
>
> ...
>
> As f= or the usb approach, I think usb-net is built, but have not tried
>= it recently. There used to be support for several 3g usb-modems, in
&= gt; fact, installable via opkg.
>
>>
>>
= >>
>> -----Original Message-----
>> From: "Dave= Taht" <dave.taht@gmail.com>
>> Sent: Wednesday, January 2= , 2013 5:03am
>> To: cerowrt-devel@lists.bufferbloat.net
&g= t;> Subject: [Cerowrt-devel] cerowrt 3.7.1-1 released
>>
>> Two formerly back-ordered 3800s arrived yesterday!
>><= br />>> They barely had time to power on before I reflashed them with= :
>>
>> http://snapon.lab.bufferbloat.net/~cero2/cero= wrt/wndr/3.7.1-1/
>>
>> I still regard this series as= heavily development oriented and
>> unsuitable for general use.= In particular I'd like to wait for dnsmasq
>> to come out of be= ta, fix AHCP, add a gui for the ceroshaper, etc, etc.
>>
&g= t;> But: This is the first devel release I've been able to test in the>> real world as a default gw in a while. So far, so good.
&= gt;>
>> I have some issues with how the new network6 configur= ation stuff
>> interacts with ahcp, but aside from that... I saw= upnp work for the
>> first time... saw the ula auto code work..= . analyzed some dropbox and
>> netflix traffic, ran a couple and= roid boxes through it, fiddled with
>> nfq_codel...
>>= ;
>> some notes:
>>
>> + resync with openw= rt head
>> + update to Linux 3.7.1 with unaligned patches from r= obert bradley
>> + A QFQ+ update
>> + mildly improved= nfq_codel
>> - Missing cups support (didn't compile
>&g= t; - no ipv6 npt yet
>>
>> Merry New Year!
>&= gt;
>> --
>> Dave T=C3=A4ht
>>
>&g= t; Fixing bufferbloat with cerowrt:
>> http://www.teklibre.com/c= erowrt/subscribe.html
>> _______________________________________= ________
>> Cerowrt-devel mailing list
>> Cerowrt-dev= el@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listin= fo/cerowrt-devel
>
>
>
> --
> Dave = T=C3=A4ht
>
> Fixing bufferbloat with cerowrt:
> ht= tp://www.teklibre.com/cerowrt/subscribe.html



--
Dave T=C3=A4ht

Fixing bufferbloat with cerowrt: http://www.tek= libre.com/cerowrt/subscribe.html

=0A
------=_20130103184734000000_29283--