Add override for huge_pages configrations in nova

Some nova settings for huge_page reservation can be needed when
deploying things like ovs-dpdk to avoid running out of memory.

This change adds in the values override for setting huge_page
reservations as an example to use when overriding nova values.

Change-Id: I9ee13d3a8bcaabf50a449cb2566cfb0fe8212484
This commit is contained in:
Gage Hugo 2020-05-20 16:30:16 -05:00
parent 6eca078216
commit 4e1cf47626

View File

@ -0,0 +1,20 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
conf:
nova:
DEFAULT:
reserved_huge_pages:
- node:0,size:1GB,count:4
- node:1,size:1GB,count:4
reserved_host_memory_mb: 512
...