Solved

Vmware Processor & Core

Posted on 2014-10-11
7
298 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) 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 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
create a Clone to consolidate snapshot 17 60
Clearwell e-discovery compatible with Enterprise Vault 11.0.1+ 2 21
ESXi 6 VMkernel network 3 32
Dell Server drives 9 36
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now