]> git.proxmox.com Git - pve-docs.git/commitdiff
pcie-passthrough: add short note about iommu passthrough mode
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 20 May 2022 08:43:25 +0000 (10:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Nov 2022 10:16:14 +0000 (11:16 +0100)
that explains in one sentence what it does, that it can increase
performance and how to activate it.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
qm-pci-passthrough.adoc

index 5ef325d38140d1f1863aa6a9a22bbccff291fae8..28bb4fc39dff30b3b8b2ff4e6b1846b5a4e512cb 100644 (file)
@@ -62,6 +62,24 @@ The command line parameters are:
 ----
 * for AMD CPUs it should be enabled automatically.
 
+
+If your hardware supports it, enabling IOMMU passthrough mode might increase
+performance, because then the VMs bypass the (default) DMA translation
+which is normally done by the hypervisor, before handing DMA requests off to
+the hardware IOMMU. You can enable it with adding
+
+----
+ iommu.passthrough=1
+----
+
+or
+
+----
+ iommu=pt
+----
+
+to the kernel commandline.
+
 .Kernel Modules
 
 You have to make sure the following modules are loaded. This can be achieved by