[Cake] Correct 'change' behaviour

Toke Høiland-Jørgensen toke at toke.dk
Wed Nov 4 06:09:45 EST 2015


Dave Taht <dave.taht at gmail.com> writes:

> in the general case, I recomend looking at the most current fq_codel
> code to see how to do it as right as possible. There were several bugs
> found and fixed in it as well....

Well, I did, and it doesn't seem to be doing anything different. So much
so that I tried the same experiment on fq_codel:

$ sudo tc qdisc del dev eno1 root
$ sudo tc qdisc replace dev eno1 root fq_codel target 100ms interval 200ms
$ sudo tc qdisc replace dev eno1 root fq_codel target 5ms                 
$ tc qdisc
qdisc fq_codel 8007: dev eno1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 200.0ms ecn 
$ sudo tc qdisc del dev eno1 root                                         
$ sudo tc qdisc replace dev eno1 root fq_codel target 5ms
$ tc qdisc                                          
qdisc fq_codel 8008: dev eno1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn 


I.e. fq_codel suffers from exactly the same problem.

Is this a bug or is it expected behaviour? I'd say bug?

-Toke



More information about the Cake mailing list