Use CPU affinity to force a vSphere 6 Virtual Machine (VM) to use a specific physical processor
- [Voiceover] In this video, I'll demonstrate…how to configure CPU affinity on a virtual machine.…I'll be using the VMware Hands-on Lab environment,…using the vSphere with operations management six lab.…Let's start by launching the vSphere web client.…I'll log in as a user with the permissions required…to modify virtual machines.…Let's brows to the Hosts and Clusters view.…And we'll modify this virtual machine…called linux-micro-01a.…If you'll notice, this virtual machine is currently…running on esx-01a.corp.local.…
I'll right-click the virtual machine,…and choose Edit Settings.…Under Edit Settings,…I'm going to modify the CPU configuration.…under Scheduling Affinity, I'm gonna choose one…of the processors on this ESXi host.…In this case, let's use processor number one.…This configuration is going to force this virtual machine…to use one specific physical processor.…This is sometimes useful if a virtual machine's licensing…requires it to run on a single physical processor.…
However, it does come with some drawbacks.…
Released
8/12/2016VMware Certified Instructor Rick Crisci provides an overview of vSphere resource controls—shares, limits, and reservations—and their impact on performance and VSWP file size. Rick explains exactly what happens when virtual machines compete for resources, the role of swap files, and how resource controls help automate allocation.
In chapter 2, Rick shows how to manage performance with resource pools, including child pools. He explains the impact a reservation has on resource pools, and includes a demo on creating and configuring a resource pool. Chapter 3 is an overview of the vFlash architecture for leveraging SSD resources. Watch this chapter to learn how to configure vFlash reservations and to assign a reservation to a VM.
Note: This course maps to the Administer and Manage vSphere 6.x Resources domain of the vSphere Certified Professional 6—Data Center Virtualization (VCP6ÂDCV) exam.
- Allocating memory and CPU
- Using ESXTOP
- Configuring reservations, limits, and shares
- Managing performance with resource pools
- Creating child and tiered resource pools
- Leveraging SSD resources with vFlash
Share this video
Embed this video
Video: Configuring CPU affinity