vmich
asked on
Proper way to change or add CPUs to a VMware VM
Hello all,
I was just wondering if someone can set me straight with the correct and I guess recommended way to add CPUs to a VMware VM.
So for instance if we needed to bump a vm from 4 CPUs to 6 CPUs, from the web client would I change the setting under CPU from 4 to 6 or would I change the setting under Cores per socket to 6?
I just want to be clear and make sure we are setting the CPU settings on our vms the best or proper way.
I was just wondering if someone can set me straight with the correct and I guess recommended way to add CPUs to a VMware VM.
So for instance if we needed to bump a vm from 4 CPUs to 6 CPUs, from the web client would I change the setting under CPU from 4 to 6 or would I change the setting under Cores per socket to 6?
I just want to be clear and make sure we are setting the CPU settings on our vms the best or proper way.
ASKER
Ok don't laugh but this version is still 5.5 SOON to be upgraded...
Use sockets with cores split out. On 6.5 there is a noticeable increase in performance using a single socket and then cores assigned.
ASKER
Ok so right now the cpu is set to 4 VCPU and 4 cores per socket, I would change the sockets to 2 then correct?
No, that's fine, it depends on your hardware configuration as well, how many CPU's and cores etc.
On 5.5 that should work ok.
On 5.5 that should work ok.
ASKER
Ok just so I am doing this correct, if we want 6, well have to go to 8 CPUs, since the settings available are 4, 8,16, 32,,would I change the CPU to 8 and then change the cores per socket to 2?
Change the CPU (vCPU) from 4 to 8. (x 1 Core) for ESXi 5.5. - this is 8 CPUs.
How may CPUs do you want in the machine ?
4, 8, 16 or 32 ?
Is there a reason (technical) for increasing the CPUs, you've checked and this is the bottleneck ?
How may CPUs do you want in the machine ?
4, 8, 16 or 32 ?
Is there a reason (technical) for increasing the CPUs, you've checked and this is the bottleneck ?
ASKER
We want 8.
Right now the setting for cores per socket is set to 4 which is 1 socket, would it not increase the horsepower if we change that setting also from 4 to 2 which I turn makes 2 sockets
Right now the setting for cores per socket is set to 4 which is 1 socket, would it not increase the horsepower if we change that setting also from 4 to 2 which I turn makes 2 sockets
It depends on the application if I remember rightly, I saw there could be a small increase depending on what the server does.
https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html
https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Andrew what do you say about my last comments above
ASKER
lol you sent that same time I sent mine response.
and in ESXi 5.5 Sockets and Cores - same performance, but be careful of NUMA.
stick with 8 x 1 if you really must use 8 Sockets in this VM.
stick with 8 x 1 if you really must use 8 Sockets in this VM.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If it's 6.5, you use a single socket and then cores,
prior to that, it's sockets over cores