<div dir="ltr">Hi Ammad, <div><br></div><div>It depends on your VM requirements. NUMA basically maps nic-mem-cpu. So if the VM is high traffic catering, you should define the NUMA properties in the flavor. </div><div><br></div><div>Vikarna</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 25 Jun 2021 at 10:34, Ammad Syed <<a href="mailto:syedammad83@gmail.com">syedammad83@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am using openstack wallaby on ubuntu 20.04 and kvm. I am working to make optimized flavor properties that should provide optimal performance. I was reviewing the document below.</div><div><br></div><div><a href="https://docs.openstack.org/nova/wallaby/admin/cpu-topologies.html" target="_blank">https://docs.openstack.org/nova/wallaby/admin/cpu-topologies.html</a><br></div><div><br></div><div>I have two socket AMD compute node. The workload running on nodes are mixed workload. </div><div><br></div><div>My question is should I use default nova CPU topology and NUMA node that nova deploys instance by default OR should I use hw:cpu_sockets='2' and hw:numa_nodes='2'. </div><div><br></div><div>Which one from above provide best instance performance ? or any other tuning should I do ?</div><div><br></div><div>The note in the URL (CPU topology sesion) suggests that I should stay with default options that nova provides.</div><div><br></div><div><span style="color:rgb(42,78,104);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;background-color:rgb(237,242,247)">Currently it also works with libvirt/QEMU driver but we don’t recommend it in production use cases. This is because vCPUs are actually running in one thread on host in qemu TCG (Tiny Code Generator), which is the backend for libvirt/QEMU driver. Work to enable full multi-threading support for TCG (a.k.a. MTTCG) is on going in QEMU community. Please see this </span><a href="http://wiki.qemu.org/Features/tcg-multithread" style="box-sizing:border-box;background-color:rgb(237,242,247);color:rgb(42,78,104);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px" target="_blank">MTTCG project</a><span style="color:rgb(42,78,104);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;background-color:rgb(237,242,247)"> page for detail.</span></div><div><br></div><div><div><br></div>Ammad</div></div>
</blockquote></div>