Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: "Luis E. Garcia" <luis@bitamins.net>
Cc: openwrt-devel <openwrt-devel@lists.openwrt.org>,
	"cerowrt-devel@lists.bufferbloat.net"
	<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
Date: Thu, 12 Feb 2015 20:46:28 -0800	[thread overview]
Message-ID: <CAA93jw7waPMrkmARbj4U6DA8h8E1oRNW8GW-P9tHvbBG=NQ7xA@mail.gmail.com> (raw)
In-Reply-To: <CALnBQ5kmhWHTYgN_v-KknH2HL0Did+AQAS0=YfSR0SzFjQV60A@mail.gmail.com>

sqm-scripts entered the openwrt package repos for chaos calmer quite
some time back.

On Thu, Feb 12, 2015 at 6:02 PM, Luis E. Garcia <luis@bitamins.net> wrote:
> 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 <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
>> > 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…
>> 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 <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 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 run
>> > >> 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 life
>> > 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 “logread” after installing and activating SQM, as
>> > >> well as the output from “tc -d qdisc” before and after enabling SQM,
>> > >> and finally the output of running “/etc/init.d/sqm stop ;
>> > >> /etc/init.d/sqm start” on the router’s 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’s 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 work
>> > of Dave (who wrote the scripts doing the actual AQM&QOS work) and Toke 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 files
>> > from sqm-scripts and luck-app-sqm on my cerowrt (so I could immediately do
>> > some testing), so I never got around building actual packages (I assume you
>> > need to be setup to build whole openwrt/cerowrt images and that is outside
>> > 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’s build (
>> > https://forum.openwrt.org/viewtopic.php?id=28392 ) that also includes SQM.
>> >
>> > Best Regards
>> >         Sebastian
>> >
>> > >
>> > > I'll let you know when I've taken a stab at getting that working.
>> > >
>> > > > Richard A. Smith  <richard@laptop.org>
>> > > > 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
>>
>



-- 
Dave Täht

thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks

  reply	other threads:[~2015-02-13  4:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1396119385-16871-1-git-send-email-dave.taht@bufferbloat.net>
     [not found] ` <1396119385-16871-2-git-send-email-dave.taht@bufferbloat.net>
     [not found]   ` <CAFE24U3s=z4jZkXMFU4xUyPyQ5fj95zOVxS7oBHGFuOp-FKXqw@mail.gmail.com>
     [not found]     ` <20140330222952.GA26806@lists.bufferbloat.net>
     [not found]       ` <542C2786.6090704@gmail.com>
2014-10-02  1:49         ` Dave Taht
2014-10-02  3:46           ` Alpha Sparc
2014-10-02 11:54             ` David Lang
2014-10-02 14:05             ` Sebastian Moeller
2014-10-06 16:02               ` Richard A. Smith
2014-10-06 19:41                 ` Sebastian Moeller
2014-10-09 16:42                   ` Richard Smith
2014-10-09 17:57                     ` Sebastian Moeller
2014-10-09 18:05                       ` Luis E. Garcia
2014-10-09 20:59                         ` Sebastian Moeller
2015-02-13  2:02                           ` Luis E. Garcia
2015-02-13  4:46                             ` Dave Taht [this message]
2015-02-13  5:13                               ` Luis E. Garcia
2014-10-09 18:13                       ` Dave Taht
2014-10-09 18:14                         ` Sebastian Moeller
     [not found]           ` <54359A46.8000107@iki.fi>
2014-10-09  3:01             ` Dave Taht
2014-10-09 17:09               ` Richard Smith
     [not found]             ` <CABXqzy77--kb59nedBnN+cLFGftN+gnBMJ9vi_xE8niP5YHEHw@mail.gmail.com>
2014-10-09  3:23               ` Dave Taht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA93jw7waPMrkmARbj4U6DA8h8E1oRNW8GW-P9tHvbBG=NQ7xA@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=luis@bitamins.net \
    --cc=openwrt-devel@lists.openwrt.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox