Oracle Database is not using the configured Huge Pages

Solution Verified - Updated -

Issue

  • Oracle Database is using regular 4K size pages instead of Huge Pages.
  • Oracle Database is not using the configured Huge Pages.
# grep nr_hugepages /etc/sysctl.conf 
vm.nr_hugepages= 76800

$ grep ^HugePages -A 1 /proc/meminfo 
HugePages_Total:   76800
HugePages_Free:    76800
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

$ grep memlock /etc/security/limits.conf 
#        - memlock - max locked-in-memory address space (KB)
oracle           soft    memlock         157286400  
oracle           hard    memlock         157286400  

Oracle Databse initialization parameter 'use_large_pages' is set to 'TRUE'. 

use_large_pages = TRUE 

Environment

  • Red Hat Enterprise Linux 7,8,9
  • Oracle Database
  • HugePages

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content