On 15.09.2011 22:25, Ben Pfaff wrote:
On Thu, Sep 15, 2011 at 10:19:38PM +0200, S?bastien Riccio wrote:
I'm trying to figure out how to limit the output packets rate on a
vswitch port, but I'm a bit lost.
Is it even possible ? I know it is possible to limite the data rate,
but is it possible with packets ?
I don't think that there is a way to do this "out of the box". You
can probably convince the HTB qdisc to do this, by using a rate table
that counts all packets equally, but that would require some work.
What is the reason to want to limit the packet count, as opposed to
the data rate?
Okay thanks.
I'm still working on a topic I've already discussed before: I just dont
want a VM to be able for example
to be able to udp flood at a maximum rate and bring the whole thing
down and unresponsive.
At the moment I can do it easily :/
If I udp flood the networking stack with vm1, openvswitch use 95% of cpu
(remember that discussion?),
the dom0 is still responding to network, the vm1 is quite freezing
(that's ok it's the flooder), but other vms start to act weird and hangs
like if the disk storage was not available anymore, and that is not good.
It happens when openvswitch cpu usage gets high, and this only happen
when a packet flood occurs, not a high traffic usage.
A udp flood requires little bandwitch as the packets are very small. So
limiting the data rate isn't a solution.
Any idea ?
Thanks,
Sébastien
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss