From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (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 A344921F3B6 for ; Thu, 12 Feb 2015 18:02:47 -0800 (PST) Received: by ierx19 with SMTP id x19so16566633ier.3 for ; Thu, 12 Feb 2015 18:02:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Hai/9OHTVOM0OmGTSBXzg4HFIEdFXxTZkNQ3wmUWr6U=; b=kDg1K89nuzwpvRhnY3NuaLMVyhAbFaLFBWr5CB3YRhVrIzlVPP5Uh3iMWlMhvwQNGr rTqKvSZxNlP0dB5Iw1gtxIJhcBk5bewKMqZhV/JmQQVGLmwoDqLy/GBbufx2je7WBa77 xCkRG1TeTzqKoca2z9ShDFnuPwxDT0BoFd87J/g5OQTqhyA+D/+lwBtVa/zSma9UBKkm bF7+JwpTZ1GgR54TE7XGm842FyYbSWdR3Huj2iEFKAEbHS4coX7/mPmognX9In71HMfr DMiaclkZ2RaN9AytL0P+K+TDSxwe6wpZcJObSPvUCEnWcMILHNx4D4NmksqP1yhtMvWE bF7A== X-Gm-Message-State: ALoCoQkdxo3g9ERFy2vqYhSYP7cvj6G3QkIATxSTYiiFVPyEf6bohuH2bA0ZL3nDkve5WwfdFSS5 MIME-Version: 1.0 X-Received: by 10.50.4.97 with SMTP id j1mr400869igj.46.1423792966114; Thu, 12 Feb 2015 18:02:46 -0800 (PST) Received: by 10.36.61.142 with HTTP; Thu, 12 Feb 2015 18:02:46 -0800 (PST) X-Originating-IP: [190.150.60.217] In-Reply-To: References: <1396119385-16871-1-git-send-email-dave.taht@bufferbloat.net> <1396119385-16871-2-git-send-email-dave.taht@bufferbloat.net> <20140330222952.GA26806@lists.bufferbloat.net> <542C2786.6090704@gmail.com> <20141002014914.GA12656@lists.bufferbloat.net> <2BFE70BD-92CC-4639-8B3C-15EBA32A20A9@gmx.de> <5432BD26.1070907@laptop.org> <5436BAE0.4010700@gmail.com> <4DD07915-D6AB-4C10-ABE5-57ABDA2A5B8D@gmx.de> Date: Thu, 12 Feb 2015 20:02:46 -0600 Message-ID: From: "Luis E. Garcia" To: Sebastian Moeller , Dave Taht Content-Type: multipart/alternative; boundary=001a11c2cd4efaba98050eeea1d5 Cc: openwrt-devel , cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] [OpenWrt-Devel] [RFC PATCH] packages: Smart Queue Management for AQM Packet Scheduling and Qos from CeroWrt 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: Fri, 13 Feb 2015 02:03:15 -0000 --001a11c2cd4efaba98050eeea1d5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sebastian , Dave, Thanks for these instructions. I just finished a round of 3 months testing this setup on a couple of MyNet N750 ( AR71xx based ) in several locations. The feedback from users is very positive and encouraging - Most of them say that they feel the networks behave a lot snappier than before [ 7.5Mbps Up/ 1Mbps Down]. All I had to do was install the 3 packages over BB 14.07 : ip-full from the OpenWRT BB repository and luci-app-sqm + sam-scripts from the CeroWRT repository. Will the later two packages ever make it to the main OpenWRT package list? or there other packages that on the main OpenWRT distribution that can be used to provide this functionality? ( the 2 CeroWRT packages above make really simple to setup ). Regards, Luis Garcia On Thu, Oct 9, 2014 at 2:59 PM, Sebastian Moeller wrote: > Hi Luis, > > > On Oct 9, 2014, at 20:05 , Luis E. Garcia wrote: > > > Please excuse my dumb question or just point me to the right > documentation. > > But is there an easy way to run AQM/Codel on BB 14.07 ?? I'm running BB > on a MyNETN750 that looks like it meets the HW requirements. > > There probably is, I assume you need to install ip-full from the > BB repository, and then copy > http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.10.50-1/packages/= luci-app-sqm_3-1_all.ipk > and > http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.10.50-1/packages/= sqm-scripts_6-1_all.ipk > onto your router and try: > opkg install sqm-scripts_6-1_all.ipk > and: > opkg install luci-app-sqm_3-1_all.ipk > > You might need to play with opkg options, but in theory it should work=E2= =80=A6 > There probably also is a nicer way like adding a stanza similar to: > src/gz toronto > http://snapon.lab.bufferbloat.net/~cero2/cerowrt/wndr/3.10.50-1/packages > to /etc/opkg.conf > but I do not know the exact incantation of that, maybe hnyman, or Dave > know the correct answer to this.. > > Best Regards > Sebastian > > > > > Regards, > > Luis Garcia > > > > On Thu, Oct 9, 2014 at 12:57 PM, Sebastian Moeller > wrote: > > Hi Richard, > > > > On Oct 9, 2014, at 18:42 , Richard Smith wrote: > > > > > On 10/06/2014 03:41 PM, Sebastian Moeller wrote: > > > > > >>> > > >>> I have spare routers that I can run OpenWRT or CeroWRt on and I'm > > >>> setup to test with netperf, netperf-wrapper on my local network ( > > >>> desktop -> router -> laptop ) it's Gbit so I can easily saturate > > >>> the router. > > >> > > >> That sounds great. I think the first test should be to run SQM under > > >> cerowrt, so you get a feel of how things should look. I typically ru= n > > >> netperf-wrapper rrul tests (for ipv4 and if available for ipv6) > > >> through cerowrt with different settings for SQM. A second step then > > >> is to instal SQM-scripts under openwrt and check whether the same > > >> settings produce the same results ;) > > > > > > Ok. I'll get my spare WNDR3700v2 up running the latest cerowrt. > Should be in the next few days. I'm a bit strapped for time right now. > > > > No hurry, I really appreciate your help and there is no time > pressure (rather the other way around, I do this for a hobby, and real li= fe > leaves almost no time for that ;) ) > > > > > > > >> So just let me know what you are willing/ready to test and we will > > >> take it from there okay? (I would already be a happy camper if you > > >> could just install the current SQM-scripts on openwrt and just send > > >> me the output of =E2=80=9Clogread=E2=80=9D after installing and acti= vating SQM, as > > >> well as the output from =E2=80=9Ctc -d qdisc=E2=80=9D before and aft= er enabling SQM, > > >> and finally the output of running =E2=80=9C/etc/init.d/sqm stop ; > > >> /etc/init.d/sqm start=E2=80=9D on the router=E2=80=99s console; that= hopefully works > > >> or at least gives some indication what might be off. If you could > > >> throw in a quick netperf-wrapper RRUL test through the router I will > > >> be most delighted ;)) > > > > > > Ok. That sounds like a good starter step. First question: Where are > the current SQM scripts located and what's the process for installing > them? Are they packages or stuff that I scp over and manually install? > > > > So the repository lives on: > > https://github.com/dtaht/ceropackages-3.10 > > I just followed Dave=E2=80=99s advice and used: > > git clone git@github.com:dtaht/ceropackages-3.3.git > > to get my own version to play around with. Oh, SQM basically is the wor= k > of Dave (who wrote the scripts doing the actual AQM&QOS work) and Toke yo= u > packaged all this nicely and created the GUI for it (all I ever did was > shuffling the GUI around a bit). I just started hacking around the files > from sqm-scripts and luck-app-sqm on my cerowrt (so I could immediately d= o > some testing), so I never got around building actual packages (I assume y= ou > need to be setup to build whole openwrt/cerowrt images and that is outsid= e > the scope of my recreational coding), But that said if you copy the files > from ceropackages-3.10/net/sqm-scripts/files to the matching directory on > your router you should have a working sqm-script. Or just use a cerowrt > built as SQM is standard and potentially hnyman=E2=80=99s build ( > https://forum.openwrt.org/viewtopic.php?id=3D28392 ) that also includes S= QM. > > > > Best Regards > > Sebastian > > > > > > > > I'll let you know when I've taken a stab at getting that working. > > > > > > > Richard A. Smith > > > > Former One Laptop per Child > > > > > > Just FYI: I'm slowly switching my list subs over from my previous @ > laptop.org address to my personal address. Just switched this one over > thus the email address change. > > > > > > -- > > > Richard A. Smith > > _______________________________________________ > > openwrt-devel mailing list > > openwrt-devel@lists.openwrt.org > > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > > > > _______________________________________________ > > openwrt-devel mailing list > > openwrt-devel@lists.openwrt.org > > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > > --001a11c2cd4efaba98050eeea1d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sebastian , Dave,
Thanks for these instructions.
=
I just finished a round of 3 months testing this setup on a couple of = MyNet N750 ( AR71xx based ) in several locations.
The feedback fr= om users is very positive and encouraging - Most of them say that they feel= the networks behave a lot snappier than before [ 7.5Mbps Up/ 1Mbps Down].<= /div>

All I had to do was install the 3 packages over BB= 14.07 :
ip-full from the OpenWRT BB repository
and luc= i-app-sqm + sam-scripts from the CeroWRT repository.

Will the later two packages ever make it to the main OpenWRT package lis= t? or there other packages that on the main OpenWRT distribution that can b= e used to provide this functionality? ( the 2 CeroWRT packages above make r= eally simple to setup ).

Regards,
Luis G= arcia

= On Thu, Oct 9, 2014 at 2:59 PM, Sebastian Moeller <moeller0@gmx.de> wrote:
Hi Luis,


On Oct 9, 2014, at 20:05 , Luis E. Garcia <luis@bitamins.net> wrote:

> Please excuse my dumb question or just point me to the right documenta= tion.
> But is there an easy way to run AQM/Codel on BB 14.07 ?? I'm runni= ng BB on a MyNETN750 that looks like it meets the HW requirements.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 There probably is, I assume you need to = install ip-full from the BB repository, and then copy http://snapon.lab.bufferbloat.net/~cero2/ce= rowrt/wndr/3.10.50-1/packages/luci-app-sqm_3-1_all.ipk and http://snapon.lab.bufferbloat.net/~= cero2/cerowrt/wndr/3.10.50-1/packages/sqm-scripts_6-1_all.ipk onto your= router and try:
opkg install sqm-scripts_6-1_all.ipk
and:
opkg install luci-app-sqm_3-1_all.ipk

You might need to play with opkg options, but in theory it should work=E2= =80=A6 There probably also is a nicer way like adding a stanza similar to:<= br> src/gz toronto http://snapon.lab.bufferbloat.ne= t/~cero2/cerowrt/wndr/3.10.50-1/packages
to /etc/opkg.conf
but I do not know the exact incantation of that, maybe hnyman, or Dave know= the correct answer to this..

Best Regards
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = Sebastian

>
> Regards,
> Luis Garcia
>
> On Thu, Oct 9, 2014 at 12:57 PM, Sebastian Moeller <moeller0@gmx.de> wrote:
> Hi Richard,
>
> On Oct 9, 2014, at 18:42 , Richard Smith <smithbone@gmail.com> wrote:
>
> > On 10/06/2014 03:41 PM, Sebastian Moeller wrote:
> >
> >>>
> >>> I have spare routers that I can run OpenWRT or CeroWRt on= and I'm
> >>> setup to test with netperf, netperf-wrapper on my local n= etwork (
> >>> desktop -> router -> laptop )=C2=A0 it's Gbit s= o I can easily saturate
> >>> the router.
> >>
> >> That sounds great. I think the first test should be to run SQ= M under
> >> cerowrt, so you get a feel of how things should look. I typic= ally run
> >> netperf-wrapper rrul tests (for ipv4 and if available for ipv= 6)
> >> through cerowrt with different settings for SQM. A second ste= p then
> >> is to instal SQM-scripts under openwrt and check whether the = same
> >> settings produce the same results ;)
> >
> > Ok.=C2=A0 I'll get my spare WNDR3700v2 up running the latest = cerowrt.=C2=A0 Should be in the next few days.=C2=A0 I'm a bit strapped= for time right now.
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0No hurry, I really appreciate your he= lp and there is no time pressure (rather the other way around, I do this fo= r a hobby, and real life leaves almost no time for=C2=A0 that ;) )
>
> >
> >> So just let me know what you are willing/ready to test and we= will
> >> take it from there okay? (I would already be a happy camper i= f you
> >> could just install the current SQM-scripts on openwrt and jus= t send
> >> me the output of =E2=80=9Clogread=E2=80=9D after installing a= nd activating SQM, as
> >> well as the output from =E2=80=9Ctc -d qdisc=E2=80=9D before = and after enabling SQM,
> >> and finally the output of running =E2=80=9C/etc/init.d/sqm st= op ;
> >> /etc/init.d/sqm start=E2=80=9D on the router=E2=80=99s consol= e; that hopefully works
> >> or at least gives some indication what might be off. If you c= ould
> >> throw in a quick netperf-wrapper RRUL test through the router= I will
> >> be most delighted ;))
> >
> > Ok. That sounds like a good starter step.=C2=A0 First question: W= here are the current SQM scripts located and what's the process for ins= talling them?=C2=A0 Are they packages or stuff that I scp over and manually= install?
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0So the repository lives on:
> https://github.com/dtaht/ceropackages-3.10
>=C2=A0 I just followed Dave=E2=80=99s advice and used:
> git clone git@github.com:dtaht/ceropackages-3.3.git
> to get my own version to play around with. Oh, SQM basically is the wo= rk of Dave (who wrote the scripts doing the actual AQM&QOS work) and To= ke you packaged all this nicely and created the GUI for it (all I ever did = was shuffling the GUI around a bit). I just started hacking around the file= s from sqm-scripts and luck-app-sqm on my cerowrt (so I could immediately d= o some testing), so I never got around building actual packages (I assume y= ou need to be setup to build whole openwrt/cerowrt images and that is outsi= de the scope of my recreational coding), But that said if you copy the file= s from ceropackages-3.10/net/sqm-scripts/files to the matching directory on= your router you should have a working sqm-script. Or just use a cerowrt bu= ilt as SQM is standard and potentially hnyman=E2=80=99s build ( https= ://forum.openwrt.org/viewtopic.php?id=3D28392 ) that also includes SQM.=
>
> Best Regards
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Sebastian
>
> >
> > I'll let you know when I've taken a stab at getting that = working.
> >
> > > Richard A. Smith=C2=A0 <richard@laptop.org>
> > > Former One Laptop per Child
> >
> > Just FYI: I'm slowly switching my list subs over from my prev= ious @laptop.org addres= s to my personal address.=C2=A0 Just switched this one over thus the email = address change.
> >
> > --
> > Richard A. Smith
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists= .openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo= /openwrt-devel
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists= .openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo= /openwrt-devel


--001a11c2cd4efaba98050eeea1d5--