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

[Xen-devel] Linux Traffic Shaping broken in 3.0.3rc1 ?


with Xen 3.0.2 i used tc to limit the outgoing traffic rate and it
worked very well and accurate with the HTB class:

Limit: 1mbit / actual rate: 116.2KB/s (given by scp)

Now i looked at 3.0.3rc1 and noticed that traffic shaping using the same
setup as before does not work as accurate as before (same hardware):

Limit: 1mbit / actual rate: 449.0KB/s (given by scp)

Interstingly shaping of the incoming transfer rate at the vif*.*
interfaces works correct.

The problem is reproducible on my side and for me it seems to be a
problem with the new Xen-kernel.

Here is a stripped down version of my tc setup for you to verify the

tc qdisc add dev peth0 root handle 1:0 htb
tc class add dev peth0 parent 1:0 classid 1:1 htb rate 1mbit
tc qdisc add dev peth0 parent 1:1 handle 11: prio
tc filter add dev peth0 parent 1:0 protocol ip prio 1 u32 match ip src \ flowid 1:1
----<snap>---- is the IP of my Domain-0.

Timo Benk - B1 Systems GmbH (http://www.b1-systems.de) 
Jabber ID: fry@xxxxxxxxxx - ICQ ID: #241877854 
PGP Public Key: http://m28s01.vlinux.de/b1_gpg_key.asc

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.