Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HugePage configuration on Linux

Ken18Jul 24 2018 — edited Oct 25 2018

Hi All ,  Could you please shed some light.

HugePage configuration is not working , Checked the alert log file and there is no  "Large Pages infomation" section

DB - 12.2.0.1  CBD-PDB (1 PDB )

OS - Red Hat Enterprise Linux Server release 7.3 (Maipo)

Below is the HugePage Configuration :

=============================

1) Physical Memory :  grep MemTotal /proc/meminfo

MemTotal:       65807108 kB

2) Database Parameters - AMM disabled

a)

SQL> select value from v$parameter where name = 'memory_target';

VALUE

--------------------------------------------------------------------------------

0

b)

SQL>    select value/1024 from v$parameter where name = 'sga_target';

VALUE/1024

----------

  26214400

c)  select value from v$parameter where name = 'use_large_pages';

only

3) Hugepagesize : grep Hugepagesize /proc/meminfo

Hugepagesize:       2048 kB

4) Change Server Configuration :

a)  vi /etc/sysctl.conf

vm.nr_hugepages = 13312

grep vm.nr_hugepages /etc/sysctl.conf

b)  grep oracle /etc/security/limits.conf

oracle   soft   nproc     131072

oracle   hard   nproc     131072

oracle   soft   nofile    131072

oracle   hard   nofile    131072

oracle   soft   core      unlimited

oracle   hard   core      unlimited

oracle   soft   memlock   unlimited

oracle   hard   memlock   unlimited

6) Server reboot :

7) Check Configuration :

a)  ulimit -l

    unlimited

b) grep Huge /proc/meminfo

$ grep Huge /proc/meminfo

AnonHugePages:    137216 kB

HugePages_Total:   13312

HugePages_Free:      510

HugePages_Rsvd:        0

HugePages_Surp:        0

Hugepagesize:       2048 kB

c) Transparent Hugepages disabled?

cat /sys/kernel/mm/transparent_hugepage/enabled

always madvise [never]

This post has been answered by Ken18 on Oct 25 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 22 2018
Added on Jul 24 2018
3 comments
2,020 views