[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.


-----Original Message-----
From: Daniel P. Berrange [mailto:berrange at] 
Sent: Tuesday, February 03, 2015 5:30 PM
To: Li, Chen
Cc: openstack at
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

|:      -o- :|
|:              -o-    :|
|:       -o- :|
|:       -o- :|