07.05.2014 Views

Oracle RAC on RedHat Linux Best Practice guide and ... - OpenMPE

Oracle RAC on RedHat Linux Best Practice guide and ... - OpenMPE

Oracle RAC on RedHat Linux Best Practice guide and ... - OpenMPE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Bigpages/Hugetlb<br />

•Bigpages (RH 2.1) are called Hugetlb in RH3<br />

•Pages are not swapable. This means that the SGA still in memory.<br />

•Hugetlb is a backport from the kernel 2.6<br />

•The pages are pre-allocated. that amount of physical memory can be used <strong>on</strong>ly<br />

through<br />

•hugetlbfs or shm allocated with SHM_HUGETLB.<br />

•Add “bigpages=xxxxMB” to the kernel boot line in grub.c<strong>on</strong>f or lilo.c<strong>on</strong>f (<strong>on</strong>ly<br />

with RH 2.1).<br />

•echo the values to '/proc/sys/vm/hugetlb_pool' or Update the '/etc/sysctl.c<strong>on</strong>f'.<br />

The value are in MB, <strong>and</strong> it allocates several 2MB pages.<br />

•Values are viewable using '/proc/meminfo':<br />

•Hugepages_Total: 500<br />

•Hugepages_Free: 500<br />

•Hugepagesize: 2048K<br />

60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!