From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 1343B3B29E for ; Mon, 1 Mar 2021 20:00:03 -0500 (EST) Received: by mail-io1-xd29.google.com with SMTP id 81so16278728iou.11 for ; Mon, 01 Mar 2021 17:00:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=NYGUitIJ/xGFUOiI7wu0EzLDTl0/cvnfZ9lltDk8Qpw=; b=dqDoEPOyvAL6FdiVYB2AxjxVqIElPXIWoz7JzQYKgvr/LXiQQICKs1uuHPq6H3Xiew ErJJlv5h+Lh5e5GOXwz9u1eK+9rMdKY8PPPBHNh+rBOe2kGoFSXNb7EYNcpD2dt8RPMc YChOkj8Bm3O6Wo/9i937D98tnjtGWre0J2Vivf8PRV0I5d9tyY+IThMaIaCMkp72O9ib g+eica2+OhEeEpih8fE3QhO3RpXl2YbRTaPE7DPBnzIZSix0/MaeMHJNIpi/viIoDWI0 qRYsdNbV6ni4jWZjm3j0XK3dM1tqoqLHe3hlIEH+JqEvMyl2X6VSBBh42JInfh5v89Y1 iavw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=NYGUitIJ/xGFUOiI7wu0EzLDTl0/cvnfZ9lltDk8Qpw=; b=Hmbmuwy8j3d4I5fj49UYkT7Ts2LIZ9clzRP1LTshXtx76hAXr7WmR8/DuUPdLSH+Qz vwL87H5oSV0dp3/y3psUc6htYfQREs7IXOGHY/lkmHt3BSpsDUFor0pgOPEdY/MDwKrc OD68mUalw9VK/OxYtwjQ+LbJ0pxhp+SZcBPrUgW3UY2MOo4N2YqtwL6xo4/8EDN03/q0 KiqE2x1Tl2bnWooXlp9kojpDekws5sY+ETzUb6qrYWQwYnxKvwl0UKkHorjxuRksAaQp d5NQErAsKBM+aTYBeb2wJ/OtZEurhjZmrjzVsCw2dS7glMGh7c68To+9p53g3szSDMTU 5lng== X-Gm-Message-State: AOAM531RcCNKg3wzaYM6IBZlwFhZ1DLFQcpmA6qwr2f04aqj6zFuc0Yi Y0RqFB+n8mrSUg1iuf701rmAZxftbgGB2UK6L3Q= X-Google-Smtp-Source: ABdhPJxq00N7wvzfZah+9NjXbkCJUM8KCZoKf7FENa/lu9hCJHrzQ1KLITh9QnkokGdweDDW5HfIZeGsLQOiGvwPRz0= X-Received: by 2002:a5d:9641:: with SMTP id d1mr15822105ios.123.1614646802374; Mon, 01 Mar 2021 17:00:02 -0800 (PST) MIME-Version: 1.0 References: <87h7mcb6t4.fsf@toke.dk> In-Reply-To: <87h7mcb6t4.fsf@toke.dk> From: Dave Taht Date: Mon, 1 Mar 2021 16:59:50 -0800 Message-ID: To: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= Cc: "Mark D." , bloat Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Bloat] HardenedBSD implementation of CAKE X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 01:00:03 -0000 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=C3=B8iland-J=C3=B8rgensen via Bloat wrote: > > "Mark D." 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 distributi= ons > > use this OS, and I believe that it would be beneficial for it to have A= QM. > > If this work has already been done, please point me to the documentatio= n > > 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 --=20 "For a successful technology, reality must take precedence over public relations, for Mother Nature cannot be fooled" - Richard Feynman dave@taht.net CTO, TekLibre, LLC Tel: 1-831-435-0729