RE: 11g AMM tmpfs vs hugepages for best overall performance

  • From: Yong Huang <yong321@xxxxxxxxx>
  • To: Jon.Crisler@xxxxxxx
  • Date: Fri, 30 Jul 2010 10:52:08 -0700 (PDT)

> I thought the
> bug [Bug 9251136 "INSTANCE WILL NOT USE HUGEPAGE IF STARTED BY SRVCTL"]
> you reported was caused by the limits.conf issue ?

Jon,

I wrote a short note about it
http://yong321.freeshell.org/oranotes/HugePages.txt

The root cause
is that process ulimit settings (as in /etc/security/limits.conf) are not used. 
To confirm, compare
`grep "locked memory" /proc/<any instance process pid>/limits' with your 
setting. You can work around
the bug by setting the limit in either $CRS_HOME/bin/ohasd or 
/etc/init.d/ohasd, but not /etc/profile
or /etc/init.d/init.ohasd

By the way, a benchmark between AMM and HugePages is something I'd like to do. 
I'll post it to the same web page if I do it. For now, like others, I strongly 
recommend HugePages. If you have a more complete sentence than "hugepages might 
have the edge [than AMM]" from Oracle support, could you let us know? Thank you.

Yong Huang



      
--
//www.freelists.org/webpage/oracle-l


Other related posts: