nova/nova
Sahid Orentino Ferdjaoui d52ceaf269 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
2016-05-12 06:32:00 -04:00
..
api Merge "Denormalize personality extension" 2016-05-12 05:00:58 +00:00
CA
cells Unavailable hosts have no resources for use 2016-04-18 19:07:23 +00:00
cert Set RPC version aliases for Mitaka 2016-03-16 09:54:49 -07:00
cloudpipe config options: Move crypto options into a group 2016-04-05 12:01:06 +01:00
cmd Merge "Add manage command for cell0." 2016-05-11 21:22:10 +00:00
common Added Keystone and RequestID headers to CORS middleware 2016-03-02 04:53:11 -08:00
compute Merge "Added new exception to handle CinderClientException" 2016-05-11 19:25:42 +00:00
conductor Merge "Added new exception to handle CinderClientException" 2016-05-11 19:25:42 +00:00
conf virt: reserved number of mempages on compute host 2016-05-12 06:32:00 -04:00
console Config options: Centralize netconf options 2016-04-24 18:15:05 +00:00
consoleauth Avoid unconditional warnings in nova-consoleauth 2016-04-26 23:52:49 +02:00
db Merge "db: retry instance_info_cache_update() on deadlock" 2016-05-11 23:07:36 +00:00
hacking Add a hacking check for test method closures 2016-03-17 15:49:55 -04:00
image Move config options from nova/api directory (1) 2016-05-09 19:23:13 +00:00
ipv6 Config options: Centralize ipv6 options 2016-04-05 17:09:53 +00:00
keymgr Replace key manager with Castellan 2016-04-27 14:37:06 -04:00
locale Imported Translations from Zanata 2016-04-21 06:54:57 +00:00
network Merge "Centralize config option for nova/network/driver.py" 2016-05-09 13:20:15 +00:00
objects virt: reserved number of mempages on compute host 2016-05-12 06:32:00 -04:00
pci pci: eliminate DB lookup PCI requests during claim 2016-05-08 20:27:33 +03:00
scheduler Move config options from nova/compute/rpcapi.py file 2016-04-21 22:26:13 +00:00
servicegroup Config options: Centralize servicegroup options 2016-05-04 15:57:29 +00:00
tests virt: reserved number of mempages on compute host 2016-05-12 06:32:00 -04:00
virt virt: reserved number of mempages on compute host 2016-05-12 06:32:00 -04:00
vnc config options: Centralise 'vnc' options 2016-02-03 13:36:20 +00:00
volume Merge "Replace key manager with Castellan" 2016-05-04 17:15:55 +00:00
wsgi Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
__init__.py
availability_zones.py Merge "Config options: centralize options in availability_zones" 2016-02-20 04:49:15 +00:00
baserpc.py config options: Centralize upgrade_levels section 2016-04-04 18:35:27 +00:00
block_device.py Add tag column to vifs and bdm 2016-04-01 08:46:54 -07:00
cache_utils.py Switch to oslo.cache lib 2016-02-02 08:20:13 -05:00
config.py Config options: centralize base path configuration 2016-04-08 17:36:46 +02:00
context.py Define context.roles using base class 2016-04-04 14:42:07 +00:00
crypto.py Drop paramiko < 2 compat code 2016-05-10 12:01:22 -05:00
debugger.py Config options: Centralize debugger options 2016-03-29 16:18:51 +00:00
exception.py virt: reserved number of mempages on compute host 2016-05-12 06:32:00 -04:00
filters.py Prepare filters for using RequestSpec object 2015-11-16 22:41:02 +01:00
hooks.py Deprecate nova.hooks 2016-03-01 11:52:52 +00:00
i18n.py
loadables.py
manager.py Config options: Centralize netconf options 2016-04-24 18:15:05 +00:00
notifications.py Merge "Fixes bug with notify_decorator bad getattr default value" 2016-05-11 22:29:12 +00:00
opts.py Config options: Centralize servicegroup options 2016-05-04 15:57:29 +00:00
policy.py use graduated oslo.policy 2015-11-26 13:04:52 +08:00
quota.py config options: centralize quota options 2016-04-07 00:07:21 +00:00
rpc.py Merge "Replace topic with topics for messaging.Notifier" 2016-04-06 12:05:12 +00:00
safe_utils.py Replace safe_utils.getcallargs with inspect.getcallargs 2015-12-11 10:15:37 -05:00
service.py Fix service version to update the DB 2016-05-10 20:43:26 +00:00
signature_utils.py Fix sphinx warnings from signature_utils 2016-01-13 13:56:05 +00:00
test.py Remove flavor seeding from the base migration 2016-04-05 08:01:33 -07:00
utils.py config options: Centralise 'monkeypatch' options 2016-04-05 11:12:51 +01:00
version.py
weights.py
wsgi.py config options: Remove 'wsgi_' prefix from opts 2016-03-25 13:19:19 +00:00