Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Sebastian Moeller <moeller0@gmx.de>
To: Alan Jenkins <alan.christopher.jenkins@gmail.com>
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] Problems testing sqm
Date: Fri, 23 Oct 2015 19:45:10 +0200	[thread overview]
Message-ID: <C5256ECD-1AC9-4234-8DFC-5B94A78C4667@gmx.de> (raw)
In-Reply-To: <CANmMgnFEmTL3hshzeP74Kyj7K=-NoWQEsFFZj1p2Jwj4CNPHww@mail.gmail.com>

Hi Alan, hi Richard,

On Oct 23, 2015, at 19:02 , Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:

> On 23/10/2015, Richard Smith <smithbone@gmail.com> wrote:
>> I have a shiny new Linksys WRT1900ACS to test.
>> 
>> I thought it might be nice to start with some comparisons of factory
>> firmware vs OpenWRT with sqm enabled.
>> 
>> So I built and installed an openwrt trunk but the results were very
>> non-impressive.  Rrul test reported mulit-seconds of latency and it was
>> equally non-impressive with sqm enabled or disabled.  So I assumed that
>> sqm in trunk on this device must not work yet.  Then I wondered how well
>> sqm in trunk was tested and that perhaps its broken for all devices.
>> 
>> So I tested openwrt trunk on my Netgear 3700v2 and saw the same results.
>> Then I tried openwrt cc and got the same results.
>> 
>> Finally, I went to the reference implementation: cerowrt 3.10.50-1 on my
>> 3700v2.  Same results.
>> 
>> So at this point I'm thinking there's a PEBKAC issue and I'm not really
>> turning it on.
>> 
>> Here's my enable procedure:
>> 
>> Go the sqm tab in the GUI and set egress and ingress to 10000, set the
>> interface to the upstream interface,  click enable, click save and
>> apply. Everything else is left at default. ie fq_codel and simple.qos.
> 
> Your description misses at least one step from the official how-to.
> May be worth checking:
> 
> Start and Enable the SQM scripts. To do this, choose System → Startup
>    Click Start to start the SQM process
>    Click Enable to start the SQM process when the route reboots
> 
> The how-to is here: http://wiki.openwrt.org/doc/howto/sqm

	The version in trunk and in CC as far as I know will automatically enable the “initab” if at least one sqm instance is set to enabled and that state is saved or saved&apply’d.

> 
> 
> The original qos-scripts definitely required that step.  IIRC, it's an
> openwrt convention that installing a package doesn't automatically
> enable its startup script.  However this wasn't strictly necessary for
> at least some drafts of the sqm code.  I don't know if the current
> version needs it or not.

	The current code should do that for you, but it might fail to do so. I note currenty sqm is quite terse about success or failure (one more thing on the secret todo list).

Best Regards
	Sebastian

> 
>> I've also tried a reboot after enabling those settings and then gone
>> back to the gui to verify they were still set.
>> 
>> My test setup:
>> 
>> Laptop<--1000BaseT-->DUT<--1000baseT-->Server
>> 
>> I run netperf-wrapper -H Server -l 30 rrul and look at the 'totals' or
>> 'all' plot.
>> 
>> If I run the above with this setup.
>> 
>> Laptop<--1000baseT-->Server
>> 
>> Then I get the expected 800-900Mbit/s with latencies < 15ms.  So I don't
>> think there's a problem with my test infrastructure.
>> 
>> What am I missing and or what's the next step in figuring out whats wrong?
>> 
>> --
>> Richard A. Smith
>> _______________________________________________
>> Cerowrt-devel mailing list
>> Cerowrt-devel@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo/cerowrt-devel
>> 
> 
> 
> -- 
> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>>> A: Top-posting.
>>>> Q: What is the most annoying thing in e-mail?
> _______________________________________________
> Cerowrt-devel mailing list
> Cerowrt-devel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cerowrt-devel


  parent reply	other threads:[~2015-10-23 17:45 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23 16:10 Richard Smith
2015-10-23 16:13 ` Dave Taht
2015-10-23 16:21   ` Rich Brown
2015-10-23 16:45     ` Richard Smith
2015-10-23 16:43   ` Richard Smith
2015-10-23 17:42     ` Sebastian Moeller
2015-10-23 17:15   ` David Lang
2015-10-23 17:02 ` Alan Jenkins
2015-10-23 17:30   ` Richard Smith
2015-10-23 17:50     ` Sebastian Moeller
2015-10-23 17:45   ` Sebastian Moeller [this message]
2015-10-23 17:22 ` Aaron Wood
2015-10-23 17:47   ` Sebastian Moeller
2015-10-23 17:48   ` Richard Smith
2015-10-23 17:57   ` David Lang
2015-10-23 19:08     ` Sebastian Moeller
2015-10-23 17:38 ` Sebastian Moeller
2015-10-23 18:05   ` Richard Smith
2015-10-23 18:41 ` Michael Richardson
2015-10-23 20:18   ` Richard Smith
2015-10-23 22:48     ` David P. Reed
2015-10-24  7:59       ` Sebastian Moeller
2015-10-23 22:51     ` Aaron Wood
2015-10-23 22:53     ` David P. Reed
2015-10-24  8:07       ` Sebastian Moeller
2015-10-24 16:34         ` David P. Reed
2015-10-24 16:52           ` Jonathan Morton
2015-10-24 18:58             ` David P. Reed
2015-10-25 23:21             ` David Lang
2015-10-26  9:53               ` Jonathan Morton
2015-10-24 17:24           ` Sebastian Moeller
2015-10-24 17:30             ` Aaron Wood
2015-10-24 10:20 ` Dave Taht
2015-10-24 17:21   ` Sebastian Moeller
2015-10-25 15:10     ` Richard Smith
2015-10-25 16:07       ` [Cerowrt-devel] Problems testing sqm (solved) Richard Smith
2015-10-25 17:36         ` Rich Brown
2015-10-25 20:02           ` Richard Smith
2015-10-25 20:33             ` Sebastian Moeller
2015-10-25 20:44               ` Richard Smith
2015-10-26 11:17                 ` Toke Høiland-Jørgensen
2015-10-26 12:35                   ` Richard Smith
2015-10-26 11:50             ` Dave Taht
2015-10-26 12:27               ` Richard Smith
2015-10-26 13:41                 ` Sebastian Moeller
2015-10-26 13:48                   ` Dave Taht
2015-10-26 18:15                     ` David Lang
2015-10-26 18:26                       ` Sebastian Moeller
2015-10-26 18:31                         ` David Lang
2015-10-26 21:01                     ` Richard Smith
2015-10-26 22:23                       ` Richard Smith
2015-10-26 13:50                   ` [Cerowrt-devel] ***UNCHECKED*** " Toke Høiland-Jørgensen
2015-10-26 14:30                     ` Sebastian Moeller
2015-10-26 21:54                       ` Richard Smith
2015-10-26 22:04                         ` Richard Smith
2015-10-25 20:07         ` [Cerowrt-devel] " Sebastian Moeller
2015-10-25 21:50         ` Jonathan Morton
2015-10-25 22:44           ` Richard Smith

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=C5256ECD-1AC9-4234-8DFC-5B94A78C4667@gmx.de \
    --to=moeller0@gmx.de \
    --cc=alan.christopher.jenkins@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    /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