<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Pete<div>yes i find this patch and add to cake source</div><div>and in my test with hfsc and cake </div><div>i use </div><div><br></div><div><div>tc qdisc add dev eth1 root handle 1: hfsc default 1</div><div>tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 7mbit ul rate 7mbit</div><div>tc qdisc add dev eth1 parent 1:1 cake besteffort bandwidth 5mbit datacentre nat memlimit 32m</div><br class="gmail-Apple-interchange-newline"></div><div>user speed is 5mbit and on hfsc i add extra 2 mbit to give free limit for cake.</div><div>and work fine but in dmesg get :</div><div><br></div><div><div>[44835.530255] qdisc_peek_len: cake qdisc 8017: is non-work-conserving?</div><div>[44840.689403] HFSC: cake qdisc 8012: is non-work-conserving?</div></div><div><br></div><div><br></div><div>user receive 5mbit for upload and download and fine work.</div><div>mai be need to add no-split-gso to config </div><div><br></div><div>but after add have same error on dmesg : </div><div><br></div><div><div>[44955.641391] HFSC: cake qdisc 8021: is non-work-conserving?</div><div>[44955.958904] HFSC: cake qdisc 801C: is non-work-conserving?</div></div><div><br></div><div>but work fine and will remove warrning from kernel source to not list in dmesg :)</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>i try same config with drr to remove speed limit from hfsc and use only cake bandwidth and work same fine but in time of work machine crash .</div><div><br></div><div><br></div><div>Best Regards,</div><div>Martin</div><div><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 8:05 PM Pete Heist <<a href="mailto:pete@heistp.net">pete@heistp.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"><div style="overflow-wrap: break-word;">If it’s just straight cake under hfsc with a rate here’s what I do (obviously replace 100mbit with your rate):<div><br></div><div><div>tc qdisc add dev eth1 root handle 1: hfsc default 1</div><div>tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 100mbit ul rate 100mbit</div><div>tc qdisc add dev eth1 parent 1:1 cake</div><div><br></div><div>Also, there were recent fixes to the Linux kernel and cake regarding GSO splitting. You may find with hfsc on older kernels that you have to use “cake no-split-gso” to avoid lockups.</div><div><br></div><div><blockquote type="cite"><div>On Mar 7, 2019, at 12:32 PM, Martin Zaharinov <<a href="mailto:micron10@gmail.com" target="_blank">micron10@gmail.com</a>> wrote:</div><br class="gmail-m_-170356419675507871Apple-interchange-newline"><div><div dir="auto">thanks i will try<div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019, 13:25 Toke Høiland-Jørgensen <<a href="mailto:toke@redhat.com" target="_blank">toke@redhat.com</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">Martin Zaharinov <<a href="mailto:micron10@gmail.com" rel="noreferrer" target="_blank">micron10@gmail.com</a>> writes:<br>
<br>
> please write my one sample line with this<br>
<br>
>From your script you'd need to use:<br>
<br>
tc qdisc add dev eth1 parent 1:0004 cake<br>
<br>
instead of<br>
<br>
tc qdisc add dev eth1 parent 1:0004 sfq perturb 10<br>
<br>
And adjust your HFSC parameter to shape to the rate you want. Can't help<br>
you with that part, sorry, you'll need to go read up on shaping with<br>
HFSC (or I'd suggest maybe using HTB instead as that is simpler to<br>
configure). There are loads of tutorials for that online :)<br>
<br>
-Toke<br>
</blockquote></div>
_______________________________________________<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" target="_blank">https://lists.bufferbloat.net/listinfo/cake</a><br></div></blockquote></div><br></div></div></blockquote></div>