Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ubuntu 12.04 and openvswitch and xen installed, and I know that limit traffic sent by xen domU can be using rate limit by xen netback or "ingress_policing" by openvswitch.

but because downloading some thing in the xen domUs may consume all of our bandwidth, it there a way to limit traffic receive by xen domUs ?

share|improve this question

migrated from Oct 8 '12 at 14:38

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

finally we use this the limit incoming traffic to vm, it takes effect while vm user are downloading data from outside:

ovs-vsctl -- set port vps2 qos=@newqos -- --id=@newqos create qos type=linux-htb other-config:max-rate=5000000 queues=0=@q0 \
-- --id=@q0 create queue other-config:max-rate=5000000

and the ingress_policing will take effect with the traffic coming out from the vm:

ovs-vsctl set interface vps2 ingress_policing_rate=10000
ovs-vsctl set interface vps2 ingress_policing_burst=100
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.