Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] More on 'target' corner cases - rate/target/interval	confusion?
Date: Tue, 03 Nov 2015 13:46:39 +0100	[thread overview]
Message-ID: <87si4nntcg.fsf@toke.dk> (raw)
In-Reply-To: <5638A4F4.2010701@darbyshire-bryant.me.uk> (Kevin Darbyshire-Bryant's message of "Tue, 3 Nov 2015 12:13:40 +0000")

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> writes:

> Can someone please explain if the above is actually correct and why.
> i.e. I'm confused why voice traffic has a target latency of 72mS over
> a measurement interval of 1/2 second when I'd have thought keeping
> voice latency as low as possible would be the ideal. I'm sure I'm
> being exceptionally stupid so I await education please :-)

Well, I *think* this comes from the 1.5*MTU calculation. I.e. 1.5 * 1500
bytes at 250Kbps is 72 ms. And interval is adjusted to always be
8*target.

Now whether or not this is *correct* I'm not so sure about. The minimum
value set from the MTU is the Linux counterpart to the CoDel NS2 model's
"always keep one packet in the queue". The reasoning is, basically, that
there will be at least one packet in the layers below the qdisc which
we will have to wait for before we can dequeue; so CoDel shouldn't react
until queueing time goes *above* this minimum of waiting for one packet.

Now, in this case we have the rate limiter built right in to the qdisc,
so the queued packet will in fact *not* be in a layer below (because
that is probably going to be a link with a physical rate that is quite a
bit higher than what we're setting here; or if not, we're not doing the
MTU adjustment anyway). So it's not quite clear to me what the right
thing to do here is; as you rightly point out this leads to a very high
target for the VoIP queue which is not necessarily a good idea. Capping
the target before doing the per-tin calculation might be a better idea
(i.e. using the total bandwidth limit as the input to the calculation).
Will think about it some more.

-Toke

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

  parent reply	other threads:[~2015-11-03 12:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 12:13 Kevin Darbyshire-Bryant
2015-11-03 12:31 ` Dave Taht
2015-11-03 12:46 ` Toke Høiland-Jørgensen [this message]
2015-11-03 13:49   ` Sebastian Moeller
2015-11-03 13:56     ` Toke Høiland-Jørgensen
2015-11-03 14:10       ` Kevin Darbyshire-Bryant
2015-11-03 14:12         ` Toke Høiland-Jørgensen
2015-11-05 16:41           ` Kevin Darbyshire-Bryant
2015-11-08 10:19             ` Kevin Darbyshire-Bryant
2015-11-08 10:50               ` Toke Høiland-Jørgensen
2015-11-08 16:36               ` Jonathan Morton
2015-11-08 19:19                 ` Sebastian Moeller
2015-11-09 12:12                 ` Kevin Darbyshire-Bryant
2015-11-09 15:07                   ` Jonathan Morton
2015-11-09 20:46                     ` Kevin Darbyshire-Bryant
2015-11-16 12:22                     ` Kevin Darbyshire-Bryant
2015-11-16 12:41                       ` Jonathan Morton
2015-11-16 13:46                         ` Kevin Darbyshire-Bryant
2015-11-16 13:50                       ` Sebastian Moeller
2015-11-16 13:34                     ` Sebastian Moeller

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/cake.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=87si4nntcg.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=cake@lists.bufferbloat.net \
    --cc=kevin@darbyshire-bryant.me.uk \
    /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