Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] Cobalt Initial Target Value
@ 2017-04-15  8:50 Harsh Lara
  2017-04-15 14:54 ` Jonathan Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Harsh Lara @ 2017-04-15  8:50 UTC (permalink / raw)
  To: cake

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

Hi Jonathan,

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.

Also, is there any recommended value for target?

Thanks
Harsh

<#>

[-- Attachment #2: Type: text/html, Size: 748 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Cake] Cobalt Initial Target Value
  2017-04-15  8:50 [Cake] Cobalt Initial Target Value Harsh Lara
@ 2017-04-15 14:54 ` Jonathan Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Morton @ 2017-04-15 14:54 UTC (permalink / raw)
  To: Harsh Lara; +Cc: cake


> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-15 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-15  8:50 [Cake] Cobalt Initial Target Value Harsh Lara
2017-04-15 14:54 ` Jonathan Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox