[CentOS-virt] How many virtual guest 'cpus' can a core duo 'quad' core support
Trey Dockendorf
treydock at gmail.com
Wed Feb 22 02:14:14 EST 2012
On Tue, Feb 21, 2012 at 2:59 PM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:
> CentOS-6.2
>
> What is the maximum number of cpus can I configure for a
> single vm guest running on a host with this hardware?
>
> # lscpu
> Architecture: x86_64
> CPU op-mode(s): 32-bit, 64-bit
> Byte Order: Little Endian
> CPU(s): 4
> On-line CPU(s) list: 0-3
> Thread(s) per core: 1
> Core(s) per socket: 4
> CPU socket(s): 1
> NUMA node(s): 1
> Vendor ID: GenuineIntel
> CPU family: 6
> Model: 23
> Stepping: 10
> CPU MHz: 1998.000
> BogoMIPS: 5331.76
> Virtualization: VT-x
> L1d cache: 32K
> L1i cache: 32K
> L2 cache: 2048K
> NUMA node0 CPU(s): 0-3
>
> I ask this because it occurs to me that I may have missed
> something fundamental respecting the use of the initialism
> CPU vice the term Cores.
>
>
> --
> *** E-Mail is NOT a SECURE channel ***
> James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
> Harte & Lyne Limited http://www.harte-lyne.ca
> 9 Brockley Drive vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada L8E 3C3
>
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
The maximum you can assign to a single VM is the amount of CPUs
visible to the KVM host. So a quad core is shows as 4 CPUs to the OS,
so you could assign 4 vCPUs to a guest. To see how much is available
and seen by KVM run # virsh nodeinfo.
- Trey
More information about the CentOS-virt
mailing list