VMware Cloud Community
oturn
Enthusiast
Enthusiast

Maximum Performance - 1 Socket / 4 Cores / 8 Logical Processors

Variations on this question are asked fairly often, but I'd like to get further clarification for my scenario.

I have an ESXi 5.1 test server with a single i7-3720QM processor, with 4 cores, and 8 logical processors.

Considering only two (2) Windows Server VM's will ever run full time on this server, how many total CPU cores should I assign to each for MAXIMUM performance? 2, 4, or 8?

0 Kudos
5 Replies
mcowger
Immortal
Immortal

Depends.

Do you need to guarentee that both VMs get a fair share and / or don't impact each other?

--Matt VCDX #52 blog.cowger.us
0 Kudos
oturn
Enthusiast
Enthusiast

I'd say that is generally true. However, even though both need to be powered on at the same time, they aren't used at the same time. Also, this ESXi server also periodically runs other test VM's, but only for limited amounts of time.

0 Kudos
mcowger
Immortal
Immortal

In that case, provide no more than 4 vCPUs in total to all VMs combined.

So, 2 per VM, in your case.

--Matt VCDX #52 blog.cowger.us
0 Kudos
oturn
Enthusiast
Enthusiast

Can you elaborate?

0 Kudos
mcowger
Immortal
Immortal

You have 4 real cores (HT cores dont count) to give out.

You need to guarentee that 2 VMs have guarenteed levels of performance, even when running together.  Therefore, you cannot overcommit.

Therefore, you can allocate no more than the 4 cores you have.  2 VMs x 2 vCPUs per VM = 4 cores allocated.

--Matt VCDX #52 blog.cowger.us
0 Kudos