6099999336
Provide option to set reserved_huge_pages in puppet-nova. Ex. NovaReservedHugePages: ["node:0,size:2048,count:64","node:1,size:1GB,count:1"] will reserve on NUMA node 0 64 pages of 2MiB and on NUMA node 1 1 page of 1GiB When NovaReservedHugePages is set, "reserved_huge_pages" is set to the value of NovaReservedHugePages. If NovaReservedHugePages is unset and OvsDpdkSocketMemory is set, reserved_huge_pages value is calcuated from KernelArgs and OvsDpdkSocketMemory. KernelArgs helps determine the default huge page size used, the default is set to 2048kb and OvsDpdkSocketMemory helps determine the number of hugepages to reserve. when both NovaReservedHugePages and OvsDpdkSocketMemory are unset, then NovaReservedHugePages set to default value []. Change-Id: I8c7a8cb6ebf46130f5d102d281f9b736029b5390 Closes-Bug: #1852385
11 lines
521 B
YAML
11 lines
521 B
YAML
---
|
|
features:
|
|
- |
|
|
Added the configuration option to set reserved_huge_pages.
|
|
When NovaReservedHugePages is set, "reserved_huge_pages" is set to the
|
|
value of NovaReservedHugePages. If NovaReservedHugePages is unset and
|
|
OvsDpdkSocketMemory is set, reserved_huge_pages value is calcuated from
|
|
KernelArgs and OvsDpdkSocketMemory. KernelArgs helps determine the
|
|
default huge page size used, the default is set to 2048kb and
|
|
OvsDpdkSocketMemory helps determine the number of hugepages to reserve.
|