All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <adf.lists@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: Problem with HTB bandwidth slicing when using TCP traffic
Date: Mon, 14 Apr 2014 22:40:45 +0000	[thread overview]
Message-ID: <534C63ED.60402@gmail.com> (raw)
In-Reply-To: <CANKY2SQknuLgRZX6AmAU2KUN+5n_ZCCZeH6O13zGh1hHBXeSJA@mail.gmail.com>

Dave Taht wrote:
> On Sun, Apr 13, 2014 at 12:43 PM, Andy Furniss <adf.lists@gmail.com>
> wrote:

> At rates below 3Mbit fq_codel needs a bit a tweaking we've
> discovered, basically it helps to have a "target" parameter > the
> cost of a single MTU's packet - e.g at 1Mbit, we tend to use a target
> of 15 and an interval of 150, .5mbit 30, 300. Above 4mbit target and
> interval are fine with the defaults.
>
> Changing the default quantum helps also at rates below 40Mbit - we
> use 300.

Interesting info, thanks.

> For way more detail on how this stuff works,
>
> http://www.bufferbloat.net/projects/cerowrt/wiki/Wondershaper_Must_Die

Hmm, while I agree policers are often crap and wondershaper should have
died or at least had the glaring htb misconfiguration fixed, the author
went incommunicado so it didn't happen.

To be fair to him, htb wasn't even in kernel at the time so it was just
a port of the CBQ script - I assume this is the reason.

It's a bit strange that the script is critically commented, is not
vanilla wondershaper (extra class thus making the configuration error
worse), but there is no mention of it.

"It" being that rates on htb leafs are not limited by the parent, so
when all classes are loaded it's way over the line rate.

As for fq_codel - it's good, but it wouldn't tempt me to bung my 
interactive in with bulk.


  parent reply	other threads:[~2014-04-14 22:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10 19:17 Problem with HTB bandwidth slicing when using TCP traffic Slavica Tomovic
2014-04-10 22:48 ` Andy Furniss
2014-04-12 10:20 ` Slavica Tomovic
2014-04-13 19:43 ` Andy Furniss
2014-04-13 20:17 ` Dave Taht
2014-04-14  1:30 ` Horace
2014-04-14 22:40 ` Andy Furniss [this message]
2014-04-14 22:50 ` 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

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

  git send-email \
    --in-reply-to=534C63ED.60402@gmail.com \
    --to=adf.lists@gmail.com \
    --cc=lartc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.