kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Query with respect to VCPU scheduling
@ 2014-10-03 17:40 Mohan Kumar
  2014-10-08  1:10 ` Wanpeng Li
  0 siblings, 1 reply; 2+ messages in thread
From: Mohan Kumar @ 2014-10-03 17:40 UTC (permalink / raw)
  To: kvm

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.

Thanks,
Mohan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-08  1:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03 17:40 Query with respect to VCPU scheduling Mohan Kumar
2014-10-08  1:10 ` Wanpeng Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).