General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: "Mark D." <mark4931@gmail.com>, bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] HardenedBSD implementation of CAKE
Date: Mon, 1 Mar 2021 16:59:50 -0800	[thread overview]
Message-ID: <CAA93jw4ZMv8Qns+i_yR=DG7-ZYE=se8=sVOYeJaU-2ruNb3cVg@mail.gmail.com> (raw)
In-Reply-To: <87h7mcb6t4.fsf@toke.dk>

to clarify fq_codel has been in freebsd for quite some time. I know
nothing about that bsd or other bsds, as soon as I saw a mbuf my brain
melted. But my hope would be it ports over to all the other bsds.

I would LOVE a cake dev (not me!) to partner up with a BSD dev or
three to port cake. It would take $ though. From somewhere.

cake is actually, in it's own way, more modular that fq_codel is, aside
from the nat hooks.  The 5 tuple hashing code can be leveraged from
BSD, as one example. My major doubting point about a port was the
resolution of the kernel clock. Linux has a high quality hirres clock,
BSDs didn't seem capable of scheduling on less than a 1ms tick at the
time I last paid attention.

but I could be wrong. Kept hoping that an implementation of packet
pacing would emerge from netflix's attempt to port BBR, at least.

Even more important in my mind for BSD is an implementation of BQL or
equivalent.

I think.

Even a version of cake without the integral shaper or BQL would be
interesting for bsd, and if someone could merely start the project,
well, who knows where it would lead... certainly I didn't know where
cake would end up when we started it, all I wanted was a faster
fq_codel....

On Tue, Feb 16, 2021 at 3:17 AM Toke Høiland-Jørgensen via Bloat
<bloat@lists.bufferbloat.net> wrote:
>
> "Mark D." <mark4931@gmail.com> writes:
>
> > Hello all,
> > I am wondering if anyone is working on implementing fq_codel or CAKE on the
> > HardenedBSD network stack? A few popular firewall and router distributions
> > use this OS, and I believe that it would be beneficial for it to have AQM.
> > If this work has already been done, please point me to the documentation
> > for it. I loved what fq_codel was able to do on my OpenWRT flashed
> > off-the-shelf router, and I would love to be able to use it on my x86
> > OPNSense box. I am not a developer, but am a user that would love to
> > support both the CAKE project and the HardenedBSD project if possible.
>
> Not aware of any effort in this direction. However, the code in the
> Linux kernel is dual-licensed GPL/BSD so at least there should be no
> licensing impediments to porting. I believe that is how fq_codel ended
> up in BSD.
>
> CAKE does rely on quite a few kernel internals, though, so it would take
> someone with integral BSD kernel knowledge to port it to their
> equivalents there; in that sense it's not a trivial project...
>
> -Toke
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat



-- 
"For a successful technology, reality must take precedence over public
relations, for Mother Nature cannot be fooled" - Richard Feynman

dave@taht.net <Dave Täht> CTO, TekLibre, LLC Tel: 1-831-435-0729

  reply	other threads:[~2021-03-02  1:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16  5:46 Mark D.
2021-02-16 11:17 ` Toke Høiland-Jørgensen
2021-03-02  0:59   ` Dave Taht [this message]
2021-03-02 10:53     ` Jonathan Morton

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

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

  git send-email \
    --in-reply-to='CAA93jw4ZMv8Qns+i_yR=DG7-ZYE=se8=sVOYeJaU-2ruNb3cVg@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=mark4931@gmail.com \
    --cc=toke@toke.dk \
    /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