From 6a898c1e7c73a7664457210520f7efb6d365dd1e Mon Sep 17 00:00:00 2001 From: Jonathan Rubenstein Date: Thu, 21 Oct 2021 00:33:47 +0300 Subject: [PATCH] [doc] install: Add instructions to disable memballoon in libvirt --- doc/install.rst | 18 ++++++++++++++++++ doc/words.txt | 1 + 2 files changed, 19 insertions(+) diff --git a/doc/install.rst b/doc/install.rst index 2f2d4b89..972c3058 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -87,6 +87,24 @@ then, restart AppArmor. sudo systemctl restart apparmor +.. _client_memballoon_tweak: + +Memballoon +^^^^^^^^^^ + +The VirtIO memballoon device enables the host to dynamically reclaim memory +from your VM by growing the balloon inside the guest, reserving reclaimed +memory. Libvirt adds this device to guests by default. + +However, this device causes major performance issues with VFIO passthrough +setups, and should be disabled. + +Find the ```` tag and set its type to ``none``: + +.. code:: xml + + + .. _client_qemu_commands: QEMU Commands diff --git a/doc/words.txt b/doc/words.txt index 4fe07f4c..78a673a8 100644 --- a/doc/words.txt +++ b/doc/words.txt @@ -22,6 +22,7 @@ libdecor libvirt linux LookingGlass +memballoon mingw mipmapping modprobe