Forums | Aggregator | Books | Industry News | Firefox Plugins | Social | Links

Comments

Configuring HugePages for Oracle on Linux (x86-64) - This article explains how to configure HugePages for Oracle on Linux (x86-64).



KIrk Brocas said...

Thanks Tim, YOU provide a marvellous resource for the Oracle technical community

Muniraju said...

For RHEL 6 to make it work, I added below lines to "/etc/rc.local" file and rebooted the server.

if test -f /sys/kernel/mm/redhat_transparent_hugepage/enabled; then
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
fi
if test -f /sys/kernel/mm/redhat_transparent_hugepage/defrag; then
echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
fi

Tim... said...

Hi.

That is in the article, but it is not the preferred method, as specified in the MOS note.

Cheers

Tim...

Eugene said...

There is a bug on UEK 3 with hugepages=1g

The base bug for this issue is being tracked in 12609936.

Specifically, speaking with Oracle Database development, they responded as follows:

"We do not want to use 1G pages. This will not benefit the database, since the number of tlb entries are tiny.

Tim... said...

Hi.

I've put a comment to that effect at the start of that section. Thanks for the heads-up.

Cheers

Tim...

Simon Haslam said...

Thanks for taking the trouble to write this article Tim - it has just been very useful for some of my ODA work :)

Ricardo said...

Ok the Release Notes of UEK 3 Quarterly Update 1, 1 GB Hugepages is not supported for Oracle Databases, due to Bug 17271305.

https://oss.oracle.com/ol6/docs/RELEASE-NOTES-UEK3-QU1-en.html#uek3_changes

Tim... said...

Hi.

Yes. That's the same bug number that is listed in the MOS note my article links to in the first paragraph in that section, where I say don't use 1G hugepages for Oracle. :)

Cheers

Tim...

Jonathan said...

Hi,

I found that this didn't work for me using OEL6.5 until I added :

vm.hugetlb_shm_group=[dbagroupid]

to the sysctl.conf file, other than that I found the rest of the article very useful.

Tim... said...

Hi.

I can't recreate your issue. I've put a note about how to set the parameter, just in case though.

Cheers

Tim...
Prepared Statement Error: Table './oraclebasecms/cms_page_comment_uuids' is marked as crashed and should be repaired