Hi,

I seem to have found an issue when trying to setup a high performance VM utilising hugepages and NUMA pinning.

The VM is configured for 32GB RAM and uses hugepages of size 1G.

The host has two NUMA nodes each having 64GB RAM (for 128GB total system RAM).

No other VMs are running or otherwise pinned to the host.

The VM is pinned to node 0. And the required hugepages are allocated with

echo 32 > /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages

I then attempt to start the VM and get a pop-up error saying "cannot accommodate memory of VM's pinned virtual NUMA nodes within host's physical NUMA nodes".

However, if I remove the hugepages from node 0

echo 0 > /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages

Start the VM and then immediately re-create the hugepqages then everything works as expected.

It seems to me that oVirt is considering the hugepages as allocated memory even if they are not in use.

Is this correct?

Thanks,

Alan