Re: [Cake] Ubiquity (Unifi ) Smart Queues

2024-01-09 Thread Nils Andreas Svee via Cake
Well my NIC has 4 queues as far as I can tell, so it could likely work, but as 
you say it’s like killing a mosquito with a gatling gun.

Those graphs are sweet though, and it’s been in my backlog for awhile to do 
something with Grafana to get something similar, like this one from a few years 
ago you’ve seen too: https://forum.openwrt.org/t/sqm-reporting/59960/96

Best Regards,
Nils Andreas Svee

> On Jan 9, 2024, at 18:17, Dave Taht  wrote:
> 
> Principal limitation for libreqos on a small box is has to have
> multiple hardware queues and support eBPF.
> 
> Seriously folks, running libreqos at home is *serious overkill*,
> although I have to admit the traffic graphs are mesmerizing!!! One of
> our ISPs has been setting them to music:
> https://www.youtube.com/@trendaltoews7143
> 
> Herbert has been working on adding all sorts of other analytics to it also.
> 
> On Tue, Jan 9, 2024 at 12:07 PM dave seddon  wrote:
>> 
>> Nils - I guess you could run LibreQoS on N100?
>> 
>> On Tue, Jan 9, 2024 at 8:57 AM Nils Andreas Svee via Cake 
>>  wrote:
>>> 
>>> On Jan 9, 2024, at 17:05, Dave Taht  wrote:
>>> 
>>> On Tue, Jan 9, 2024 at 10:40 AM Nils Andreas Svee via Cake
>>>  wrote:
>>> 
>>> Though frankly, I don’t plan on updating the sch_cake and tc binaries when 
>>> new firmwares are released anymore, as they don’t publish the GPL archives 
>>> on their webpage after the redesign, and they don’t respond to requests for 
>>> them either by the looks of the forums. So if it breaks there’s not much I 
>>> can do anymore.
>>> 
>>> 
>>> This irks me enormously. It is the direct outcome of the cambium
>>> elevate lawsuit, where both companies lost, the ISPs lost, open source
>>> practices long established about publishing sources, lost, and the
>>> lawyers went on to other nasty things leaving this trail of awful
>>> precedents  in their wake.
>>> 
>>> https://www.mtin.net/blog/ubnt-vs-cambium/
>>> 
>>> Wow, hadn’t read about that. They even sued an ISP just for using Cambium’s 
>>> software on their hardware?
>>> That is crazy, just evil corporate lawyers doing their thing I guess.
>>> 
>>> I do not know what to do about it. It also irks me that as a
>>> contributor to "smart queues" they are not maintaining it well.
>>> 
>>> It leaves something to be desired yes, and I would’ve hoped to see CAKE 
>>> included too of course,
>>> but even WireGuard is only available in the latest release candidates with 
>>> the redesigned web UI, so I’m not holding my breath.
>>> 
>>> I still have an EdgeRouter 4 that serves the family farm and one of the 
>>> 8-port switches under my desk, if only because I don’t wanna spend money on 
>>> replacing them, and they do serve their purpose.
>>> 
>>> I’ve since moved though, and now live in an area that has FTTH, so I needed 
>>> something beefier to handle CAKE on a 750/750 subscription, because 
>>> obviously there’s still bloat even on that ;)
>>> 
>>> One of those Chinese boxes with a N100 in it and OpenWrt on top works 
>>> wonders :)
>>> 
>>> Best Regards,
>>> Nils Andreas Svee
>>> ___
>>> Cake mailing list
>>> Cake@lists.bufferbloat.net
>>> https://lists.bufferbloat.net/listinfo/cake
>> 
>> 
>> 
>> --
>> Regards,
>> Dave Seddon
>> +1 415 857 5102
> 
> 
> 
> -- 
> 40 years of net history, a couple songs:
> https://www.youtube.com/watch?v=D9RGX6QFm5E
> Dave Täht CSO, LibreQos

___
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake


Re: [Cake] Ubiquity (Unifi ) Smart Queues

2024-01-09 Thread Nils Andreas Svee via Cake
I probably could, but it seems *a bit* more complex than I need more my little 
home network? ;)

Best Regards,
Nils Andreas Svee

> On Jan 9, 2024, at 18:07, dave seddon  wrote:
> 
> Nils - I guess you could run LibreQoS on N100?
> 
> On Tue, Jan 9, 2024 at 8:57 AM Nils Andreas Svee via Cake 
> mailto:cake@lists.bufferbloat.net>> wrote:
>>> On Jan 9, 2024, at 17:05, Dave Taht >> <mailto:dave.t...@gmail.com>> wrote:
>>> 
>>> On Tue, Jan 9, 2024 at 10:40 AM Nils Andreas Svee via Cake
>>> mailto:cake@lists.bufferbloat.net>> wrote:
>>> 
>>>> Though frankly, I don’t plan on updating the sch_cake and tc binaries when 
>>>> new firmwares are released anymore, as they don’t publish the GPL archives 
>>>> on their webpage after the redesign, and they don’t respond to requests 
>>>> for them either by the looks of the forums. So if it breaks there’s not 
>>>> much I can do anymore.
>>> 
>>> This irks me enormously. It is the direct outcome of the cambium
>>> elevate lawsuit, where both companies lost, the ISPs lost, open source
>>> practices long established about publishing sources, lost, and the
>>> lawyers went on to other nasty things leaving this trail of awful
>>> precedents  in their wake.
>>> https://www.mtin.net/blog/ubnt-vs-cambium/
>> Wow, hadn’t read about that. They even sued an ISP just for using Cambium’s 
>> software on their hardware?
>> That is crazy, just evil corporate lawyers doing their thing I guess.
>> 
>>> I do not know what to do about it. It also irks me that as a
>>> contributor to "smart queues" they are not maintaining it well.
>> It leaves something to be desired yes, and I would’ve hoped to see CAKE 
>> included too of course,
>> but even WireGuard is only available in the latest release candidates with 
>> the redesigned web UI, so I’m not holding my breath.
>> 
>> I still have an EdgeRouter 4 that serves the family farm and one of the 
>> 8-port switches under my desk, if only because I don’t wanna spend money on 
>> replacing them, and they do serve their purpose.
>> 
>> I’ve since moved though, and now live in an area that has FTTH, so I needed 
>> something beefier to handle CAKE on a 750/750 subscription, because 
>> obviously there’s still bloat even on that ;)
>> 
>> One of those Chinese boxes with a N100 in it and OpenWrt on top works 
>> wonders :)
>> 
>> Best Regards,
>> Nils Andreas Svee
>> ___
>> Cake mailing list
>> Cake@lists.bufferbloat.net <mailto:Cake@lists.bufferbloat.net>
>> https://lists.bufferbloat.net/listinfo/cake
> 
> 
> --
> Regards,
> Dave Seddon
> +1 415 857 5102

___
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake


Re: [Cake] Ubiquity (Unifi ) Smart Queues

2024-01-09 Thread Nils Andreas Svee via Cake
> On Jan 9, 2024, at 17:05, Dave Taht  wrote:
> 
> On Tue, Jan 9, 2024 at 10:40 AM Nils Andreas Svee via Cake
> mailto:cake@lists.bufferbloat.net>> wrote:
> 
>> Though frankly, I don’t plan on updating the sch_cake and tc binaries when 
>> new firmwares are released anymore, as they don’t publish the GPL archives 
>> on their webpage after the redesign, and they don’t respond to requests for 
>> them either by the looks of the forums. So if it breaks there’s not much I 
>> can do anymore.
> 
> This irks me enormously. It is the direct outcome of the cambium
> elevate lawsuit, where both companies lost, the ISPs lost, open source
> practices long established about publishing sources, lost, and the
> lawyers went on to other nasty things leaving this trail of awful
> precedents  in their wake.
> https://www.mtin.net/blog/ubnt-vs-cambium/
Wow, hadn’t read about that. They even sued an ISP just for using Cambium’s 
software on their hardware?
That is crazy, just evil corporate lawyers doing their thing I guess.

> I do not know what to do about it. It also irks me that as a
> contributor to "smart queues" they are not maintaining it well.
It leaves something to be desired yes, and I would’ve hoped to see CAKE 
included too of course,
but even WireGuard is only available in the latest release candidates with the 
redesigned web UI, so I’m not holding my breath.

I still have an EdgeRouter 4 that serves the family farm and one of the 8-port 
switches under my desk, if only because I don’t wanna spend money on replacing 
them, and they do serve their purpose.

I’ve since moved though, and now live in an area that has FTTH, so I needed 
something beefier to handle CAKE on a 750/750 subscription, because obviously 
there’s still bloat even on that ;)

One of those Chinese boxes with a N100 in it and OpenWrt on top works wonders :)

Best Regards,
Nils Andreas Svee___
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake


Re: [Cake] Ubiquity (Unifi ) Smart Queues

2024-01-09 Thread Nils Andreas Svee via Cake
You’re unlikely to do any real harm though, but the warning is there cause you 
can potentially soft brick your router using it. I’ve run into that myself if I 
remember correctly, where after a firmware upgrade the kernel had slightly 
changed, so loading the sch_cake module caused it to panic. And I had it start 
through /config/scripts/post-config.d of course, so it would happen on every 
restart.

Nothing a factory reset won’t solve, but annoying when if you’re messing about 
remotely :)

As for USG, I think I used to have some binaries for those too. I do still have 
some old kernel sources for them laying around in a repo.
It’s been awhile, but I probably stopped building for those as it wasn’t as 
straightforward to keep up with the versions of the firmware.

Though frankly, I don’t plan on updating the sch_cake and tc binaries when new 
firmwares are released anymore, as they don’t publish the GPL archives on their 
webpage after the redesign, and they don’t respond to requests for them either 
by the looks of the forums. So if it breaks there’s not much I can do anymore.

Best Regards,
Nils Andreas Svee

> On Jan 3, 2024, at 14:44, Pete Heist via Cake  
> wrote:
> 
> On Tue, 2024-01-02 at 10:59 -0800, dave seddon via Cake wrote:
>> I thought people might be interested to see what Ubiquity/Unifi is
>> doing with "Smart Queues" on their devices.  The documentation on
>> their website is not very informative.
>> 
>> "Smart Queue" Implementation
>> 
>> Looks like they only apply tc qdiscs to the Eth2, and sadly this is
>> NOT cake, but fq_codel.
>> 
>> And cake isn't available :(
>> 
>> root@USG-Pro-4:~# tc qdisc replace dev eth0 cake bandwidth 100m rtt
>> 20ms
>> Unknown qdisc "cake", hence option "bandwidth" is unparsable
> 
> Hi Dave, there's a community contributed version of Cake for EdgeRouter
> devices that I've been using for years on production ER-X's:
> 
> https://community.ui.com/questions/Cake-compiled-for-the-EdgeRouter-devices/fc1ff27c-f321-4344-8737-fcc755cae8a2
> 
> I don't think that works for UniFi/USG devices, however, and one should
> note the disclaimer and be careful when installing it. Also, it must be
> re-installed after every upgrade.
> 
> Cheers,
> Pete
> 
> ___
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake

___
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake