[Openstack] [Nova][virt-driver-numa-placement]How to enbale instance with numa ?
Daniel P. Berrange
berrange at redhat.com
Tue Feb 3 09:29:44 UTC 2015
On Tue, Feb 03, 2015 at 01:18:05AM +0000, Li, Chen wrote:
> Sorry, I do forget that.
>
> Still 2 issues left:
>
> Issue 1:
>
> After enabled hugepage:
>
> cat /proc/meminfo |grep -i huge
> AnonHugePages: 1685504 kB
> HugePages_Total: 3072
> HugePages_Free: 3072
> HugePages_Rsvd: 0
> HugePages_Surp: 0
> Hugepagesize: 2048 kB
>
> cat /proc/sys/vm/nr_hugepages
> 3072
>
> I still get error in compute node even after I change the flavor from m1.medium to m1.small:
> 2015-02-03 09:03:23.562 TRACE nova.compute.manager [instance: 4220d096-55fe-4d01-89b3-dc937e34c97c]
> libvirtError: internal error: Unable to find any usable hugetlbfs mount for 2048 KiB
That is saying you have not configured the host to allow use of huge pages - you need the hugetlbfs
filesystem mounted, to provide access to the huge pges of the required size.
> 2015-02-03 09:15:43.921 TRACE nova.compute.manager [instance: 833cfac5-4fac-438b-acff-579b41ee5729]
> libvirtError: internal error: process exited while connecting to monitor: 2015-02-03T01:15:43.331770Z
> qemu-system-x86_64: -object memory-backend-ram,size=2048M,id=ram-node0,host-nodes=0,policy=bind: NUMA node
> binding are not supported by this QEMU
The version of QEMU you have is either too old, or it was built without numa support
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the Openstack
mailing list