<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">If it’s just straight cake under hfsc with a rate here’s what I do (obviously replace 100mbit with your rate):<div class=""><br class=""></div><div class=""><div class="">tc qdisc add dev eth1 root handle 1: hfsc default 1</div><div class="">tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 100mbit ul rate 100mbit</div><div class="">tc qdisc add dev eth1 parent 1:1 cake</div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Mar 7, 2019, at 12:32 PM, Martin Zaharinov <<a href="mailto:micron10@gmail.com" class="">micron10@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">thanks i will try<div dir="auto" class=""><br class=""></div><div dir="auto" class=""><br class=""></div></div><br class=""><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" class="">toke@redhat.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Martin Zaharinov <<a href="mailto:micron10@gmail.com" target="_blank" rel="noreferrer" class="">micron10@gmail.com</a>> writes:<br class="">
<br class="">
> please write my one sample line with this<br class="">
<br class="">
From your script you'd need to use:<br class="">
<br class="">
tc qdisc add dev eth1 parent 1:0004 cake<br class="">
<br class="">
instead of<br class="">
<br class="">
tc qdisc add dev eth1 parent 1:0004 sfq perturb 10<br class="">
<br class="">
And adjust your HFSC parameter to shape to the rate you want. Can't help<br class="">
you with that part, sorry, you'll need to go read up on shaping with<br class="">
HFSC (or I'd suggest maybe using HTB instead as that is simpler to<br class="">
configure). There are loads of tutorials for that online :)<br class="">
<br class="">
-Toke<br class="">
</blockquote></div>
_______________________________________________<br class="">Cake mailing list<br class=""><a href="mailto:Cake@lists.bufferbloat.net" class="">Cake@lists.bufferbloat.net</a><br class="">https://lists.bufferbloat.net/listinfo/cake<br class=""></div></blockquote></div><br class=""></div></body></html>