From: Paolo Bonzini <pbonzini@redhat.com>
To: Riccardo Brunetti <riccardo.brunetti@dnshosting.it>, kvm@vger.kernel.org
Subject: Re: CPU Overcommitting question
Date: Fri, 18 Jul 2014 17:30:37 +0200 [thread overview]
Message-ID: <53C93D9D.3010503@redhat.com> (raw)
In-Reply-To: <53C91BF3.6030507@dnshosting.it>
Il 18/07/2014 15:06, Riccardo Brunetti ha scritto:
>
>
> 1) Assign vCPUs so that vCPU(VM1) + vCPU(VM2) = total number of physical
> cores (12) (both VMs have < 12 vCPUs) (ie. 8+4)
> 2) Assign vCPUs so that vCPU(VM1) + vCPU(VM2) > total number of physical
> cores (12) (both VMs have <= 12 vCPUs) (ie. 12+8)
> 3) Assign vCPUs so that vCPU(VM1) + vCPU(VM2) > total number of physical
> cores (12) (one VM has > 12 vCPUs) (ie. 16+8)
> 4) Assign vCPUs so that vCPU(VM1) + vCPU(VM2) > total number of physical
> cores (12) (both VMs have > 12 vCPUs) (ie. 16+16)
The last two are usually bad ideas. The first two should be okay.
Overcommitting works best if the VM are I/O bound (disk or network).
If you're overcommitting, hyperthreading should in general be enabled.
Answers for very specific scenarios are hard to give though, so you
should also benchmark your deployment with realistic workloads.
Paolo
next prev parent reply other threads:[~2014-07-18 15:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 13:06 CPU Overcommitting question Riccardo Brunetti
2014-07-18 15:30 ` Paolo Bonzini [this message]
2014-07-18 16:49 ` riccardo.brunetti
2014-07-18 21:30 ` Paolo Bonzini
-- strict thread matches above, loose matches on Subject: below --
2014-07-18 12:27 Riccardo Brunetti
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=53C93D9D.3010503@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=riccardo.brunetti@dnshosting.it \
/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.