Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using a KVM to manage my VMs.

I would like to limit the CPU usage of a particular VM (set a cap on the VM). I was using xen all along, and was able to do this using credit scheduler. I am new to KVM and am searching for some tools to do the same thing.

I found that cgroups can do it but I'm not sure how to install and use cgroups in CentOS. I did some searching but couldn't find any how tos for CentOS.

Does anyone have any ideas how to do this?

share|improve this question
1  
This may seem very obvious, but also search for Red Hat and Fedora docs. CentOS is a clone of Red Hat. –  CarlF Jun 25 '11 at 20:42
    
Cgroups apparently are available in RHEL / CentOS 6.x only, you didn't specify your version. But the information available is sketchy at best, I was unable to find a reasonable howto. –  haimg Oct 7 '11 at 5:01
add comment

1 Answer

RHEL's and Fedora's Resource Management Guide is a good place to look for decent documentation on cgroups.

Do you have any specific questions about cgroups?

share|improve this answer
add comment

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.