Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

How can I dynamically rate limit the network speed on individual KVM instances? For example, I want to set a rule where if a user uses over 100mbps inbound or outbound bandwidth for over 30 minutes, the instance is throttled to 10mbps.

I am using KVM, Openstack, on an Ubuntu 12 host OS.

share|improve this question

As you are using Openstack, when you create a flavour you can specify the rxtx_factor. My understanding is that this is used to calculate a percentage of the rtx_cap on the network that is available to the VM. I'm not sure if all hypervisors will support it however, though so you may need to do some additional digging to see if KVM does.

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.