<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">ack. Yeah, I had seen that and thought I corrected it. Thank you very much, the instances start.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Now I just have to figure out why I seem to be using 2x the number of hugepages I think I should be. Numstat seems to think that now that I've started up the two VMs, I am using twice as many hugepages as the amount I had allocated via sysctl [1].</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">[1] <a href="http://sprunge.us/LLNM">http://sprunge.us/LLNM</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 31, 2015 at 9:55 AM, Martin Kletzander <span dir="ltr"><<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jan 30, 2015 at 03:33:43PM -0800, G. Richard Bellamy wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello All,<br>
<br>
I'm trying to enable hugepages, I've turned off THP (Transparent Huge<br>
Pages), and enabled hugepages in memoryBacking, and set my 2MB<br>
hugepages count via sysctl.<br>
<br>
I'm getting "libvirtd[5788]: Failed to autostart VM 'atlas': internal<br>
error: Unable to find any usable hugetlbfs mount for 16777216 KiB"<br>
where atlas is one of my guests and 16777216 KiB is the amount of<br>
memory I'm trying to give to the guest.<br>
<br>
</blockquote>
<br></span>
Looking at the XML:<br>
<br>
 <memoryBacking><br>
   <hugepages><br>
     <page size='16777216' unit='KiB' nodeset='0'/><br>
<br>
This means you want the guest's memory to be allocated from 16GiB<br>
hugepages.  You probably wanted to put this there:<br>
<br>
 <page size='2' unit='MiB' ...<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Yes, i can see the hugepages via numastat -m and hugetlbfs is mounted<br>
via /dev/hugepages and there is a dir structure<br>
/dev/hugepages/libvirt/qemu (it's empty).<br>
<br>
HugePages is big enough to accommodate the 16G i'm allocating... and<br>
changing the perms on that directory structure to 777 doesn't work<br>
either.<br>
<br>
Any help is much appreciated.<br>
<br>
HOST: <a href="http://sprunge.us/SEdc" target="_blank">http://sprunge.us/SEdc</a><br>
GUEST: <a href="http://sprunge.us/VCYB" target="_blank">http://sprunge.us/VCYB</a><br>
<br>
Regards,<br>
Richard<br>
<br></span>
______________________________<u></u>_________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" target="_blank">https://www.redhat.com/<u></u>mailman/listinfo/libvirt-users</a><br>
</blockquote>
</blockquote></div><br></div>