<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We have been running with NUMA configured for a long time and don't believe I have seen this behavior. It's important that you configure the flavors / aggregates correct.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I think this might be what you are looking for</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<pre style="box-sizing:border-box;overflow:auto;font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:13px;display:block;padding:20px 30px;margin:0px 0px 10px;line-height:1.42857;color:rgb(255, 255, 255);word-break:break-all;overflow-wrap:break-word;background-color:rgb(51, 51, 51);border:1px solid rgb(204, 204, 204);border-radius:4px">penstack flavor <span class="nb" style="box-sizing:border-box;color:rgb(36, 144, 157)">set</span> m1.large --property hw:cpu_policy<span class="o" style="box-sizing:border-box;color:rgb(208, 208, 208)">=</span>dedicated</pre>
<a href="https://docs.openstack.org/nova/pike/admin/cpu-topologies.html" id="LPlnk">https://docs.openstack.org/nova/pike/admin/cpu-topologies.html</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Pretty sure we also set this for any flavor that only requires a single NUMA zone</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<pre style="box-sizing:border-box;overflow:auto;font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:13px;display:block;padding:20px 30px;margin:0px 0px 10px;line-height:1.42857;color:rgb(255, 255, 255);word-break:break-all;overflow-wrap:break-word;background-color:rgb(51, 51, 51);border:1px solid rgb(204, 204, 204);border-radius:4px">openstack flavor <span class="nb" style="box-sizing:border-box;color:rgb(36, 144, 157)">set</span> m1.large --property hw:numa_nodes<span class="o" style="box-sizing:border-box;color:rgb(208, 208, 208)">=</span><span class="m" style="box-sizing:border-box;color:rgb(54, 119, 169)">1</span></pre>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Eric K. Miller <emiller@genesishosting.com><br>
<b>Sent:</b> Friday, October 16, 2020 8:47 PM<br>
<b>To:</b> Laurent Dumont <laurentfdumont@gmail.com><br>
<b>Cc:</b> openstack-discuss <openstack-discuss@lists.openstack.org><br>
<b>Subject:</b> RE: [nova] NUMA scheduling</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">> As far as I know, numa_nodes=1 just means --> the resources for that VM should run on one NUMA node (so either NUMA0 or NUMA1). If there is space free on both, then it's probably going to pick one of the two?<br>
<br>
I thought the same, but it appears that VMs are never scheduled on NUMA1 even though NUMA0 is full (causing OOM to trigger and kill running VMs).  I would have hoped that a NUMA node was treated like a host, and thus "VMs being balanced across nodes".<br>
<br>
The discussion on NUMA handling is long, so I was hoping that there might be information about the latest solution to the problem - or to be told that there isn't a good solution other than using huge pages.<br>
<br>
Eric<br>
<br>
</div>
</span></font></div>
</body>
</html>