Solved

Vmware Processor & Core

Posted on 2014-10-11
7
303 Views
Last Modified: 2014-10-14
If I have a machine with 2 CPU (Xeon) duel core... 12 GB Memory. Also assume I setup each machine each with 4GB duel core. The max machines the vmware can run is 2 because I am limited by the cores. Is that correct?
0
Comment
Question by:Starquest321
7 Comments
 
LVL 25

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 84 total points
ID: 40374729
No, that is not correct.  You can over provision and it could result in slow performance.
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 167 total points
ID: 40374730
No. You can theoretically run many more VM's simultaneously. The HyperVisor presents Virtual CPU/Cores to the VMs, and manages what CPU or Core Processes which tasks from which VM.
0
 
LVL 7

Assisted Solution

by:Stampel
Stampel earned 83 total points
ID: 40374742
Yes, you can have many VM and they will share the CPU cores.
The most limiting thing could be the 12Go RAM in your case. But for 2 or 3 machines it should be OK.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 166 total points
ID: 40374865
You should be able to allocate more sockets than that per VM....BUT Wait do you need to....?

vSMP (virtual SMP) can affect virtual machine performance, when adding too many vCPUs to virtual machines that cannot use the vCPUs effectly, e.g. Servers than can use vSMP correctly :- SQL Server, Exchange Server.

This is true, many VMware Administrators, think adding lots of processors, will increase performance - wrong! (and because they can, they just go silly!). Sometimes there is confusion between cores and processors. But what we are adding is additional processors in the virtual machine.

So 4 vCPU, to the VM is a 4 Way SMP (Quad Processor Server), if you have Enterprise Plus license you can add 8, (and only if you have the correct OS License will the OS recognise them all).

If applications, can take advantage e.g. Exchange, SQL, adding additional processors, can/may increase performance.

So usual rule of thumb is try 1 vCPU, then try 2 vCPU, knock back to 1 vCPU if performance is affected. and only use vSMP if the VM can take advantage.

Example, VM with 4 vCPUs allocated!

My simple laymans explaination of the "scheduler!"

As you have assigned 4 vCPUs, to this VM, the VMware scheulder, has to wait until 4 cores are free and available, to do this, it has to pause the first cores, until the 4th is available, during this timeframe, the paused cores are not available for processes, this is my simplistic view, but bottom line is adding more vCPUs to a VM, may not give you the performance benefits you think, unless the VM, it's applications are optimised for additional vCPUs.

See here
http://www.vmware.com/resources/techresources/10131

see here
http://www.gabesvirtualworld.com/how-too-many-vcpus-can-negatively-affect-your-performance/

http://www.zdnet.com/virtual-cpus-the-overprovisioning-penalty-of-vcpu-to-pcpu-ratios-4010025185/

also there is a document here about the CPU scheduler

www.vmware.com/files/pdf/perf-vsphere-cpu_scheduler.pdf

https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html
0
 

Author Comment

by:Starquest321
ID: 40376854
I have a dell poweredge t110 with 8MB :: 500 GB :: XEON QUAD CORE.

1. Around how many machines can this safely run?
2. SHould I install ESX on it .. and then load machines or should I use Windows 7 and then workstation?
0
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 166 total points
ID: 40376981
With 8GB of RAM, you will be limited by MEMORY!

We run approx 5-6 VMs per Core on physical servers, but MEMORY will always be the bottleneck, so you could run 8 x 1GB VMs, or 2 x 4GB VMs, BUT you need at least 2GB free for the Hypervisor.

So the answer is not many VMs, without upgrading the memory to at least 16 or 32GB.

VMware Workstation is a Type 2 Hypervisor, compared to ESXi.
0
 
LVL 88

Accepted Solution

by:
rindi earned 167 total points
ID: 40377513
As above, use ESXi, as it uses far less resources than the host OS that is running VMware Workstation. So with ESXi you can run more VM's simultaneously. Basically it depends on the OS your VM's will use. Many Linux Distro's use less RAM than Windows VM's do. Besides that it also depends on how the VM's are used. If They are more or less idling along, you can run more at the same time, as the memory is released for other VM's. But if they are heavily used you won't be able to run as much simultaneously. Basically the VM's require the same amount of RAM as they would as physical PC's.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…

828 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