[openstack-dev] problems with huge pages and libvirt

Sahid Orentino Ferdjaoui sahid.ferdjaoui at redhat.com
Mon Feb 2 17:00:15 UTC 2015


On Mon, Feb 02, 2015 at 10:44:09AM -0600, Chris Friesen wrote:
> Hi,
> 
> I'm trying to make use of huge pages as described in
> "http://specs.openstack.org/openstack/nova-specs/specs/kilo/implemented/virt-driver-large-pages.html".
> I'm running kilo as of Jan 27th.
> I've allocated 10000 2MB pages on a compute node.  "virsh capabilities" on that node contains:
> 
>     <topology>
>       <cells num='2'>
>         <cell id='0'>
>           <memory unit='KiB'>67028244</memory>
>           <pages unit='KiB' size='4'>16032069</pages>
>           <pages unit='KiB' size='2048'>5000</pages>
>           <pages unit='KiB' size='1048576'>1</pages>
> ...
>         <cell id='1'>
>           <memory unit='KiB'>67108864</memory>
>           <pages unit='KiB' size='4'>16052224</pages>
>           <pages unit='KiB' size='2048'>5000</pages>
>           <pages unit='KiB' size='1048576'>1</pages>
> 
> 
> I then restarted nova-compute, I set "hw:mem_page_size=large" on a
> flavor, and then tried to boot up an instance with that flavor.  I
> got the error logs below in nova-scheduler.  Is this a bug?

Hello,

Launchpad.net could be more appropriate to
discuss on something which looks like a bug.

  https://bugs.launchpad.net/nova/+filebug

According to your trace I would say you are running different versions
of Nova services.

BTW please verify your version of libvirt. Hugepages is supported
start to 1.2.8 (but this should difinitly not failed so badly like
that)

s.



More information about the OpenStack-dev mailing list