Comments for Configuring HugePages for Oracle on Linux (x86-64)
|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
if test -f /sys/kernel/mm/redhat_transparent_hugepage/defrag; then
echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
That is in the article, but it is not the preferred method, as specified in the MOS note.
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.
I've put a comment to that effect at the start of that section. Thanks for the heads-up.
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.
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. :)
I found that this didn't work for me using OEL6.5 until I added :
to the sysctl.conf file, other than that I found the rest of the article very useful.
I can't recreate your issue. I've put a note about how to set the parameter, just in case though.
DO NOT ask technical questions here! They will be deleted!
These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!