Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.