Professional Documents
Culture Documents
HugePages forOracleDB
HugePages forOracleDB
ODA Oracle Database Appliance Huge Page / Large Page Sizing (Doc ID 2108596.1)
APPLIES TO:
Oracle Database Appliance Software - Version 2.1.0.1 to 18.1 [Release 2.1 to 12.2]
Information in this document applies to any platform.
SYMPTOMS
CHANGES
CAUSE
First time usage: trying to configure Huge Pages for the first time
Changes in number of databases and associated memory requiring changes in OS parameter settings including Huge Pages
Increase in physical memory resources ( e.g. after a memory upgrade)
Increase in physical memory consumption
Memory tuning
SOLUTION
Note: Automatic Memory Management (AMM) and using Huge Pages are mutually exclusive.
While the ASM database will default to using AMM, all user databases should use ASMM
ODA Database Templates do not use AMM
use_large_pages= ONLY
To update the HugePage and memlock values run the following commands for recommendations
Refer to ODA HA: Use OAKCLI RECONFIGURE OSPARAMS to Calculate, Update and Set Kernel / Memory Values Including
1 of 2 30/01/2024, 11:23
Document Display https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-sta...
Optionally here are some manual approximations which can server as generic guidelines
If the ODA has 256GB of memory per node the recommended hugepages is 64000.
If the ODA has 512GB of memory per node the double the vm.nr_hugepages setting to 128000.
If the ODA has 768GB of memory per node the set the vm.nr_hugepages to 192000.
If adding memory from 256GB to 512GB double the values in memlock soft/hard setting for grid and oracle users in /
etc/security/limits.conf
REFERENCES
NOTE:1598563.1 - Exadata Kernel Tuning: Compute Node /etc/sysctl.conf parameters: Settings which and are candidates
to adjust when adding or removing physical memory (RAM).
NOTE:2220254.1 - ODA ODACLI UPDATE-OSPARAMETERS or OAKCLI RECONFIGURE OSPARAMS to Calculate, Update and
Set Kernel / Memory Values Including Hugepages
NOTE:1392497.1 - USE_LARGE_PAGES To Enable HugePages
NOTE:401749.1 - Oracle Linux: Shell Script to Calculate Values Recommended Linux HugePages / HugeTLB Configuration
NOTE:361323.1 - HugePages on Linux: What It Is... and What It Is Not...
Didn't find what you are looking for?
2 of 2 30/01/2024, 11:23