?
Solved

Vmware Processor & Core

Posted on 2014-10-11
7
Medium Priority
?
309 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
[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
7 Comments
 
LVL 25

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 336 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 668 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 332 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
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)

 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 664 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 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 664 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 668 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 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