> On 7 Mar, 2019, at 8:23 pm, Martin Zaharinov <[email protected]> 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

_______________________________________________
Cake mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cake

Reply via email to