Enable DPDK for a host

Configure boot settings

This feature enables you to configure the boot settings of a host, including HugePages, IOMMU, and CPU isolation settings.

  1. On the top navigation bar, click Hosts.

  1. Select the target host, and then click the Advanced tab.

  1. Enable HugePages, and set the page size and the number of pages as needed.

  1. Enable IOMMU.

  1. Enable CPU isolation. Click the Edit icon  for a NUMA node, select CPUs as needed (as a best practice, do not select CPU0), and then click OK. Configure the other NUMA node in the same way.

Figure-1 Configuring boot settings for a host

 

  1. Click Save.

  1. Restart the host to have the configuration take effect:

  1. Click Enter Maintenance Mode, and then click OK in the dialog box that opens.

  1. Click More Actions, select Restart Host, and then click OK in the dialog box that opens.

  1. After the host restarts, click Exit Maintenance Mode, and then click OK in the dialog box that opens.

Configure DPDK settings

  1. On the top navigation bar, click Hosts.

  1. Select the target host, and then click the Advanced tab.

  1. Click the DPDK tab.

  1. Enable DPDK.

  1. Click the Edit icon  for a NUMA node, set the HugePages memory size to 2GB, select the CPUs that you have selected in step 5 of "Configure boot settings," and then click OK.

Figure-2 Configuring DPDK settings for a host

 

  1. Configure the other NUMA node in the same way.

  1. Click Save.

(Optional) Configure interrupt affinity settings

This feature enables you to assign the interrupts that support affinity settings to the specified CPUs. After that, the interrupt requests will be processed by the specified CPUs.

  1. On the top navigation bar, click Hosts.

  1. Select the target host, and then click the Advanced tab.

  1. Click the Interrupt Affinity tab.

  1. Enable interrupt affinity.

  1. Click the Edit icon  for a NUMA node, select CPUs different from those you have selected in step 5 of "Configure boot settings," and then click OK.

Figure-3 Configuring interrupt affinity settings

 

  1. Click Save.