<div dir="ltr">Actually, I had menm_page_size set to "large" and not "1024". However, it seemed like it was using 1024 pages per (small VM creation). Is there possibly some issue with large not using one of the supported values? I would have guessed it would have chosen 2M or 1G for the size.<div><br></div><div>Any thoughts?</div><div><br></div><div>PCM</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 10, 2016 at 9:05 AM Paul Michali <<a href="mailto:pc@michali.net">pc@michali.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Daniel and Chris! I think that was the problem, I had configured Nova flavor with a mem_page_size of 1024, and it should have been one of the supported values.<div><br></div><div>I'll go through and check things out one more time, but I think that is the problem. I still need to figure out what is going on with the neutron port not being released - we have another person in my group who has seen the same issue.</div><div><br></div><div>Regards,</div><div><br></div><div>PCM</div></div><div dir="ltr"><div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 10, 2016 at 4:41 AM Daniel P. Berrange <<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jun 09, 2016 at 12:35:06PM -0600, Chris Friesen wrote:<br>
> On 06/09/2016 05:15 AM, Paul Michali wrote:<br>
> > 1) On the host, I was seeing 32768 huge pages, of 2MB size.<br>
><br>
> Please check the number of huge pages _per host numa node_.<br>
><br>
> > 2) I changed mem_page_size from 1024 to 2048 in the flavor, and then when VMs<br>
> > were created, they were being evenly assigned to the two NUMA nodes. Each using<br>
> > 1024 huge pages. At this point I could create more than half, but when there<br>
> > were 1945 pages left, it failed to create a VM. Did it fail because the<br>
> > mem_page_size was 2048 and the available pages were 1945, even though we were<br>
> > only requesting 1024 pages?<br>
><br>
> I do not think that "1024" is a valid page size (at least for x86).<br>
<br>
Correct, 4k, 2M and 1GB are valid page sizes.<br>
<br>
> Valid mem_page_size values are determined by the host CPU.  You do not need<br>
> a larger page size for flavors with larger memory sizes.<br>
<br>
Though note that page sizes should be a multiple of favour mem size<br>
unless you want to waste memory. eg if you have a flavour with 750MB<br>
RAM, then you probably don't want to use 1GB pages as it waste 250MB<br>
<br>
Regards,<br>
Daniel<br>
--<br>
|: <a href="http://berrange.com" rel="noreferrer" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" rel="noreferrer" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org" rel="noreferrer" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org" rel="noreferrer" target="_blank">http://virt-manager.org</a> :|<br>
|: <a href="http://autobuild.org" rel="noreferrer" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/~danberr/" rel="noreferrer" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org" rel="noreferrer" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" rel="noreferrer" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div></div></div></blockquote></div>