Passthrough devices provide the means to more efficiently use resources and improve performance in your environment. You can configure a passthrough PCI device on a virtual machine in the vSphere Client.
When using passthrough devices with a Linux kernel version 2.6.20 or earlier, avoid MSI and MSI-X modes because these modes have significant performance impact.
Procedure
- Locate the virtual machine in the vSphere Client.
- Select a data center, folder, cluster, resource pool, or host and click the VMs tab.
- Click Virtual Machines and click the virtual machine from the list.
- Power off the virtual machine.
- From the Actions menu, select Edit Settings.
- Select the Virtual Hardware tab in the dialog box displaying the settings.
- Expand the Memory section, and set the Limit to Unlimited.
- Click the Add new device button and under Other devices, select PCI Device.
The
New PCI device drop-down menu is added to the list in the
Virtual Hardware tab.
- From the New PCI device drop-down menu select the passthrough device to use, and click OK.
- Power on the virtual machine.
Results
Adding a DirectPath I/O device to a virtual machine sets memory reservation to the memory size of the virtual machine.