Taking a long time to start a VM with pass-through device because of page reclamation
Issue
qemu-kvmprocess will be allocated memory on demand if the RHEL works on the VM. In other words, KVM host will not allocate all memory assigned for the guest VM at once.- However, KVM host statically allocates all memory to the guest VM with pass through device like SR-IOV VF.
- It will take a long time to start the VM due to page reclamation if the system does not have enough free memory.
Environment
- Red Hat Enterprise Linux 8
- QEMU/KVM
- RHEL VM with passthrough devices
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.