<div dir="auto"><div data-smartmail="gmail_signature" dir="auto">Em 5 de set de 2017 05:52, "Weichih Lu" <<a href="mailto:zxcv811013.cs03g@g2.nctu.edu.tw">zxcv811013.cs03g@g2.nctu.edu.tw</a>> escreveu:<br></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:14px">Dear all,</span><div style="font-size:14px"><br></div><div style="font-size:14px">I have a compute node with 64GB ram. And I set 50 hugepages wiht 1GB hugepage size. I used command "free", it shows free memory is about 12GB. And free hugepages is 50.<br><br></div><div style="font-size:14px">Then I launch an instance with 16GB memory, set flavor tag : hw:mem_page_size=large. It show Error: No valid host was found. There are not enough hosts available. And I check nova-scheduler log. My compute is removed by RamFilter. I can launch an instance with 8GB memory successfully, or I can launch an instance with 16GB memory sucessfully by remove RamFilter.</div><div style="font-size:14px"><br>Does RamFilter only check free memory but not free hugepages?</div><div style="font-size:14px">How can I solve this problem?<br><br>I use openstack mitaka version.</div><div style="font-size:14px"></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Did you enable NUMATopologyFilter? This is required for using huge pages[1]. </div><div dir="auto"><br></div><div dir="auto">1: <a href="https://docs.openstack.org/nova/pike/admin/huge-pages.html">https://docs.openstack.org/nova/pike/admin/huge-pages.html</a></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto"><br></div><div dir="auto">Vagner Farias. </div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:14px"><br></div></div></blockquote></div></div></div>