CoDel AQM discussions
 help / color / mirror / Atom feed
* [Codel] Do codel or fq-codel need to know the link bandwidth?
@ 2024-12-07 21:27 Evan Mesterhazy
  2024-12-07 22:25 ` Dave Taht
  2024-12-08  2:53 ` Jonathan Morton
  0 siblings, 2 replies; 5+ messages in thread
From: Evan Mesterhazy @ 2024-12-07 21:27 UTC (permalink / raw)
  To: codel

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

As far as I can tell, the fq-codel algorithm (
https://www.rfc-editor.org/rfc/rfc8290.html) doesn't use link bandwidth as
a parameter. From reading the description, it seems like it should be able
to work without knowing the link bandwidth since it decides to drop packets
based on the amount of time they have waited in a queue. In fact, the
original codel rfc (https://www.rfc-editor.org/rfc/rfc8289#section-4.1)
even says that it's designed to be non-starving and work over variable
bandwidth links.

However, I have noticed that the commercial implementations for at least
two firewalls that I have used (OPNsense and a Unifi gateway) both require
the user to input the upload and download bandwidths of the link.

In OPNsense I tried setting the bandwidth to a large number above the
actual link bandwidth and then manually setting the fq-codel parameters to
their Linux defaults, but that resulted in poor performance. My concern, of
course, is that I'm leaving throughput on the table by artificially
limiting the bandwidth at a value that may be less than the actual
available bandwidth depending on the time of day, etc.

I'm not sure what exactly OPNsense is doing with the bandwidth parameters,
and I've asked on its forum (
https://forum.opnsense.org/index.php?topic=44501.0). My question for all of
you is whether I am misunderstanding something about fq-codel. Does it need
to be configured with the link bandwidth, or can it work nicely in its
default configuration with variable bandwidth links (let's consider a
typical home fiber connection between 300 and 1000 Mbps).

Thanks for any insight you can share.

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

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

end of thread, other threads:[~2024-12-08  2:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-07 21:27 [Codel] Do codel or fq-codel need to know the link bandwidth? Evan Mesterhazy
2024-12-07 22:25 ` Dave Taht
2024-12-07 22:31   ` Dave Taht
2024-12-07 22:57     ` Evan Mesterhazy
2024-12-08  2:53 ` Jonathan Morton

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