Taking a long time to start a VM with pass-through device because of page reclamation

Solution Verified - Updated -

Issue

  • qemu-kvm process 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content