[openstack-dev] problems with huge pages and libvirt

Sahid Orentino Ferdjaoui sahid.ferdjaoui at redhat.com
Tue Feb 3 14:05:24 UTC 2015


On Mon, Feb 02, 2015 at 11:44:37AM -0600, Chris Friesen wrote:
> 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.

Hum if I understand well and according your issue reported to
launchpad.net

  https://bugs.launchpad.net/nova/+bug/1417201

You are trying to test hugepages under kilo which it is not possible
since it has been implemented in this release (Juno, not yet
published)

I have tried to reproduce your issue with trunk but I have not been
able to do it. Please reopen the bug with more information of your env
if still present. I should received any notification from it.

Thanks,
s.

> >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
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list