On Mon, Feb 02, 2015 at 07:08:16AM +0000, Li, Chen wrote:
> Hi all,
> 
> I'm trying to enable numa for my instance based on 
> https://blueprints.launchpad.net/nova/+spec/virt-driver-numa-placement.
> 
> I'm working under Ubuntu 14.10, with libvirt 1.2.8:
>     virsh -v
>     1.2.8
> 
> My compute node has only 1 numa node:
>     dmesg |grep numa
>     [    0.000000] mempolicy: Enabling automatic NUMA balancing. Configure 
> with numa_balancing= or the kernel.numa_balancing sysctl
> 
>     numactl --hardware
>     available: 1 nodes (0)
>     node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
>     node 0 size: 15983 MB
>     node 0 free: 8085 MB
>     node distances:
>     node   0
>       0:  10
> 
> I installed a fresh devstack.
> 
> And updated flavor m1.medium with:
>     nova flavor-key m1.medium set hw:numa_nodes=1
>     nova flavor-key m1.medium set hw:mem_page_size=large

This second settings says that Nova must use large pages for the VM memory.
Did you actually reserve any large pages for use by VMs on the host in
question ? This is an upfront admin task, not something Nova can do itself.

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

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to