[Cake] Cake with Deep Packet Inspection

Outback Dingo outbackdingo at gmail.com
Sat Nov 12 04:06:37 EST 2016


well not sure what stats you want... just for kicks and giggles though
i created an identical openwrt build for the same router on kernel
4.4.14
seems stable enough......

this is from the running system, as i typed this i did hit  another
INFO: rcu_sched detected stalls on CPUs/tasks:

tc -s qdisc show
qdisc noqueue 0: dev lo root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev eth0 root refcnt 2 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 27945112 bytes 54152 pkt (dropped 0, overlimits 0 requeues 3)
backlog 0b 0p requeues 3
 maxpacket 1506 drop_overlimit 0 new_flow_count 227 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 800a: dev eth0.2 root refcnt 2 bandwidth 100Mbit diffserv4
flows rtt 100.0ms raw
Sent 7656207 bytes 29112 pkt (dropped 0, overlimits 2763 requeues 0)
backlog 0b 0p requeues 0
memory used: 30496b of 5000000b
capacity estimate: 100Mbit
                Bulk   Best Effort      Video       Voice
 thresh       100Mbit   93750Kbit      75Mbit      25Mbit
 target         5.0ms       5.0ms       5.0ms       5.0ms
 interval     100.0ms     100.0ms     100.0ms     100.0ms
 pk_delay         0us       1.3ms        13us         0us
 av_delay         0us       164us         0us         0us
 sp_delay         0us        76us         0us         0us
 pkts               0       29094          18           0
 bytes              0     7654587        1620           0
 way_inds           0         273           0           0
 way_miss           0        4395          18           0
 way_cols           0           0           0           0
 drops              0           0           0           0
 marks              0           0           0           0
 sp_flows           0           1           0           0
 bk_flows           0           1           0           0
 un_flows           0           0           0           0
 max_len            0        8964          90           0

qdisc ingress ffff: dev eth0.2 parent ffff:fff1 ----------------
Sent 19329083 bytes 21990 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc mq 0: dev wlan1 root
Sent 42420 bytes 220 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev wlan1 parent :1 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 648 bytes 3 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan1 parent :2 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan1 parent :3 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 41772 bytes 217 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan1 parent :4 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc mq 0: dev wlan0 root
Sent 4409 bytes 41 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev wlan0 parent :1 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan0 parent :2 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan0 parent :3 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 4409 bytes 41 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev wlan0 parent :4 limit 1024p flows 128 quantum
1514 target 5.0ms interval 100.0ms ecn
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev zt0 root refcnt 2 limit 1024p flows 128 quantum
2814 target 5.0ms interval 100.0ms ecn
Sent 738 bytes 7 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
 maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
 new_flows_len 0 old_flows_len 0
qdisc cake 800b: dev ifb4eth0.2 root refcnt 2 bandwidth 185Mbit
besteffort flows rtt 100.0ms raw
Sent 19683131 bytes 21990 pkt (dropped 0, overlimits 3357 requeues 0)
backlog 0b 0p requeues 0
memory used: 17344b of 9250000b
capacity estimate: 185Mbit
                Tin 0
 thresh       185Mbit
 target         5.0ms
 interval     100.0ms
 pk_delay       102us
 av_delay        16us
 sp_delay         2us
 pkts           21990
 bytes       19683131
 way_inds         126
 way_miss        1918
 way_cols           0
 drops              0
 marks              0
 sp_flows           0
 bk_flows           1
 un_flows           0
 max_len         8976



Mem: 48476K used, 466248K free, 584K shrd, 4160K buff, 11488K cached
CPU:   0% usr   0% sys   0% nic  99% idle   0% io   0% irq   0% sirq
Load average: 0.65 0.28 0.10 2/94 2791

On Sat, Nov 12, 2016 at 2:36 AM, Jonathan Morton <chromatix99 at gmail.com> wrote:
> Looks like the task that's stalling is the swapper.  That could point to an
> inappropriate swap device or too much memory being used.  Can you give the
> relevant stats?
>
> - Jonathan Morton


More information about the Cake mailing list