From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 ECDB821F415 for ; Fri, 23 Oct 2015 10:02:57 -0700 (PDT) Received: by qkbl190 with SMTP id l190so82021108qkb.2 for ; Fri, 23 Oct 2015 10:02:56 -0700 (PDT) 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=TYgkm2QWr0Nn7JKThH2EAFYxo3BDCXuV8dD/vzl7rG0=; b=hIArnNe4cNfgBY20++mNSRNYUfZ00yJKlmhyjNuyIRWplM7y08udHAtdpBXuuccNt4 xz/myeYaPBbiW184XMO6tlTYrnxRtMUTaoBMqPdMPoPJC2POQO/xIutYyAqKd3JEw/ag Qt7gvP47ZZvS/15pf7ZecKAmQi6L6I59I5qB8eIv4ybpgHHAL4IetLw9gb/bCWEoolGT lEDbGbvRH4aGFLjDOmgjot7ESssNJbovQMvZZG+kdZP2GajKf2ijLuM6E6AzZV9ACMkN x3l2Pj4eYF0LDJjtxCOrteGFZhdR3bR6yOc5NEV02xXaZ2taDQ5m8nwZCtRnyoEvkf4p 0qdQ== MIME-Version: 1.0 X-Received: by 10.55.203.132 with SMTP id u4mr26729887qkl.71.1445619776646; Fri, 23 Oct 2015 10:02:56 -0700 (PDT) Received: by 10.140.85.20 with HTTP; Fri, 23 Oct 2015 10:02:56 -0700 (PDT) In-Reply-To: <562A5BE5.6010101@gmail.com> References: <562A5BE5.6010101@gmail.com> Date: Fri, 23 Oct 2015 18:02:56 +0100 Message-ID: From: Alan Jenkins To: Richard Smith Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] Problems testing sqm 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, 23 Oct 2015 17:03:20 -0000 On 23/10/2015, Richard Smith 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 =E2=86=92 Star= tup 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 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. > 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 > --=20 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?