[openstack-dev] problems with huge pages and libvirt

Chris Friesen chris.friesen at windriver.com
Mon Feb 2 17:44:37 UTC 2015


On 02/02/2015 11:00 AM, Sahid Orentino Ferdjaoui wrote:
> 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

Just wanted to make sure I wasn't missing something.  Bug has been opened at 
https://bugs.launchpad.net/nova/+bug/1417201

I added some additional logs to the bug report of what the numa topology looks 
like on the compute node and in NUMATopologyFilter.host_passes().

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

nova should all be the same version.  I'm running juno versions of other 
openstack components though.

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

Libvirt is 1.2.8.

Chris



More information about the OpenStack-dev mailing list