git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


While in the help message:
    qemu-system-x86_64 -h |grep numa
        -numa node[,mem=size][,cpus=cpu[-cpu]][,nodeid=node]
        -numa node[,memdev=id][,cpus=cpu[-cpu]][,nodeid=node]

Looks like it do support numa, but the command line is a little different.
Because in compute.log, the command is :
    qemu-system-x86_64: -object memory-backend-file,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu,size=4096M,id=ram-node0,host-nodes=0,policy=bind


I don't know how to solve this. :(
Hope can get more help.


Thanks.
-chen



-----Original Message-----
From: Daniel P. Berrange [mailto:berrange at redhat.com] 
Sent: Tuesday, February 03, 2015 5:30 PM
To: Li, Chen
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] [Nova][virt-driver-numa-placement]How to enbale instance with numa ?

On Tue, Feb 03, 2015 at 01:18:05AM +0000, Li, Chen wrote:
> 
>  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.


> 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 :|



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/openstack/msg30997.html on line 115
Call Stack
#TimeMemoryFunctionLocation
10.0006364248{main}( ).../msg30997.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/openstack/msg30997.html on line 115
Call Stack
#TimeMemoryFunctionLocation
10.0006364248{main}( ).../msg30997.html:0