Scenario 9
< Back | Next>
Scenario:
You want to determine whether the performance of a specific VM is suffering due to the frequent migration of the VM from one physical CPU core to another. The VM has just one virtual CPU core. You temporarily want to modify the settings of the VM to force it to run on only one, specific physical core.
Requirements:
- Use the vSphere Client to modify the VM, such that it only runs on logical CPU 3.
- Use the vSphere client to modify all other VMs on the ESXi host to run only on logical CPUs 0, 1, and 2.
Environment Information:
- ESXi host: host-01.lab.local
- VM: vm-10
VDCA510 Objective: 3.2 Optimize Virtual Machine Resources
VDCA550 Objective: 4.2 Optimize Virtual Machine Resources
Guide Reference(s):
- Scenario 10-9
- Chapter 4 - Optimize Virtual Machine Resources - Understand Appropriate Use Cases for CPU Affinity
Click Here For Solution
Solution
- Right-click the VM and select Edit Settings.
- Navigate to the Resources tab > Advanced CPU settings.
- Set the Scheduling Affinity to 3.
- Repeat the previous steps for the remaining VMs on host-01, but set the Scheduling Affinity to 0-2.