← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1623871] [NEW] Nova hugepage support does not include aarch64

 

Public bug reported:

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.

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.

** Affects: nova
     Importance: Undecided
     Assignee: Veena (mveenasl)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Veena (mveenasl)

** Changed in: nova
       Status: New => In Progress

-- 
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):
  In Progress

Bug description:
  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.

  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.

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


Follow ups