Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Jonathan Morton <chromatix99@gmail.com>
To: Harsh Lara <harshapplefan@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Cobalt Initial Target Value
Date: Sat, 15 Apr 2017 17:54:12 +0300	[thread overview]
Message-ID: <B5BC36DC-9743-4B41-A8CE-2BE906111EA6@gmail.com> (raw)
In-Reply-To: <CAMXaqQO7PVE5NAEC3EO1d08v=_Je=kCeVYeEJe9mHbw65aEBmw@mail.gmail.com>


> On 15 Apr, 2017, at 11:50, Harsh Lara <harshapplefan@gmail.com> wrote:
> 
> I was reading the code for the Linux implementation of COBALT. I wanted to know where the target queue delay is being set initially in the code.

Both ‘target’ and ‘interval’ are treated as parameters to COBALT in the same way as for Codel.  They are thus normally initialised in cake_set_rate(), rather than in COBALT itself.

> Also, is there any recommended value for target?

As a rule of thumb, set ‘interval’ to your expected average path RTT (assume 100ms for general Internet traffic) and ‘target’ to 1/20th of that.

However, ‘target’ should also be high enough to permit ordinary serialisation delay of an MTU-sized packet without triggering the AQM.  This clamping is part of what cake_set_rate() does, ensuring ‘target' corresponds to at least 1.5 MTUs at the shaped rate.

 - Jonathan Morton


      reply	other threads:[~2017-04-15 14:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-15  8:50 Harsh Lara
2017-04-15 14:54 ` Jonathan Morton [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/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=B5BC36DC-9743-4B41-A8CE-2BE906111EA6@gmail.com \
    --to=chromatix99@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=harshapplefan@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