[Cake] Bug or not Cake + hfsc or Cake + Drr

Toke Høiland-Jørgensen toke at redhat.com
Thu Mar 7 06:05:08 EST 2019


Martin Zaharinov <micron10 at gmail.com> writes:

> in original script i use sfq
>
> I what to change this line : tc qdisc add dev eth1 parent 1:000b sfq
> perturb 10
> to this
> tc qdisc add dev eth1 parent 1:000b cake bandwidth 10mbit
> and set on preview line ul rate to 15mbit or other.

Yeah, you can't do that. You will have to set the bandwidth in the HFSC
classes, and elide it from the cake invocation. So basically, just
replace 'sfq perturb 10' with 'cake' in your existing script. And modify
the bandwidth parameter in your 'tc class add' for HFSC.

-Toke


More information about the Cake mailing list