IOMMU (Input–Output Memory Management) Settings

Some hardware, including the Mellanox/Nvidia 100G NICs, support IOMMU. While IOMMU is particularly important in a virtualized environment, we've seen single stream throughput improvements of 10-20% on non-virtualized hosts as well. We recommend testing these settings on your hardware to see if it helps.

iommu support must be configured in grub.

Add this line to the file: /etc/default/grub


You might also want to try these settings:

   GRUB_CMDLINE_LINUX="intel_iommu=on iommu=pt" 


   GRUB_CMDLINE_LINUX="amd_iommu=on iommu=pt" 

Depending on your host architecture.

Then do:


and reboot.

To confirm the setting worked, do: 

   cat \/proc\/cmdline

and you should see something like:

  BOOT_IMAGE=/vmlinuz-5.15.0-78-generic root=/dev/mapper/vg0-lv--0 ro iommu=pt
For more information, see: