Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Document Display https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-sta...

Copyright (c) 2024, Oracle. All rights reserved. Oracle Confidential.

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

Wanting to size the Large Pages / Huge Pages on the ODA.


Encountering errors starting a database on the ODA after adding databases or increasing database memory
parameters.
Increasing the physical memory to an existing ODA but unsure what parameter changes should be made at the OS
level and for the database(s).

CHANGES

Adding new databases


Increasing the size of new databases

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

Each database instance should be set with the parameter

use_large_pages= ONLY

To update the HugePage and memlock values run the following commands for recommendations

OAKCLI RECONFIGURE OSPARAMS


- or if on 18.5 and higher using the DCS stack
ODACLI UPDATE-OSCONFIGURATIONS

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...

Hugepages (Doc ID 2220254.1)

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

You might also like