From: Avi Kivity <avi@redhat.com>
To: Alexander Lyakas <alex.bolshoy@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Question about host CPU usage/allocation by KVM
Date: Wed, 18 Apr 2012 18:58:31 +0300 [thread overview]
Message-ID: <4F8EE4A7.1030102@redhat.com> (raw)
In-Reply-To: <CAGRgLy47PEbZ9bgiSu-V7QF8Yf3jCcQAugw5Uj44Z-O0mPMm8A@mail.gmail.com>
On 04/18/2012 12:54 AM, Alexander Lyakas wrote:
> Greetings everybody,
>
> Can anybody please point me to code/documentation regarding the
> following questions I have:
>
> - What does it actually mean using "-smp N" option, in terms of CPU
> sharing between the host and the guest?
What does cpu sharing mean?
> - How are guest CPUs mapped to host CPUs (if at all)?
The host scheduler allocates guest vcpus to host cpus. This allocation
changes with demand from other processes (or guests) on the host.
> - Is it possible to hard-allocate one or more CPUs to a particular
> guest, preventing the host from using them?
Look up 'cpusets'.
> - Is it possible to limit guest usage of host CPUs?
Look up 'cgroups cpu controller'.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-04-18 15:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 21:54 Question about host CPU usage/allocation by KVM Alexander Lyakas
2012-04-18 15:58 ` Avi Kivity [this message]
2012-04-18 17:24 ` Stuart Yoder
2012-04-18 20:55 ` Alexander Lyakas
2012-04-19 18:01 ` Alexander Lyakas
2012-04-20 15:01 ` Brian Jackson
2012-04-20 23:12 ` Shergill, Gurinder
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=4F8EE4A7.1030102@redhat.com \
--to=avi@redhat.com \
--cc=alex.bolshoy@gmail.com \
--cc=kvm@vger.kernel.org \
/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.