Hi Mikael,

On Jun 28, 2015, at 22:48 , Mikael Abrahamsson <[email protected]> wrote:

> On Sun, 28 Jun 2015, Sebastian Moeller wrote:
> 
>> Hi Mikael,
> 
> root@OpenWrt:~# tc -d qdisc
> qdisc htb 1: dev eth0 root refcnt 9 r2q 10 default 12 direct_packets_stat 0 
> ver 3.17 direct_qlen 532
> qdisc fq_codel 110: dev eth0 parent 1:11 limit 1001p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 120: dev eth0 parent 1:12 limit 1001p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 130: dev eth0 parent 1:13 limit 1001p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
> qdisc mq 0: dev eth1 root
> qdisc fq_codel 0: dev eth1 parent :1 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :2 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :3 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :4 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :5 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :6 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :7 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :8 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc htb 1: dev ifb4eth0 root refcnt 2 r2q 10 default 12 direct_packets_stat 
> 0 ver 3.17 direct_qlen 32
> qdisc fq_codel 110: dev ifb4eth0 parent 1:11 limit 1001p flows 1024 quantum 
> 500 target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 120: dev ifb4eth0 parent 1:12 limit 1001p flows 1024 quantum 
> 1500 target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 130: dev ifb4eth0 parent 1:13 limit 1001p flows 1024 quantum 
> 300 target 5.0ms interval 100.0ms ecn
> 
> then I change to cake and add 42 as overhead:
> 
> root@OpenWrt:~# tc -d qdisc
> qdisc cake 8003: dev eth0 root refcnt 9 bandwidth 500Mbit diffserv4 flows raw

        Cake still did not take the overhead argument (or raw would have gone 
from the output)

> linklayer ethernet overhead 42

        This looks a bit like the output I would expect from using tic’s stab 
mechanism to define link layer adjustments and per packet overhead.

Could you post the result of:

cat /etc/config/sqm 

from the router, please? And the output of

/etc/init.d/sqm stop ; /etc/init.d/sqm start

this might give me a clue where to look...





> qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
> qdisc mq 0: dev eth1 root
> qdisc fq_codel 0: dev eth1 parent :1 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :2 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :3 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :4 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :5 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :6 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :7 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev eth1 parent :8 limit 1024p flows 1024 quantum 300 
> target 5.0ms interval 100.0ms ecn
> qdisc fq_codel 0: dev ifb4eth0 root refcnt 2 limit 1024p flows 1024 quantum 
> 300 target 5.0ms interval 100.0ms ecn

        The ingress setup did not go through, which most likely means tc got 
unhappy about one of the options.

Thanks for your time in testing this, I fear sqm-scripts is not really in a 
good shape for cake testing yet.

Best Regars
        Sebastian

> 
> root@OpenWrt:~# tc -d class show dev eth0
> class cake 8003:508 parent 8003:
> class cake 8003:944 parent 8003:
> root@OpenWrt:~# tc -d class show dev ifb4eth0
> root@OpenWrt:~#
> 
> -- 
> Mikael Abrahamsson    email: [email protected]

_______________________________________________
Cerowrt-devel mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cerowrt-devel

Reply via email to