All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux Traffic Shaping broken in 3.0.3rc1 ?
@ 2006-10-07 19:21 Timo Benk
  2006-10-08 16:17 ` Matt Ayres
  2006-10-09 15:40 ` Keir Fraser
  0 siblings, 2 replies; 11+ messages in thread
From: Timo Benk @ 2006-10-07 19:21 UTC (permalink / raw)
  To: xen-devel

Hi,

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
problem:

----<snip>----
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 \
  172.17.0.100/32 flowid 1:1
----<snap>----

172.17.0.100/32 is the IP of my Domain-0.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-10-10 12:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-07 19:21 Linux Traffic Shaping broken in 3.0.3rc1 ? Timo Benk
2006-10-08 16:17 ` Matt Ayres
2006-10-08 17:07   ` Keir Fraser
2006-10-08 18:30     ` Timo Benk
2006-10-09 12:38       ` Keir Fraser
2006-10-09 16:18       ` Keir Fraser
2006-10-10 10:16         ` Keir Fraser
2006-10-10 10:50           ` Timo Benk
2006-10-10 11:36             ` Keir Fraser
2006-10-10 12:50         ` Keir Fraser
2006-10-09 15:40 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.