VMware Cloud Community
baber
Expert
Expert

How can disable hyperthread for specific VMs

Hi

As you know for some workloads that is better not use hyperthread thus according to vMware documents it's better disable it for some VMS with CPU Affinity feature
now my host cpu is according follow info:

Processor sockets =4
Processor cores per socket = 28
Logical processors= 224

now I want create a vm that don't use hyperthread cpu core and just use from 4 core of 28 core
How can set CPU Affinity fot guarantee not use hyperthread feature ?

BR

Please mark helpful or correct if my answer resolved your issue.
0 Kudos
2 Replies
depping
Leadership
Leadership

Why would you complicate things if you don't have a very specific performance requirement to do so? The VMware documentation talks about workloads where there is a pressing need from a performance perspective.

0 Kudos
baber
Expert
Expert

So thanks. As I need specific performance for specific VM because hyperthread just can provide 30% of performance of each logical core thus each logical core can provide best performance, now want to know is that possible assign 4 core of 28 core to a specific VM . how can sure that vm is using 4 core without hyperthreading feature ?

Please mark helpful or correct if my answer resolved your issue.
0 Kudos