I have a CentOS 6 host for several KVM VMs with FreeBSD as guest.
I want to bind each VM to use no more than one core at once. What would you suggest to use, Cgroups or Tasksets?
central-processing-unitcgroupkvm-virtualization
I have a CentOS 6 host for several KVM VMs with FreeBSD as guest.
I want to bind each VM to use no more than one core at once. What would you suggest to use, Cgroups or Tasksets?
Best Answer
I think cgroups are the preferred method with EL6 now, especially with virtualization. Taskset is best for individual processes, but cgroups are closer to the notion of shielding/containers.