[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#719958: traffic control simple token bucket filter within prio broken in wheezy



Package: linux-image-3.2.0-4-amd64
Version: 3.2.46-1

Hi,

I have a gateway machine, with $iface_Internet == xenbr2 and $iface_intranet
== xenbr0, running these traffic control rules on the outside interface
which are supposed to be a trivial ToS match and a limit on 20 Mbps:

tc qdisc del dev $iface_Internet root || true
tc qdisc add dev $iface_Internet root handle 1: prio
tc qdisc add dev $iface_Internet parent 1:1 handle 10: sfq
tc qdisc add dev $iface_Internet parent 1:2 handle 20: tbf rate 20mbit buffer 20480 limit 16384
tc qdisc add dev $iface_Internet parent 1:3 handle 30: sfq

This worked just fine for about seven years now on a machine running
squeeze, and a fair few distro+kernel versions before that.
I changed the rate from 10 to 20 on 2012-10-12, and everything kept working
fine.

However, the upgrade to this new kernel appears to have killed it - the tbf
rule is causing outgoing HTTP connections to max out at around 8 Kbps.

When I remove tbf, everything is fine.

I think there's a software problem there - even if these rules were somehow
broken to begin with, this is a poor way of telling me that.

Please fix it. TIA.

-- 
     2. That which causes joy or happiness.


Reply to: