tc qdisc add dev eth1 root handle 1: hfsc default 1
tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 100mbit ul rate 100mbit
tc qdisc add dev eth1 parent 1:1 cake
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.
Martin Zaharinov <micron10@gmail.com> writes:
> please write my one sample line with this
From your script you'd need to use:
tc qdisc add dev eth1 parent 1:0004 cake
instead of
tc qdisc add dev eth1 parent 1:0004 sfq perturb 10
And adjust your HFSC parameter to shape to the rate you want. Can't help
you with that part, sorry, you'll need to go read up on shaping with
HFSC (or I'd suggest maybe using HTB instead as that is simpler to
configure). There are loads of tutorials for that online :)
-Toke
_______________________________________________
Cake mailing list
Cake@lists.bufferbloat.nethttps://lists.bufferbloat.net/listinfo/cake