CPU Scheduling Affinity option not available on a VM.
search cancel

CPU Scheduling Affinity option not available on a VM.

book

Article ID: 304540

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • Scheduling Affinity option was missing under Edit settings > Virtual Hardware > CPU.

Environment

VMware vSphere ESXi 7.0.x
VMware vSphere ESXi 8.0.x
VMware vCenter Server 8.0.x
VMware vCenter Server 7.0.x

Cause

  • This option is not allowed when the virtual machine resides on a DRS cluster.
  • Its value is cleared when a virtual machine is migrated to a new host.
  • This value is only to tune the performance of a precise set of virtual machines on the same host.

Resolution

  • CPU Scheduling Affinity options do not appear if the ESXi host is in a cluster with DRS enabled with fully automated mode. This is expected behavior.
  • CPU Scheduling Affinity option is only available when the VM is powered off with the DRS set to partially automated or manual in the cluster.
  • Access the CPU Scheduling Affinity options using one of these methods:
    • Disable Full DRS Automation on the individual virtual machine: Set a Custom Automation Level for a Virtual Machine
    • Change the DRS automation level to Manual or Partially Automated.

      1. Select the Cluster > Configure.
      2. Click VMware DRS > Edit .
      3. Change the automation level to Manual or Partially Automated.

    • Disable DRS on the cluster.