Enable calculation of several kernel parameters #451
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes:
max_size_in_gb_hugepages
: Whenconfigure_hugepages_by: memory
, limit GB of hugepages to a percentage of physical memory to prevent overallocatingnr_hugepages_percent
: Replace fixed hugepage size (2MB) by system's actual hugepage size (just in case it changes) and add two pages per instance, which is empirically better than just two pages overallnr_hugepages_memory': Same as
nr_hugepages_percent, plus hugepages cap
max_size_in_gb_hugepages`Enhancements:
oracle_databases_processes_sum
: Sum of processes init-Parameter over all databasesoracle_databases_processes_max
: Largest processes init-Parameter over all databasesoracle_databases_sga_sum
: Sum of max(sga_target, sga_max_size) init-Parameter over all databasesoracle_databases_sga_max
: Largest max(sga_target, sga_max_size) init-Parameter over all databasessysctl_kernel_sem
: kernel.sem based on processes init-Parameters (increases values only, unlesssysctl_kernel_sem_force==true
sysctl_kernel_panic
: 0 or 1, according to system's kdump stateNote (1): Kernel paramers are no actually set by these changes. Aggregates rather can be used to e.g. configure
oracle_sysctl
list orsize_in_gb_hugepages
.Example:
Note (2): ASM instance should be described if it's forced to use hugepages: