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

Jonathan Morton chromatix99 at gmail.com
Thu Mar 7 18:59:28 EST 2019


> On 7 Mar, 2019, at 8:23 pm, Martin Zaharinov <micron10 at gmail.com> wrote:
> 
> tc qdisc add dev eth1 root handle 1: hfsc default 1
> tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 7mbit ul rate 7mbit
> tc qdisc add dev eth1 parent 1:1 cake besteffort bandwidth 5mbit datacentre nat memlimit 32m
> 
> user speed is 5mbit and on hfsc i add extra 2 mbit to give free limit for cake.
> and work fine but in dmesg get :
> 
> [44835.530255] qdisc_peek_len: cake qdisc 8017: is non-work-conserving?
> [44840.689403] HFSC: cake qdisc 8012: is non-work-conserving?

Here's a setup that should work:

> tc qdisc add dev eth1 root handle 1: hfsc default 1
> tc class add dev eth1 parent 1: classid 1:1 hfsc ls rate 5mbit ul rate 5mbit
> tc qdisc add dev eth1 parent 1:1 cake unlimited besteffort internet nat memlimit 32m

Why don't you try that instead of editing the kernel?

(Also, don't use "datacentre" with bandwidths this low, it doesn't magically do what you're probably thinking of.)

 - Jonathan Morton



More information about the Cake mailing list