<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Does VMWARE Workstation support CPU affinity? in VMware Workstation Pro Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285733#M136576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a box with 2 CPU socket (2*40 cores), running CentOS. I'd like to assign the 1st CPU socket for VMs. Is this doable with VMWARE Workstation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA, Vitaly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2020 09:42:42 GMT</pubDate>
    <dc:creator>vitaly_il1</dc:creator>
    <dc:date>2020-10-02T09:42:42Z</dc:date>
    <item>
      <title>Does VMWARE Workstation support CPU affinity?</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285733#M136576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a box with 2 CPU socket (2*40 cores), running CentOS. I'd like to assign the 1st CPU socket for VMs. Is this doable with VMWARE Workstation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA, Vitaly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 09:42:42 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285733#M136576</guid>
      <dc:creator>vitaly_il1</dc:creator>
      <dc:date>2020-10-02T09:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Does VMWARE Workstation support CPU affinity?</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285734#M136577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's nothing in Workstation itself which will do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this hack which involves running a script once you have all your VMs running, to tell the Windows host OS where to run the processes which support each VM: &lt;A href="https://houseofbrick.com/troubleshooting-vmware-workstation-at-100-cpu/" title="https://houseofbrick.com/troubleshooting-vmware-workstation-at-100-cpu/"&gt;https://houseofbrick.com/troubleshooting-vmware-workstation-at-100-cpu/&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 10:35:18 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285734#M136577</guid>
      <dc:creator>scott28tt</dc:creator>
      <dc:date>2020-10-02T10:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Does VMWARE Workstation support CPU affinity?</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285735#M136578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Sorry, I didn't mention that I have CentoOS as host OS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 10:59:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285735#M136578</guid>
      <dc:creator>vitaly_il1</dc:creator>
      <dc:date>2020-10-02T10:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Does VMWARE Workstation support CPU affinity?</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285736#M136579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the host machine can support NUMA, it is better to turn on the NUMA in the host UEFI/BIOS.&lt;/P&gt;&lt;P&gt;From the log, it appears VMware Workstation can see the NUMA nodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;| vmx| I125: NUMA node 0: 15973MB, cpus 0x00000f0f 0x00000000 0x00000000 0x00000000&lt;/P&gt;&lt;P&gt;| vmx| I125: NUMA node 1: 16101MB, cpus 0x0000f0f0 0x00000000 0x00000000 0x00000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the VM will not see the NUMA architecture. I don't think Workstation Pro can take advantage of NUMA directly. For that you need ESXi. ESXi also allow you to assign affinity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running Prime95 stress test in a 6 vCPU Windows 10 VM in an Ubuntu 18.04, NUMA enabled 2 CPU sockets host and Workstation Pro 15.5.x, the System Monitor on the host will show 100% for 6 CPUx. Sometimes one host core/thread will flip to a different host CPU core/thread but it will stay at 100% for some time. It does not keep jumping around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably the largest determinant whether a vCPU will be "sticky" to a physical CPU core/thread depends on execution profile of the application(s) running in the VM. If the application causes a lot of VM-EXITs (such disk I/O or network I/O), assigning affinity may not add so much to performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Prime95 stress test example, it is compute intensive so it is unlikely to have frequent VM-EXIT so it can be somewhat sticky to a host core/thread unless it needs to read/write memory not in cache or read disk/IO and thus causing VM-EXIT and possible switch to a different core after a VM-ENTRY. I am assuming with NUMA turned on and the somewhat sticky vCPU-host CPU association, it is better than having non-NUMA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 12:48:11 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285736#M136579</guid>
      <dc:creator>bluefirestorm</dc:creator>
      <dc:date>2020-10-02T12:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Does VMWARE Workstation support CPU affinity?</title>
      <link>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285737#M136580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for reference, I don't know if this still works, but &lt;A href="https://communities.vmware.com/thread/206881"&gt;Tie the VM to a cpu?&lt;/A&gt; mentions setting .vmx affinity values like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; processor0.use= "TRUE"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; processor1.use= "FALSE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 15:37:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Workstation-Pro/Does-VMWARE-Workstation-support-CPU-affinity/m-p/2285737#M136580</guid>
      <dc:creator>gbohn</dc:creator>
      <dc:date>2020-10-02T15:37:32Z</dc:date>
    </item>
  </channel>
</rss>

