<div dir="auto">Thank you for the clarification. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il Gio 12 Gen 2023, 03:09 Sean Mooney <<a href="mailto:smooney@redhat.com">smooney@redhat.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 2023-01-11 at 23:10 +0100, Ignazio Cassano wrote:<br>
> Hello All,<br>
> I would like to know if with numa in kvm hypervisor I must disable merge<br>
> across nodes ? If yes, is there any metadata to do it ?<br>
no nova has numa toplogy awareness for vms with a virutal numa toplogy<br>
<br>
i.e. if you want vms ot have numa affinity you can request a numa toplogy explcitly by using hw:numa_nodes=<number of virutal numa nodes for the vm><br>
it can also be done via the image with hw_numa_nodes.<br>
<br>
nova will also generate a request for a singel numa node if  you use specific feature like cpu pinnign or hugepages  to name two cases. i belive pmem<br>
also does it so that is not ment to be an exaustive list.<br>
<br>
all vms that have an implciet or explict numa toplogy should have hw:mem_page_size or hw_mem_page_size set to an allowed value<br>
(small,large,any,<intager_page_size[KMG]>) for example hw:mem_page_size=small will create a singel numa node guest using implcit numa request as a<br>
result of specifying<br>
a page size and small will ensure that hugepages are not used for the vm. on must cpu archtecutres small means the default 4k pages are uesed.<br>
such a vm will be pinned to a spcific host numa ndoe but will float over cpu on that numa node sicne cpu pinnign is not enabeld.<br>
<br>
if the vm does not request a numa topology we will not do any numa aware placment or affinity enforcement.<br>
<br>
nova does not support mixing numa and non numa vms on the same host and its left to the operator to ensure that useing any of the means supproted<br>
by placement or schduler filters.<br>
<br>
> Ignazio<br>
<br>
</blockquote></div>