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: Jonathan Morton <chromatix99@gmail.com>,
	cerowrt-devel <cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't
Date: Fri, 19 Jun 2015 22:37:14 +0200	[thread overview]
Message-ID: <AF42F2EE-9B84-4F1E-AB6F-3B6F6C40EE78@gmx.de> (raw)
In-Reply-To: <CANmMgnFLypimDR1Hn8w4WW-UNqxZny8UL4O0C+cD_0+Y_ZTfgw@mail.gmail.com>

Hi Alan,

On Jun 19, 2015, at 19:35 , Alan Jenkins <alan.christopher.jenkins@gmail.com> wrote:

> On 19/06/2015, Sebastian Moeller <moeller0@gmx.de> wrote:
>> Hi Alan,
>> 
>> excellent, thanks a million.
>> 
>> On Jun 19, 2015, at 16:44 , Alan Jenkins
>> <alan.christopher.jenkins@gmail.com> wrote:
>> 
>>> Hi
>>> 
>>> I guess I've done the complementary half to Seb's test :).  Basically
>>> "cake overhead 40" didn't work, but that's the fault of cake in this
>>> build.  Or tc, as Johnathan suggested.  (The "cake atm" part seems to
>>> work, as per my previous test).
>> 
>> 	Great!
>> 
>>> 
>>> "tc qdisc" says "cake overhead 0", as Sebastian noticed.  And the test
>>> results show "cake overhead 40" does not give a measurable
>>> improvement.  But "tc stab overhead 40" does.
>>> 
>>> I ran this test with the updated sqm-scripts and I think they're doing
>>> the right thing.
>> 
>> 	Thanks for testing this, especially as I can not due to a lack of an
>> ADSL-link (and lack of cake actually, last I looked all I could find was
>> cookies in my browser and a promise of pie in my router)
>> 
>>> 
>>> 
>>> Method:
>>> 
>>> I used the updated files from sqm-scripts,
>>> 
>>> (once I remembered to mark them executable.  Lacking that causes a
>>> failure with no error messages, because sqm-scripts checks before
>>> running them :)
>>> 
>>> but didn't bother updating & using luci-app-sqm.
>> 
>> 	Ah, okay, I guess I did test this part with Dave’s help, so this should
>> work with the most recent sqm.lua.
>> 
>>> 
>>> The test was to compare netperf-runner results - ping during combined
>>> upload & download - for "overhead 40" and "overhead 0".  I tested both
>>> values of linklayer_adaptation_mechanism.
>>> 
>>> I had to repeat 6 times (60s per run for each overhead) because of
>>> random variation in the range of 3-4ms.  I alternated "overhead 40"
>>> and "overhead 0" to try and exclude longer-term variation effects.
>>> 
>>> With "stab overhead 40", median latency was better by about 3-4ms.
>>> With "cake overhead 40", there is no such effect.
>> 
>> 	Intersting, when I still had a 6M/1M ADSL link, I saw much larger latency
>> under load increases when setting the per packet overhead to small, but I
>> had my egress shaper running at 100% of line rate, so the system was rigged
>> for maximum effect that way. How are your shapers typically set?
> 
> For this test I try to push it, today I used 95%.  I started trying
> 100%, which is still much better than unshaped.  I was scared off by
> the random variation, I think it was higher at 100%.

	Fair enough, but only at 100% you will notice if the overhead is off by a single byte… You are running sqm on the pppoe interface, correct?

> 
> For long term use I reduce it, because I've seen the line rate vary
> slightly.  (1020k up today, 912 a while back.  Currently it reports a
> "max" figure I don't understand, it's about 1100 despite being
> rebooted daily.  16390k down).

	A pity that your line is that flaky, but it only differs between reboots and does not change during the day? As far as I know only SRA would allow rate changes while the sync stays up. So you either have unscheduled resyncs during the day which drag in a rate change or between days. Anyway aiming with the shaper rate at below the best case sync seems wise unless you want to fiddle with modem and router daily. (It would be sweet if one could query the actual sync speed from XDSL-modems from the LAN side in a standardized fashion, so sqm could learn to set the shaper automatically).

Best Regards
	Sebastian

> 
> Alan


      parent reply	other threads:[~2015-06-19 20:37 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-19 14:44 Alan Jenkins
2015-06-19 16:41 ` Sebastian Moeller
2015-06-19 17:35   ` Alan Jenkins
2015-06-19 20:12     ` Dave Taht
2015-06-19 20:40       ` Alan Jenkins
2015-06-19 20:51         ` Dave Taht
2015-06-19 20:57           ` Dave Taht
2015-06-19 20:57           ` Alan Jenkins
2015-06-19 21:06             ` Dave Taht
2015-06-19 21:24               ` Dave Taht
2015-06-19 21:52                 ` Luis E. Garcia
2015-06-19 23:32                   ` Dave Taht
2015-06-20  5:52                   ` Sebastian Moeller
2015-06-23  2:41                 ` Jim Reisert AD1C
2015-06-23  7:20                   ` Sebastian Moeller
2015-06-23 12:55                     ` [Cerowrt-devel] performance numbers from WRT1200AC (Re: Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't) Mikael Abrahamsson
2015-06-23 14:09                       ` Dave Taht
2015-06-23 17:25                       ` Sebastian Moeller
2015-06-23 18:15                         ` Jonathan Morton
2015-06-24  5:21                           ` Mikael Abrahamsson
2015-06-24  5:19                         ` Mikael Abrahamsson
2015-06-24 11:31                         ` Mikael Abrahamsson
2015-06-24 16:32                           ` Dave Taht
2015-06-25  1:53                             ` Aaron Wood
2015-06-25  3:07                               ` Mikael Abrahamsson
2015-06-25  3:32                                 ` Aaron Wood
2015-06-25  9:12                             ` Mikael Abrahamsson
2015-06-25 10:26                               ` Mikael Abrahamsson
2015-06-25 20:13                               ` Dave Taht
2015-06-25 20:16                                 ` Dave Taht
2015-06-25 20:24                                 ` Toke Høiland-Jørgensen
2015-06-25 22:14                                   ` Dave Taht
2015-06-26  6:58                                   ` Mikael Abrahamsson
2015-06-26  7:12                                 ` Mikael Abrahamsson
2015-06-26  9:46                           ` Sebastian Moeller
2015-06-26 12:26                             ` Mikael Abrahamsson
2015-06-26 14:17                               ` Sebastian Moeller
2015-06-26 14:49                               ` Mikael Abrahamsson
2015-06-26 16:18                                 ` Jonathan Morton
2015-06-26 16:31                                   ` Mikael Abrahamsson
2015-06-26 16:35                                     ` Jonathan Morton
2015-06-26 17:04                                       ` Dave Taht
2015-06-26 18:24                                         ` Dave Taht
2015-06-26 18:38                                           ` Mikael Abrahamsson
2015-06-26 18:58                                             ` Dave Taht
2015-06-26 18:59                                               ` Dave Taht
2015-06-26 19:11                                                 ` Mikael Abrahamsson
2015-06-26 19:13                                                   ` Dave Taht
2015-06-27  5:03                                               ` Mikael Abrahamsson
2015-06-27  5:18                                                 ` Dave Taht
2015-06-27  5:50                                                   ` Mikael Abrahamsson
2015-06-27 17:59                                                     ` Dave Taht
2015-06-27 18:23                                                       ` Mikael Abrahamsson
2015-06-27 18:52                                                         ` Dave Taht
2015-06-27 23:13                                                       ` Sebastian Moeller
2015-06-28  7:06                                                   ` Mikael Abrahamsson
2015-06-28  8:23                                                     ` Sebastian Moeller
2015-06-28 10:29                                                       ` Mikael Abrahamsson
2015-06-28 17:04                                                         ` Sebastian Moeller
2015-06-28 17:32                                                           ` Mikael Abrahamsson
2015-06-28 17:58                                                             ` Jonathan Morton
2015-06-28 18:04                                                               ` Dave Taht
2015-06-28 18:55                                                                 ` Sebastian Moeller
2015-06-28 19:17                                                                   ` Mikael Abrahamsson
2015-06-28 19:24                                                                     ` Sebastian Moeller
2015-06-28 20:48                                                                       ` Mikael Abrahamsson
2015-06-28 21:23                                                                         ` Sebastian Moeller
2015-06-29  4:58                                                                           ` Mikael Abrahamsson
2015-06-29  5:11                                                                             ` Mikael Abrahamsson
2015-06-29  7:46                                                                               ` Sebastian Moeller
2015-06-29  7:54                                                                                 ` Mikael Abrahamsson
2015-06-29  7:56                                                                                   ` Sebastian Moeller
2015-06-29  8:10                                                                                   ` Sebastian Moeller
2015-06-29  8:17                                                                                     ` Mikael Abrahamsson
2015-06-29  8:24                                                                                       ` Sebastian Moeller
2015-06-29  7:44                                                                             ` Sebastian Moeller
2015-06-29  8:09                                                                               ` Mikael Abrahamsson
2015-06-29  8:34                                                                                 ` Sebastian Moeller
2015-06-29  8:42                                                                                 ` Sebastian Moeller
2015-06-29  9:12                                                                                   ` Mikael Abrahamsson
2015-06-29 10:09                                                                                     ` Toke Høiland-Jørgensen
2015-06-29 13:00                                                                                       ` Mikael Abrahamsson
2015-06-29 13:34                                                                                         ` Sebastian Moeller
2015-06-29 13:46                                                                                           ` dpreed
2015-06-29 16:45                                                                                             ` Jonathan Morton
2015-06-30 13:58                                                                                             ` [Cerowrt-devel] Build instructions for regular OpenWRT with Ceropackages Mikael Abrahamsson
2015-06-30 16:20                                                                                               ` dpreed
2015-06-30 19:58                                                                                                 ` Mikael Abrahamsson
2015-07-01  8:23                                                                                                   ` David Lang
2015-07-01 10:32                                                                                                     ` Mikael Abrahamsson
2015-07-01 11:55                                                                                                       ` Sebastian Moeller
2015-07-01 15:37                                                                                                   ` dpreed
2015-06-29 13:42                                                                                         ` [Cerowrt-devel] performance numbers from WRT1200AC (Re: Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't) Sebastian Moeller
2015-06-29 16:44                                                                                           ` Dave Taht
2015-06-29 18:24                                                                                             ` Sebastian Moeller
2015-06-29 22:15                                                                                             ` Mikael Abrahamsson
2015-06-29 22:49                                                                                             ` Mikael Abrahamsson
2015-06-30  8:00                                                                                             ` Mikael Abrahamsson
2015-06-30  9:40                                                                                               ` Mikael Abrahamsson
2015-07-02 15:33                                                                                                 ` Mikael Abrahamsson
2015-07-02 15:39                                                                                                   ` Toke Høiland-Jørgensen
2015-07-02 15:43                                                                                                     ` Mikael Abrahamsson
2015-07-02 15:47                                                                                                       ` Toke Høiland-Jørgensen
2015-07-02 16:06                                                                                                         ` dpreed
2015-07-02 19:12                                                                                                           ` Mikael Abrahamsson
2015-07-07  1:07                                                                                                           ` David Lang
2015-07-02 16:09                                                                                                         ` Rich Brown
2015-07-02 16:12                                                                                                           ` Toke Høiland-Jørgensen
2015-07-03 11:38                                                                                                   ` Mikael Abrahamsson
2015-06-29  6:12                                                                       ` Mikael Abrahamsson
2015-06-28 18:48                                                             ` Sebastian Moeller
2015-06-26 16:34                                   ` Dave Taht
2015-06-26 16:27                                 ` Sebastian Moeller
2015-06-26 16:36                                   ` Mikael Abrahamsson
2015-06-26 16:43                                     ` Dave Taht
2015-06-26 17:01                                       ` Mikael Abrahamsson
2015-06-23 14:35                     ` [Cerowrt-devel] Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't Jim Reisert AD1C
2015-06-23 14:40                       ` Dave Taht
2015-06-19 20:37     ` Sebastian Moeller [this message]

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=AF42F2EE-9B84-4F1E-AB6F-3B6F6C40EE78@gmx.de \
    --to=moeller0@gmx.de \
    --cc=alan.christopher.jenkins@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    /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