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
Solved

VMware esxi virtual CPU

Posted on 2012-03-22
5
1,158 Views
Last Modified: 2012-03-26
I would like to understand about vCPU assignment.
For instance if I have PC with below spec and like create 2 VM with Win 7 and Win XP what's the best settings and why?

And same thing with server having below server spec like to create 2 VM:
1 x SBS2011 (Exch, file, print etc)
1 x Terminal server for 5-6 users.

Is hyperthreading going to make any differences? if possible please explain how the CPU, socket and cores count? I have read less core is better.

PC with:
2 CPUs x 2.2GHz
Socket: 1
Cores per socket:2
Logical Processors: 2
Hyperthreading: Inactive
NICs: 1

Server with:
12 CPUs x 2.6 Ghz
Sockets :2
Cores per socket: 6
Logical processors: 24
Hythreading: Active
Number of NICs:4
0
Comment
Question by:joyjohn
  • 4
5 Comments
 
LVL 119
ID: 37752715
1 vCPU = 1 Core in the physical host.

It's recommended to use 1 vCPU for Windows XP, and 2 vCPU for Windows 7.

But, always start with 1 vCPU, and add aditional vCPU if required by the VM, for more performance.

Adding vCPU for the sake of adding additional vCPUs can slow a VM down, if the application on the VM cannot take advantage of additional CPUs. e.g. Exchange and SQL applications.
0
 
LVL 119
ID: 37752749
Also checkout Pages 15-25 of the

vSphere Resource Management Guide

which discusses CPUs.
0
 

Author Comment

by:joyjohn
ID: 37752807
What would be my best selection/settings for settiing up 2 VM: SBS 2011 and Win 2008 R2 server for terminal server with this spec:

12 CPUs x 2.6 Ghz
Sockets :2
Cores per socket: 6
Logical processors: 24
Hythreading: Active
Number of NICs:4
RAM: 16 GB
--

1 vCPU on both VM with 8GB/8GB RAM, how many cores?
can i select 2 socket on both VM?
What would be the best setting so that host can have required CPU, RAM etc thanks
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37752847
Assign vCPUs and not cores.

VMs use vCPUs (CPUs). Cores has been designed for Licensing.

Difficult for me to advise on how many vCPUs you need in your VMs.

I would assign 2 vCPUs to your SBS2011, and I would try 1 or 2 vCPUs in your Terminal Server.

You've not got much ram in the host if you've only got 16GB. You will need a minimum of 4GB per VM.
0
 
LVL 119
ID: 37752849
You may need at least 8GB-12GB for SBS2011.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

789 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