On Fri, Oct 03, 2014 at 01:40:29PM -0400, Mohan Kumar wrote: >Hello all, > >I am new to KVM and look at a particular case in KVM. >I know that KVM uses CFS. > >The question I have is as follows: > >- I have two VMs with 2 VCPU each. And the actual > CPUs are also 2 and both the VMs use the 2 CPUs. > >I want one VM to use only 25 % of the actual CPU and the >remaining to be used by the other VM. > >Since KVM uses CFS, I am thinking that with CFS I can >provide these guarantee as mentioned above. I know >we can do these shares with cgroups. > >Is cgroups the only option?. Any pointers to this would help. How about CFS bandwidth control? Regards, Wanpeng Li > >Thanks, >Mohan >-- >To unsubscribe from this list: send the line "unsubscribe kvm" in >the body of a message to majordomo@xxxxxxxxxxxxxxx >More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html