Solved

VMWare, processors

Posted on 2012-03-14
7
482 Views
Last Modified: 2012-03-14
I know I have asked this before, but I need to clarify

The Summary page of my Host reports the following:

CPU Cores:                     16

Processor Sockets:              2
Cores per Socket:               8
Logical Processors:            32
Hyperthreading                 Active

Open in new window



When I allocate vCPU to my VM, I have the following options:

Number of virtual Sockets      1

Number of cores per socets     1

Total number of sockets:       1

Open in new window


So if I want my VM to fully utilize the machine, I would perform the following even though the number of Logical Processors on the host is 32.  Is this correct ?


Number of virtual Sockets      2

Number of cores per socets     8

Total number of sockets:      16

Open in new window

0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
7 Comments
 
LVL 120
ID: 37720703
You can configure a virtual machine that runs on an ESXi host to have up to 32 virtual CPUs.

Can your Virtual Machine support 32 vCPUs?

Normally you would add 1 vCPU to the virtual machine, and test, if the performance is not good enough for you would add another vCPU.

Just because you can add multiple vCPUs to a VM, does not mean that you have to.

Adding many vCPU can be detrimental to the performance of a VM, because of vSMP.
0
 
LVL 120
ID: 37720732
what is the maximum number of sockets you can add on your host?

if you want to FULLY utilize ALL processors, add them ALL!
0
 
LVL 2

Expert Comment

by:EvertG
ID: 37720746
Like hanccocka said doing this is a NO GO without proper testing as adding more vcpu's to a vm will not increase the performance. Especially if you have more vm's on the same machines.

So for theoratical purpose. I never combined this all as i never had the need for more then 4 vcpu's per vm.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:Los Angeles1
ID: 37721576
Yes, I get that this is a no go, but I am trying to get a handle on VMWare, and what a vCPU is

Is a vCPU essentially 1 core

Since the machine has 2 soeckets, 8 cores per socket, hyperthreading enabled, and 32 LOGICAL processors, if I want to max out the resources do I assign 16 vCPU or 32 vCPU
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37721586
yes 1 vCPU = 1 Core on the physical processor
0
 
LVL 120
ID: 37721589
if you have 32 Cores available = 32 vCPUs
0
 
LVL 120
ID: 37721597
if you have 16 cores = 16 vCPUs

but your VMware license dictates how many you can use, and anything less than Enterprise is 8.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VMtools Issue 7 107
Isolated network on ESXi 6.5 8 135
Set Static IP of machine without console access 1 98
Powercli validate module 6 50
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question