From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp113.iad3a.emailsrvr.com (smtp113.iad3a.emailsrvr.com [173.203.187.113]) (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 6652921FD8F for ; Tue, 30 Jun 2015 09:20:44 -0700 (PDT) Received: from smtp23.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp23.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id A1B4F28063B; Tue, 30 Jun 2015 12:20:42 -0400 (EDT) Received: from app35.wa-webapps.iad3a (relay-webapps.rsapps.net [172.27.255.140]) by smtp23.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 80FA8280611; Tue, 30 Jun 2015 12:20:42 -0400 (EDT) X-Sender-Id: dpreed@reed.com Received: from app35.wa-webapps.iad3a (relay-webapps.rsapps.net [172.27.255.140]) by 0.0.0.0:25 (trex/5.4.2); Tue, 30 Jun 2015 16:20:42 GMT Received: from reed.com (localhost.localdomain [127.0.0.1]) by app35.wa-webapps.iad3a (Postfix) with ESMTP id 6AB36180092; Tue, 30 Jun 2015 12:20:42 -0400 (EDT) Received: by apps.rackspace.com (Authenticated sender: dpreed@reed.com, from: dpreed@reed.com) with HTTP; Tue, 30 Jun 2015 12:20:42 -0400 (EDT) Date: Tue, 30 Jun 2015 12:20:42 -0400 (EDT) From: dpreed@reed.com To: "Mikael Abrahamsson" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_20150630122042000000_44553" Importance: Normal X-Priority: 3 (Normal) X-Type: html In-Reply-To: References: <8B853F1C-DE5D-4F3D-88CC-CB8DA2D3E8B1@gmx.de> <04331509-F163-4184-90B4-8589073AFD62@gmx.de> <09BA156C-460D-4794-A082-33E805F3D6FD@gmx.de> <5436B48C-0803-46DA-B355-14E917A5BB37@gmx.de> <4E002218-174D-44F9-91A0-C7F34B9E83C7@gmx.de> <87pp4eomfx.fsf@alrua-karlstad.karlstad.toke.dk> <1435585587.97486240@apps.rackspace.com> X-Auth-ID: dpreed@reed.com Message-ID: <1435681242.435511455@apps.rackspace.com> X-Mailer: webmail/11.5.2-RC Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] Build instructions for regular OpenWRT with Ceropackages 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: Tue, 30 Jun 2015 16:21:12 -0000 ------=_20150630122042000000_44553 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =0AWhat happens if the SoC ports aren't saturated, but the link is GigE? T= hat is, suppose this is an access link to a GigE home or office LAN with wi= red servers?=0A=0A=0AOn Tuesday, June 30, 2015 9:58am, "Mikael Abrahamsson"= said:=0A=0A=0A=0A> On Mon, 29 Jun 2015, dpreed@reed.com= wrote:=0A> =0A> > I would love to try out cake in my environment. However,= as a=0A> > non-combatant, it would be nice to have an instruction sheet on= how to=0A> > set the latest version up, and what hardware it works best on= =0A> > (WRT1200AC?). Obviously this is a work in progress, so that will=0A>= > change, but it would be nice to have a summarized wiki page.=0A> =0A> WR= T1200AC seems to be the most powerful around, however it can't really be=0A= > used for PHY 100M testing since both SoC ports goes to a switch that then= =0A> terminate all the external ports. Therefore it's hard to test=0A> AQM-= on-metal with it because the SoC links are never saturated, you always=0A> = have to use an encompassing shaper (htb).=0A> =0A> Here is a short writeup = from what I learnt from the past days. I haven't=0A> verified every step, t= his is from memory.=0A> =0A> Get ubuntu 14.04 LTS according to:=0A> =0A> ht= tp://www.acme-dot.com/building-openwrt-14-07-barrier-breaker-on-ubuntu-and-= os-x/=0A> =0A> Check out either trunk ("git clone git://git.openwrt.org/ope= nwrt.git") or=0A> Chaos Calmer RC ("clone git://git.openwrt.org/15.05/openw= rt.git").=0A> =0A> Copy feeds.conf.default to feeds.conf in the openwrt dir= . Add first in=0A> file:=0A> =0A> "src-git cero https://github.com/dtaht/ce= ropackages-3.10.git"=0A> =0A> scripts/feeds update -a=0A> scripts/feeds ins= tall luci luci-app-sqm sqm-scripts tc-adv ip ethtool=0A> kmod-sched-cake km= od-sched-fq_pie=0A> =0A> make menuconfig=0A> =0A> Now comes the hard part b= ecause you want to change * for everything that=0A> you want to install as = default in the resulting image. M means it compiles=0A> the package but doe= sn't include it in the resulting image (for utilities).=0A> What the above = does is only to make it available to "make menuconfig" as=0A> packages. I t= end to choose traceroute, tcpdump and all the other nice to=0A> have utilit= ies. You can download and use=0A> (= it's for trunk, ie the nightly,=0A> don't know if it works for CC RC2) and = put as .config in the openwrt=0A> directory as a template.=0A> =0A> I recom= mend to build on a fast machine with SSD, i/o is usually the=0A> limiting f= actor. I use an 3.5GHz core i5 dual core (4 with HT) and SSD,=0A> and with = "make -j 10" it compiles in an hour or so. Subsequent compiles=0A> are quic= ker.=0A> =0A> You need to find your platform etc. If you get an WRT1200AC y= ou can use my=0A> builds if you want to. After this you need to go into the= luci sqm scripts=0A> and set queueing algorithm etc.=0A> =0A> some good co= mmands to see what's going on:=0A> =0A> tc -d qdisc=0A> tc -s qdisc=0A> =0A= > Hope it helps.=0A> =0A> --=0A> Mikael Abrahamsson email: swmike@swm.pp.se= =0A> ------=_20150630122042000000_44553 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

What= happens if the SoC ports aren't saturated, but the link is GigE?  Tha= t is, suppose this is an access link to a GigE home or office LAN with wire= d servers?

=0A=0A



On Tuesday, June 30, 2015= 9:58am, "Mikael Abrahamsson" <swmike@swm.pp.se> said:

=0A

=0A

> O= n Mon, 29 Jun 2015, dpreed@reed.com wrote:
>
> > I woul= d love to try out cake in my environment. However, as a
> > non-= combatant, it would be nice to have an instruction sheet on how to
>= ; > set the latest version up, and what hardware it works best on
&= gt; > (WRT1200AC?). Obviously this is a work in progress, so that will> > change, but it would be nice to have a summarized wiki page.<= br />>
> WRT1200AC seems to be the most powerful around, howeve= r it can't really be
> used for PHY 100M testing since both SoC por= ts goes to a switch that then
> terminate all the external ports. T= herefore it's hard to test
> AQM-on-metal with it because the SoC l= inks are never saturated, you always
> have to use an encompassing = shaper (htb).
>
> Here is a short writeup from what I lear= nt from the past days. I haven't
> verified every step, this is fro= m memory.
>
> Get ubuntu 14.04 LTS according to:
>=
> http://www.acme-dot.com/building-openwrt-14-07-barrier-breaker-= on-ubuntu-and-os-x/
>
> Check out either trunk ("git clone= git://git.openwrt.org/openwrt.git") or
> Chaos Calmer RC ("clone g= it://git.openwrt.org/15.05/openwrt.git").
>
> Copy feeds.c= onf.default to feeds.conf in the openwrt dir. Add first in
> file:<= br />>
> "src-git cero https://github.com/dtaht/ceropackages-3.= 10.git"
>
> scripts/feeds update -a
> scripts/feed= s install luci luci-app-sqm sqm-scripts tc-adv ip ethtool
> kmod-sc= hed-cake kmod-sched-fq_pie
>
> make menuconfig
> <= br />> Now comes the hard part because you want to change * for everythi= ng that
> you want to install as default in the resulting image. M = means it compiles
> the package but doesn't include it in the resul= ting image (for utilities).
> What the above does is only to make i= t available to "make menuconfig" as
> packages. I tend to choose tr= aceroute, tcpdump and all the other nice to
> have utilities. You c= an download and use
> <http://swm.pp.se/aqm/wrt1200ac.config>= (it's for trunk, ie the nightly,
> don't know if it works for CC R= C2) and put as .config in the openwrt
> directory as a template.>
> I recommend to build on a fast machine with SSD, i/o is = usually the
> limiting factor. I use an 3.5GHz core i5 dual core (4= with HT) and SSD,
> and with "make -j 10" it compiles in an hour o= r so. Subsequent compiles
> are quicker.
>
> You n= eed to find your platform etc. If you get an WRT1200AC you can use my
= > builds if you want to. After this you need to go into the luci sqm scr= ipts
> and set queueing algorithm etc.
>
> some go= od commands to see what's going on:
>
> tc -d qdisc
&= gt; tc -s qdisc
>
> Hope it helps.
>
> --=
> Mikael Abrahamsson email: swmike@swm.pp.se
>

=0A
------=_20150630122042000000_44553--