From: Wanpeng Li <wanpeng.li@linux.intel.com>
To: Mohan Kumar <mohan.cbein@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Query with respect to VCPU scheduling
Date: Wed, 8 Oct 2014 09:10:58 +0800 [thread overview]
Message-ID: <20141008011058.GA13262@kernel> (raw)
In-Reply-To: <CALCBee-=RCaT4gJqX7YpTngWuZAtDX=nVcSGpkWKA+1_s_VnJA@mail.gmail.com>
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@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-10-08 1:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-03 17:40 Query with respect to VCPU scheduling Mohan Kumar
2014-10-08 1:10 ` Wanpeng Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141008011058.GA13262@kernel \
--to=wanpeng.li@linux.intel.com \
--cc=kvm@vger.kernel.org \
--cc=mohan.cbein@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.