What does overlimits mean?
Hi all,
After configurating tc, there is a overlimits:
[root@mailredhat root]# tc -s qdisc
qdisc sfq 8030: dev ppp0 quantum 1514b perturb 15sec
Sent 9505059 bytes 6445 pkts (dropped 0, overlimits 0)
qdisc sfq 802f: dev ppp0 quantum 1514b perturb 15sec Sent 154284 bytes 897 pkts (dropped 0, overlimits 0)
qdisc cbq 10: dev ppp0 rate 112Kbit (bounded,isolated) prio no-transmit Sent 9662343 bytes 7344 pkts (dropped 0, overlimits 1710)
borrowed 0 overactions 0 avgidle 57142 undertime 0
in the root qdisc, the overlimits is 1710.
1) What does "overlimits" mean?
2) How to avoid overlimits?
3) Below is the tc config, why only root qdisc has overlimits? the child qdisc does not have?
tc qdisc add dev ppp0 root handle 10: cbq bandwidth 112Kbit avpkt 1000 tc class add dev ppp0 parent 10:0 classid 10:100 cbq bandwidth 112Kbit rate 57Kb
it allot 1514 weight 5Kbit prio 2 maxburst 20 avpkt 1000 isolated tc class add dev ppp0 parent 10:0 classid 10:200 cbq bandwidth 112Kbit rate 55Kb
it allot 1514 weight 5Kbit prio 8 maxburst 20 avpkt 1000 bounded tc qdisc add dev ppp0 parent 10:100 sfq quantum 1514b perturb 15 tc qdisc add dev ppp0 parent 10:200 sfq quantum 1514b perturb 15 tc filter add dev ppp0 parent 10:0 protocol ip prio 2 u32 match ip tos 0x8 0xff
flowid 10:100
tc filter add dev ppp0 parent 10:0 protocol ip prio 8 u32 match ip tos 0x00 0xff
flowid 10:200
Quoted 2 lines · Patrick Chan
in the root qdisc, the overlimits is 1710.
1) What does "overlimits" mean?
Times that CBQ decided to shutdown for a while. See the HOWTO.
Quoted 1 line
2) How to avoid overlimits?
Not shaping - sorry, this is vital to how CBQ works, and how most other qdiscs that slow down traffic work.
Quoted 2 lines
3) Below is the tc config, why only root qdisc has overlimits? the child qdisc does not have?
Try looking at the classes, tc -s class ls dev ppp0 - the rest will also have overlimits, if they are slowing traffic down.
Regards,
bert
Signature · 6 lines
http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/