← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1623871] Re: Nova hugepage support does not include aarch64

 

Reviewed:  https://review.openstack.org/372304
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=50e0106d35ec1a3204c18f3912b0dc6cf6632305
Submitter: Jenkins
Branch:    master

commit 50e0106d35ec1a3204c18f3912b0dc6cf6632305
Author: VeenaSL <mveenasl@xxxxxxxxx>
Date:   Mon Sep 19 13:36:53 2016 +0530

    Adding hugepage and NUMA support check for aarch64
    
    Nova ignores aarch64 while verifying for hugepage and NUMA support.
    AARCH64 also supports hugepage and NUMA on the same libvirt versions as of x86.
    Hence adding this chek for aarch64 also.
    
    Change-Id: I7b5ae1dbdca4fdd0aee2eefd4099c4c4953b609a
    Closes-bug: #1623871


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1623871

Title:
  Nova hugepage support does not include aarch64

Status in OpenStack Compute (nova):
  Fix Released
Status in nova package in Ubuntu:
  Fix Released
Status in nova source package in Xenial:
  In Progress

Bug description:
  [Impact]
  Although aarch64 supports spawning a vm with hugepages, in nova code, the libvirt driver considers only x86_64 and I686. Both for NUMA and Hugepage support, AARCH64 needs to be added. Due to this bug, vm can not be launched with hugepage using OpenStack on aarch64 servers.

  Note: this depends on the fix for LP: #1627926.

  [Test Case]
  Steps to reproduce:
  On an openstack environment running on aarch64:
  1. Configure compute to use hugepages.
  2. Set mem_page_size="2048" for a flavor
  3. Launch a VM using the above flavor.

  Expected result:
  VM should be launched with hugepages and the libvirt xml should have

    <memoryBacking>
        <hugepages>
          <page size='2048' unit='KiB' nodeset='0'/>
        </hugepages>
    </memoryBacking>

  Actual result:
  VM is launched without hugepages.

  There are no error logs in nova-scheduler.

  [Regression Risk]
  Risk is minimized by the fact that this change is just enabling the same code for arm64 that is already enabled for Ubuntu/x86.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1623871/+subscriptions


References