2

On Xen it is easy as we have CreditScheduler [1], so on a machine with each guest OS sharing only portion of CPU, e.g. 6 guests running on top of a dual core CPU, excessive CPU usage is prohibited.

How to do the same thing on KVM?

[1] http://wiki.xensource.com/xenwiki/CreditScheduler

2

KVM doesn't include any such mechanism. However, since each virtual machine is simply a process on the host, they can be managed with standard process utilities such as nice or better yet, cgroups.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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