Restricts a virtual machine to specific set of processors.
2.ESXi CPU Scheduler:
Understands the processor topology within the system and finds how the sockets, cores and logical processors are related to each other. Spreads the load to all the sockets in the system.
You can override the default behavior by adding sched.cpu.vsmpConsolidate = True to the virtual machine configuration file. This setting will prevent the workload from being Spread across all sockets it and limited it to the same socket.
Hyperthreading is a feature that exists only on Intel processors families. Hyperthreading breaks a single core into two logical threads. This allows vCPU1 to execute instructions on thread1while vCPU2 can execute instructions on thread2.
ESXi host has a separate NUMA scheduler. When a virtual machine is allocated memory,its takes the memory locality into mind. It will provide the best find to allocate memory from a home node( a home node indicates a processor and memory local to that processor).When there is a imbalance is load the NUMA scheduler can change home node on the fly.