--- title: "Configure CPU affinity for Virtual Sensors" slug: "configure-cpu-affinity-for-virtual-sensors" tags: ["Product Usage", "vIPS 10.1.10"] updated: 2026-09-11T20:35:28Z published: 2026-09-11T20:35:28Z canonical: "docs.trellix.com/configure-cpu-affinity-for-virtual-sensors" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure CPU affinity for Virtual Sensors ## Before you begin You have installed the Virtual Sensor. For optimal and predictable performance of Virtual Sensors, you must follow the below guidelines. - You must configure each Virtual Sensor VM to execute on as many cores as required for the Sensor model by assigning CPU affinity to the VM. For example, an IPS-VM600 VM must be affinitized to 4 logical cores. - No other virtual machines running on the same ESXi host can be allowed to share the CPU cores that are assigned to a Virtual Sensor virtual machine. For example, if there are 16 CPU cores on a ESX server, the Virtual Sensor VM can be affinitized to the first 3 CPUs. All other VMs running on the same ESX server must be excluded from using the first 3 CPUs by affinitizing them to use the remaining CPUs on the host. ## Task 1. Use the shut CLI command to shutdown the Virtual Sensor and make sure that the Virtual Sensor is powered off in the VMware vSphere Web Client. 2. Log on to the ESX as the root user in VMware vSphere Web Client. ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-ED003931-0EA0-43A9-889D-8C1D10FE78FE-low.png?sv=2026-02-06&spr=https&st=2026-11-20T07%3A40%3A06Z&se=2026-11-20T08%3A40%3A06Z&sr=c&sp=r&sig=VerYRHjdJgvYStSF6N4Al92JRSxGan1SPVDrL05Bye4%3D) 3. On the vSphere **Home** tab, select **Hosts and Clusters.** ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-37E5F81F-CB03-4D67-864C-875E4C707864-low.png?sv=2026-02-06&spr=https&st=2026-11-20T07%3A40%3A06Z&se=2026-11-20T08%3A40%3A06Z&sr=c&sp=r&sig=VerYRHjdJgvYStSF6N4Al92JRSxGan1SPVDrL05Bye4%3D) 4. Under the corresponding ESX, select the required Virtual Sensor and select **Edit virtual machine settings.** ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-DA4871F3-B834-473B-8D9C-2D894E7909CF-low.png?sv=2026-02-06&spr=https&st=2026-11-20T07%3A40%3A06Z&se=2026-11-20T08%3A40%3A06Z&sr=c&sp=r&sig=VerYRHjdJgvYStSF6N4Al92JRSxGan1SPVDrL05Bye4%3D) 5. In the **Edit Settings** dialog box, click **CPU.** ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-7C26E6C2-81D3-4564-B7F4-103798862C07-low.png?sv=2026-02-06&spr=https&st=2026-11-20T07%3A40%3A06Z&se=2026-11-20T08%3A40%3A06Z&sr=c&sp=r&sig=VerYRHjdJgvYStSF6N4Al92JRSxGan1SPVDrL05Bye4%3D) 6. From the **HT Sharing** drop-down, select the required option. HT sharing means hyperthreaded core sharing. ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-0D7A8B39-7D70-4081-A244-2581BBFB0EB7-low.png?sv=2026-02-06&spr=https&st=2026-11-20T07%3A40%3A06Z&se=2026-11-20T08%3A40%3A06Z&sr=c&sp=r&sig=VerYRHjdJgvYStSF6N4Al92JRSxGan1SPVDrL05Bye4%3D) - **None** — For best, optimal, and predictable performance, Trellix recommends this option. - **Internal** — Better, less optimal, and less predictable performance is expected with this option. - **Any** — Normal performance, which is less optimal than **Internal** and sometimes even unpredictable, is expected with this option. For detailed description of these options and to know the difference between them, refer to VMware documentation. 7. In the **Scheduling Affinity** text box, enter the logical CPU affinities for the Virtual Sensor. ![](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/GUID-40199922-1D6B-4479-9921-30786BB77548-low.png?sv=2026-02-06&spr=https&st=2026-11-20T07%3A40%3A06Z&se=2026-11-20T08%3A40%3A06Z&sr=c&sp=r&sig=VerYRHjdJgvYStSF6N4Al92JRSxGan1SPVDrL05Bye4%3D) The string that you enter depends on the Virtual Sensor model. For example, IPS-VM600 uses 4 logical CPU cores. So, in the figure above, 5-8 indicates processors 5, 6, 7, and 8. 8. Click **OK.** 9. Power on the Virtual Sensor in VMware vSphere Web Client.