All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Todd And Margo Chester <toddandmargo@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: What are the rules for hyperthreaded CPUs?
Date: Mon, 05 Dec 2011 11:42:01 +0400	[thread overview]
Message-ID: <4EDC75C9.9000500@msgid.tls.msk.ru> (raw)
In-Reply-To: <4EDC1DC7.7030605@gmail.com>

On 05.12.2011 05:26, Todd And Margo Chester wrote:
>> Hi All,
>>
>> My host has an i7-960 processor (4 cores, 8 hypterthreaded cores.)
>> /proc/cpuinfo on my host shows 8 processors.
>>
>> On my Fedora Core 16 guest, /proc/cpuinfo shows 4 processors.
>>
>> Question: what is the maximum number of processors I can assign to my
>> guest?  4 or 8?  What are the rules for Hyperthreading?
>>
>> Many thanks,
>> -T
> 
> Figured it out.  The max cores is the number of hyperthreaded cores
> (eight in my case).

The maximum number of guest vCPUs is unlimited - you can assign, say,
100 cores - each vCPU core is just a thread on host, it does not
correspond to any physical characteristics of your host.

/mjt

  reply	other threads:[~2011-12-05  7:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  1:26 What are the rules for hyperthreaded CPUs? Todd And Margo Chester
2011-12-05  7:42 ` Michael Tokarev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-12-05  0:41 Todd And Margo Chester

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=4EDC75C9.9000500@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=kvm@vger.kernel.org \
    --cc=toddandmargo@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.