From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f178.google.com (mail-ie0-f178.google.com [209.85.223.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 3E6D3202102 for ; Thu, 3 Jan 2013 12:02:14 -0800 (PST) Received: by mail-ie0-f178.google.com with SMTP id c12so18431512ieb.23 for ; Thu, 03 Jan 2013 12:02:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7hzEJmZLEfOsNHo6g+B+G4p8atss9bHRaaZ0KxJAlVU=; b=NM39dzRuWY5IS4HSeVDWvih6GpDeRflGzE7uySfTEv9Gu/bG7qA/MSiaT9l4eLOvup yEgB7w9vzINTzscGd3lZe83uEt8oH9SaKffrQTMJ2UccrXGT7q8DhvLu7mscBsEcd0Qd vU+B6IUQfGJnTOxt4UeYeM5zaoaHpifYFGghvDrSKNKgeKG84COaXZfwk3DrBsXY0eOc Nnu3+YhIbOjIRJLhoWsqErnDVTeCeMbplU3ieX+tWplsXoLEAp9LHVR0PjKnWm0YpjKU /MLypDgoov+X8Cig21l7GqN3Iu0olzRDTwZvLIOBJHa7ZSe/feXbIzJcTnmkPQuBArmM eFuQ== MIME-Version: 1.0 Received: by 10.50.56.139 with SMTP id a11mr37040203igq.86.1357243333686; Thu, 03 Jan 2013 12:02:13 -0800 (PST) Received: by 10.64.135.39 with HTTP; Thu, 3 Jan 2013 12:02:13 -0800 (PST) In-Reply-To: <1357242245.104614574@apps.rackspace.com> References: <1357239005.383531290@apps.rackspace.com> <1357242245.104614574@apps.rackspace.com> Date: Thu, 3 Jan 2013 12:02:13 -0800 Message-ID: From: Dave Taht To: dpreed@reed.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 20:02:14 -0000 On Thu, Jan 3, 2013 at 11:44 AM, wrote: > I'm fine with the command line approach.... thanks! > > > > (is there anything special about how to run the "debloat" script? I assum= e > it is a package that I download), but you can confirm that). debloat runs on both std ubuntu/debian systems and openwrt and turns off offloads via ethtool, and trims down On ubuntu... It is intended to run out of /etc/network/ifup.d, and as such does not take command line arguments but environmental parameters. e.g. IFACE=3Dwlan1 QMODEL=3Dfq_codel debloat On openwrt/cerowrt it runs out of /etc/hotplug.d/iface/00-debloat There are tons of QMODEL options, see the bottommost 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 embarrassingly bloated over time. One major bug is that it does not detect bridged 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 script 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 w= ifi. Of late, for wifi, I have been disabling ecn on wifi on the vo queue and the background queue. There are various variants of the debloat script (for wifi, ethernet, and various variants of codel, Xfq_codel, and QFQ) in play at the moment. > > > > -----Original Message----- > From: "Dave Taht" > Sent: Thursday, January 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, wrote: >> Perhaps this is premature, but I have installed 3.7.1-1 on my experiment= al > > I'm happy with 3.7.1 from a reliability perspective. > > I've got 8 routers deployed on it now for testing, no crashes, good > performance, I'm happy. > > Still need some features to land in iptables and gui 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?= ) >> layer. >> >> >> >> I'd also like to change the "WAN interface" to be one of its 2.4 Gig >> radios. >> That's because I want to put the Cerowrt experimental router "in front o= f" >> a >> mobile hotspot that is operating using LTE to provide my internet access= . >> (Yes, I know that "in general" WLAN's need something better than >> nfq_codel, > > In this case nfq_codel is on ALL 4 wifi queues, so you will need to > parse those. Also the debloat script modifies the size of those queues > significantly vs a vs a default openwrt setup. > > Also I disable ecn on at least one queue... > >> but in this case, it's a single device and a single hop - i.e. cable >> equivalent). Alternatively, maybe I can connect the mobile hotspot to th= e >> router using USB. >> >> >> >> Best way to do that? I have not delved 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/firewall: > > Change the ge00 entry to the wifi device you are going to use - this > will turn on nat for that device. > > Replace the wifi interface with ge00 on the other entries in the firewall= . > > In /etc/quagga/babeld.conf for the wifi device 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 interface you are going to use. (mildly > easier to get this right via the gui) > > in /etc/config/dhcp > > disable dhcp 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 line > perspective. > > ... > > As for 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 > fact, installable via opkg. > >> >> >> >> -----Original Message----- >> From: "Dave Taht" >> Sent: Wednesday, January 2, 2013 5:03am >> To: cerowrt-devel@lists.bufferbloat.net >> Subject: [Cerowrt-devel] cerowrt 3.7.1-1 released >> >> Two formerly back-ordered 3800s arrived yesterday! >> >> They barely had time to power on before I reflashed them with: >> >> http://snapon.lab.bufferbloat.net/~cero2/cerowrt/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 beta, fix AHCP, add a gui for the ceroshaper, etc, etc. >> >> 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. >> >> I have some issues with how the new network6 configuration 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 android boxes through it, fiddled with >> nfq_codel... >> >> some notes: >> >> + resync with openwrt head >> + update to Linux 3.7.1 with unaligned patches from robert bradley >> + A QFQ+ update >> + mildly improved nfq_codel >> - Missing cups support (didn't compile >> - no ipv6 npt yet >> >> Merry New Year! >> >> -- >> Dave T=E4ht >> >> 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 > > > > -- > Dave T=E4ht > > Fixing bufferbloat with cerowrt: > http://www.teklibre.com/cerowrt/subscribe.html --=20 Dave T=E4ht Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.= html