<div dir="ltr"><div>Thanks to everyone for the comments.</div><div><br></div><div>Wow Dave. Thanks for the links to the lawsuit. Fascinating. I didn't know about this.<br></div><div><br></div><div>Since the original email, I actually downgraded from Spectrum cable 300 Mb/s to ? maybe it's 200 now ?, anyway it's $20 a month cheaper. And decreased the "smart queue" limits to 80/10 Mb/s.</div><div><br></div><div>Video streaming multiple TVs at once is all working well. No complaints from the family. Win!</div><div><br></div><div>Stats are looking pretty good after ~8 days uptime<br></div><div><font size="2"><span style="font-family:monospace"><br></span></font></div><div><font size="2"><span style="font-family:monospace">root@USG-Pro-4:/home/daveseddon# tc -p -s -d qdisc show<br>qdisc fq_codel 8001: dev <span style="background-color:rgb(255,255,0)">eth0</span> root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn <br> Sent 161758598841 bytes 147108740 pkt (dropped 0, overlimits 0 requeues 0) <br> backlog 0b 0p requeues 0 <br> maxpacket 1514 drop_overlimit 0 new_flow_count 299 ecn_mark 0<br> new_flows_len 0 old_flows_len 4<br>qdisc htb 1: dev eth2 root refcnt 2 r2q 10 default 10 direct_packets_stat 0 ver 3.17 <br> Sent 32491619852 bytes 93191686 pkt (dropped 0, overlimits 36499993 requeues 0) <---- OVER ( <span style="font-weight:normal;font-style:normal;text-align:right">36499993 / </span><span style="font-weight:normal;font-style:normal;text-align:right">32491619852 ~= </span>0.00112)<br> backlog 0b 0p requeues 0 <br>qdisc fq_codel 100: dev eth2 parent 1:10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn <br> Sent 32491619852 bytes 93191686 pkt (dropped 37156, overlimits 0 requeues 0) <------- DROPS ( 37156 / 32491619852 ~= 0.0000011 ) <br> backlog 0b 0p requeues 0 <br> maxpacket 1514 drop_overlimit 0 new_flow_count 15549718 ecn_mark 1572 <--- some ECN<br> new_flows_len 1 old_flows_len 5<br>qdisc ingress ffff: dev eth2 parent</span></font><span style="font-family:monospace"><font size="2"> ffff:fff1 ---------------- <br> Sent 169147707173 bytes 346339031 pkt (dropped 0, overlimits 0 requeues 0) <br> backlog 0b 0p requeues 0 <br>qdisc pfifo_fast 0: dev imq0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1<br> Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) <br> backlog 0b 0p requeues 0 <br>qdisc htb 1: dev ifb_eth2 root refcnt 2 r2q 10 default 10 direct_packets_stat 0 ver 3.17<br> Sent 173801196835 bytes 346221051 pkt (dropped 0, overlimits 192974926 requeues 0) <------- OVER ( 192974926 / 173801196835 ~= 0.0011 ) <br> backlog 0b 0p requeues 0 <br>qdisc fq_codel 100: dev ifb_eth2 parent 1:10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn <br> Sent 173801196835 bytes 346221051 pkt (dropped 140361, overlimits 0 requeues 0) <------- DROPS ( 37156 / 32491619852 ~= 0.00000080 )</font><font size="2"> </font></span><br><span style="font-family:monospace"> backlog 0b 0p requeues 0 <br> maxpacket 1514 drop_overlimit 0 new_flow_count 30970803 ecn_mark 1721 </span><span style="font-family:monospace"> <--- some ECN</span><br><span style="font-family:monospace"> new_flows_len 1 old_flows_len 3<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">root@USG-Pro-4:/home/daveseddon# tc -d class show dev eth2<br>class htb 1:10 root leaf 100: prio 0 quantum 118750 rate 9500Kbit ceil 9500Kbit burst 1598b/1 mpu 0b overhead 0b cburst 1598b/1 mpu 0b overhead 0b level 0 <br>class fq_codel 100:98 parent 100: <br>class fq_codel 100:c7 parent 100: <br>class fq_codel 100:180 parent 100: <br>class fq_codel 100:238 parent 100: <br>class fq_codel 100:305 parent 100: <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">root@USG-Pro-4:/home/daveseddon# tc -d class show dev ifb_eth2<br>class htb 1:10 root leaf 100: prio 0 quantum 200000 rate 76000Kbit ceil 76000Kbit burst 1596b/1 mpu 0b overhead 0b cburst 1596b/1 mpu 0b overhead 0b level 0 <br>class fq_codel 100:247 parent 100: <br>class fq_codel 100:2c8 parent 100: </span><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">root@USG-Pro-4:/home/daveseddon# uptime<br> 08:18:21 up 8 days, 19:02, 1 user, load average: 0.00, 0.01, 0.05</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">root@USG-Pro-4:/home/daveseddon# netstat -ia<br>Kernel Interface table<br>Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg<br>eth0 1500 0 101353919 0 0 0 157787555 0 0 0 BMRU<br>eth1 1500 0 663477 0 0 0 1090665 0 0 0 BMRU<br>eth2 1500 0 377699134 0 0 0 98049876 0 0 0 BMRU<br><font size="2">eth3 1500 0 0 0 0 0 0 0 0 0 BM<br>eth0.20 1500 0 3437713 0 0 0 2260022 0 0 0 BMRU<br>eth0.40 1500 0 12524 0 0 0 1012668 0 0 0 BMRU<br>ifb_eth2 1500 0 346333308 0 22391 0 346310917 0 0 0 BORU <--- i'm still curious about these drops, but it's a tiny amount. </font><font size="2">22391 / 346333308 ~= 0.000064<br></font><font size="2">imq0 16000 0 0 0 0 0 0 0 0 0 ORU<br>lo 65536 0 38330 0 0 0 38330 0 0 0 LRU</font></span><span style="font-family:monospace"><br>loop0 1500 0 0 0 0 0 0 0 0 0 BM<br>loop1 1500 0 0 0 0 0 0 0 0 0 BM<br>loop2 1500 0 0 0 0 0 0 0 0 0 BM<br>loop3 1500 0 0 0 0 0 0 0 0 0 BM<br>npi0 1500 0 0 0 0 0 0 0 0 0 BM<br>npi1 1500 0 0 0 0 0 0 0 0 0 BM<br>npi2 1500 0 0 0 0 0 0 0 0 0 BM<br>npi3 1500 0 0 0 0 0 0 0 0 0 BM</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 9, 2024 at 8:05 AM Dave Taht via Cake <<a href="mailto:cake@lists.bufferbloat.net" target="_blank">cake@lists.bufferbloat.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Jan 9, 2024 at 10:40 AM Nils Andreas Svee via Cake<br>
<<a href="mailto:cake@lists.bufferbloat.net" target="_blank">cake@lists.bufferbloat.net</a>> wrote:<br>
<br>
> 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.<br>
<br>
This irks me enormously. It is the direct outcome of the cambium<br>
elevate lawsuit, where both companies lost, the ISPs lost, open source<br>
practices long established about publishing sources, lost, and the<br>
lawyers went on to other nasty things leaving this trail of awful<br>
precedents in their wake.<br>
<br>
<a href="https://www.mtin.net/blog/ubnt-vs-cambium/" rel="noreferrer" target="_blank">https://www.mtin.net/blog/ubnt-vs-cambium/</a><br>
<br>
I do not know what to do about it. It also irks me that as a<br>
contributor to "smart queues" they are not maintaining it well.<br>
<br>
><br>
> Best Regards,<br>
> Nils Andreas Svee<br>
><br>
> On Jan 3, 2024, at 14:44, Pete Heist via Cake <<a href="mailto:cake@lists.bufferbloat.net" target="_blank">cake@lists.bufferbloat.net</a>> wrote:<br>
><br>
> On Tue, 2024-01-02 at 10:59 -0800, dave seddon via Cake wrote:<br>
><br>
> I thought people might be interested to see what Ubiquity/Unifi is<br>
> doing with "Smart Queues" on their devices. The documentation on<br>
> their website is not very informative.<br>
> <snip><br>
> "Smart Queue" Implementation<br>
><br>
> Looks like they only apply tc qdiscs to the Eth2, and sadly this is<br>
> NOT cake, but fq_codel.<br>
><br>
> And cake isn't available :(<br>
><br>
> root@USG-Pro-4:~# tc qdisc replace dev eth0 cake bandwidth 100m rtt<br>
> 20ms<br>
> Unknown qdisc "cake", hence option "bandwidth" is unparsable<br>
><br>
><br>
> Hi Dave, there's a community contributed version of Cake for EdgeRouter<br>
> devices that I've been using for years on production ER-X's:<br>
><br>
> <a href="https://community.ui.com/questions/Cake-compiled-for-the-EdgeRouter-devices/fc1ff27c-f321-4344-8737-fcc755cae8a2" rel="noreferrer" target="_blank">https://community.ui.com/questions/Cake-compiled-for-the-EdgeRouter-devices/fc1ff27c-f321-4344-8737-fcc755cae8a2</a><br>
><br>
> I don't think that works for UniFi/USG devices, however, and one should<br>
> note the disclaimer and be careful when installing it. Also, it must be<br>
> re-installed after every upgrade.<br>
><br>
> Cheers,<br>
> Pete<br>
><br>
> _______________________________________________<br>
> Cake mailing list<br>
> <a href="mailto:Cake@lists.bufferbloat.net" target="_blank">Cake@lists.bufferbloat.net</a><br>
> <a href="https://lists.bufferbloat.net/listinfo/cake" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/cake</a><br>
><br>
><br>
> _______________________________________________<br>
> Cake mailing list<br>
> <a href="mailto:Cake@lists.bufferbloat.net" target="_blank">Cake@lists.bufferbloat.net</a><br>
> <a href="https://lists.bufferbloat.net/listinfo/cake" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/cake</a><br>
<br>
<br>
<br>
-- <br>
40 years of net history, a couple songs:<br>
<a href="https://www.youtube.com/watch?v=D9RGX6QFm5E" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=D9RGX6QFm5E</a><br>
Dave Täht CSO, LibreQos<br>
_______________________________________________<br>
Cake mailing list<br>
<a href="mailto:Cake@lists.bufferbloat.net" target="_blank">Cake@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/cake" rel="noreferrer" target="_blank">https://lists.bufferbloat.net/listinfo/cake</a><br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Regards,<br></div>Dave Seddon<br>+1 415 857 5102<br></div></div></div></div></div></div>