Hi Martin You wrote: > Are you using the same htb patch ? 2.4.17 has done rather big > changes .. This is not the first incompatibility I've seen. No, for 2.4.17 I'm using http://luxik.cdi.cz/~devik/qos/htb/v2/htb2_2.4.17.diff > you could try cbq instead. I like htb ;-) > But I think that the problem is that > htb will accumulate too many packets and pppoe checks for it. > I've had similar problems during htb testing from userspace. Do think it would make sense to reduce the transmit queue on ppp0 from 200 to ... let's say 50 or 20? > use tc -s class show ethXX and tc -s qdisc and send me the results. I'm > interested in backlog sizes. Ok, here is what I got after a breakdown -- | | Thomas | V # tc -s class show dev ppp0 class htb 1:1 root prio 0 rate 125Kbit ceil 125Kbit burst 1539b cburst 1759b Sent 364823 bytes 2290 pkts (dropped 0, overlimits 0) rate 2099bps 8pps lended: 49 borrowed: 0 giants: 0 injects: 0 tokens: 70247 ctokens: 81511 class htb 1:10 parent 1:1 prio 1 rate 40Kbit ceil 100Kbit burst 1539b cburst 1727b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 injects: 0 tokens: 246399 ctokens: 110592 class htb 1:100 parent 1:10 leaf 100: prio 1 rate 20Kbit ceil 100Kbit burst 1539b cburst 1727b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 injects: 0 tokens: 492799 ctokens: 110592 class htb 1:200 parent 1:10 leaf 200: prio 2 rate 20Kbit ceil 100Kbit burst 1539b cburst 1727b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 injects: 0 tokens: 492799 ctokens: 110592 class htb 1:30 parent 1:1 leaf 30: prio 2 rate 15Kbit ceil 125Kbit burst 1539b cburst 1759b Sent 302593 bytes 1927 pkts (dropped 0, overlimits 0) rate 1056bps 6pps lended: 1887 borrowed: 40 giants: 0 injects: 0 tokens: 499370 ctokens: 81511 class htb 1:40 parent 1:1 prio 3 rate 70Kbit ceil 125Kbit burst 1539b cburst 1759b Sent 62230 bytes 363 pkts (dropped 0, overlimits 0) rate 1052bps 1pps lended: 7 borrowed: 9 giants: 0 injects: 0 tokens: 115200 ctokens: 75776 class htb 1:800 parent 1:40 leaf 800: prio 1 rate 40Kbit ceil 125Kbit burst 1539b cburst 1759b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 injects: 0 tokens: 246399 ctokens: 90112 class htb 1:900 parent 1:40 leaf 900: prio 2 rate 30Kbit ceil 125Kbit burst 1539b cburst 1759b Sent 62230 bytes 363 pkts (dropped 0, overlimits 0) rate 31bps lended: 347 borrowed: 16 giants: 0 injects: 0 tokens: 268800 ctokens: 75776 # tc -s qdisc qdisc ingress ffff: dev ppp0 Sent 0 bytes 0 pkts (dropped 0, overlimits 0) qdisc sfq 900: dev ppp0 quantum 1492b perturb 10sec Sent 62230 bytes 363 pkts (dropped 0, overlimits 0) qdisc sfq 800: dev ppp0 quantum 1492b perturb 10sec Sent 0 bytes 0 pkts (dropped 0, overlimits 0) qdisc pfifo 30: dev ppp0 limit 5p Sent 303453 bytes 1932 pkts (dropped 0, overlimits 0) qdisc sfq 200: dev ppp0 quantum 1492b perturb 10sec Sent 0 bytes 0 pkts (dropped 0, overlimits 0) qdisc sfq 100: dev ppp0 quantum 1492b perturb 10sec Sent 0 bytes 0 pkts (dropped 0, overlimits 0) qdisc htb 1: dev ppp0 r2q 10 default 900 dcache 0 deq_util 1/1000000 deq_rate 10 trials_per_deq 0 dcache_hits 0 direct_packets 0 Sent 365683 bytes 2295 pkts (dropped 0, overlimits 50)