Comment 8 for bug 1950186

Revision history for this message
sean mooney (sean-k-mooney) wrote :

@Giuseppe Petralia

in your case can you confirm that you have enabled the numa topology filter

while placement will allow you to schedule to the host the numa topology filter
and host numa tracker should prevent the VM form being scheduled if you have used

hw:mem_page_size=small

that will look at the available 4k pages when scheduling the VM and only schedule to host where
enough can be claimed.

you also need to use the DEFAULT.reserved_huge_pages config option to reserve 4k pages for the host
https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.reserved_huge_pages

e.g. this will reserve 2G of 4k pages for the os on both node 0 and node 1
[default]
reserved_huge_pages = node:0,size:4,count:512
reserved_huge_pages = node:1,size:4,count:512

the rest of the 4k pages will be usable by vms