← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1543149] Re: Reserve host pages on compute nodes

 

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

commit d52ceaf269ae64575c48aa45002aa4fc5cfb2a86
Author: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@xxxxxxxxxx>
Date:   Mon Feb 8 09:37:37 2016 -0500

    virt: reserved number of mempages on compute host
    
    Users need to mark as reserved some amount of pages for third party
    components.
    
    The most common use case for using huge/large pages is NFV. In the
    current state of that feature we can't guarantee the necessary amount
    of pages to allow OVS-DPDK to run properly on the compute node, which
    result in the instance failing to boot on a well selected
    compute-node. OVS-DPDK needs 1 GB hugepages reserved. Since Nova does
    not take into account that page reserved for OVS-DPDK it results in
    the process not being able to acquire the necessary memory which
    results in a failed boot.
    
    This commit adds a new option 'reserved_huge_pages' which takes a list
    of string format to select on which host NUMA nodes and from which
    pagesize we want to reserve a certain amount of pages. It also updates
    NUMAPageTopology to contain a reserved memory pages attribute, which
    helps compute the available pages size on host for scheduling/claiming
    resources.
    
    Change-Id: Ie04d6362a4e99dcb2504698fc831a366ba746b44
    Closes-Bug: #1543149


** 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/1543149

Title:
  Reserve host pages on compute nodes

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  In some use cases we may want to avoid Nova to use an amount of
  hugepages in compute nodes. (example when using ovs-dpdk). We should
  to provide an option 'reserved_memory_pages' which provides way to
  determine amount of pages we want to reserved for third part
  components

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


References