Tuning AIX for Oracle Hyperion and Essbase Products Support Documentation for Oracle Service
Total Page:16
File Type:pdf, Size:1020Kb
Tuning AIX for Oracle Hyperion and Essbase Products Support documentation for Oracle Service. ........ Jubal Kohlmeier IBM STG Oracle Applications Enablement November 2013 © Copyright IBM Corporation, 2013. All Rights Reserved. All trademarks or registered trademarks mentioned herein are the property of their respective holders Table of contents Abstract..................................................................................................................................... 1 Introduction .............................................................................................................................. 1 Prerequisites............................................................................................................................. 1 Tuning AIX with Oracle Essbase products.............................................................................1 AIX Libraries ............................................................................................................................................ 1 Recommended Environment Variables. .................................................................................................. 1 AIX Virtual Memory Manager Settings..................................................................................................... 2 LDR_CNTRL settings .............................................................................................................................. 3 64K Page Size Support............................................................................................................................ 3 Ulimit values............................................................................................................................................. 4 NOLOG on JFS2 file systems.................................................................................................................. 4 Statistic and Configuration Tools ........................................................................................... 5 Specialized AIX Tools.............................................................................................................................. 5 Larger tools .............................................................................................................................................. 5 nmon.................................................................................................................................. 6 topas.................................................................................................................................. 6 perfpmr .............................................................................................................................. 6 obimon............................................................................................................................... 6 obidoc ................................................................................................................................ 6 Other Known Issues................................................................................................................. 7 Localhost host name degrades performance .......................................................................................... 7 Technote on DNS Lookups...................................................................................................................... 7 Synopsis: ........................................................................................................................... 7 Summary................................................................................................................................... 8 About the author....................................................................................................................... 8 Trademarks and special notices ............................................................................................. 9 IBM White paper title here http://www.ibm.com/support/techdocs © Copyright 2013, IBM Corporation Abstract This document is comprised of tuning recommendations and helpful tips, tool suggestions for aid in improving the performance of Oracle Essbase products, and for helping Oracle and IBM customers. Introduction Oracle and IBM customers sometime require help in tuning and identifying potential problems with products that execute on Power7 AIX systems. This document was based on a previous suggestion document provided by Oracle. This document has been updated to include AIX 6.1 and AIX 7.1 version. There are three different sections to the paper. They are as follows: • AIX and Oracle Hyperion and Essbase tuning recommendations. • Recommendations on performance and configuration gathering tools. • Issues that have been seen with Oracle Essbase customers that are OS issues that are not directly related to Oracle Essbase. Prerequisites It is assumed that standard AIX installation procedures and recommendations are applied prior to the additional tuning in this document. It is not the intent of this document to bypass either IBM or Oracle standard installation processes. AIX documentation provides you with information regarding tools and manuals. Tuning AIX with Oracle Essbase products This section provides examples of the correct use of subheadings, bullets, figures, code examples, and other elements used in creating white papers. AIX Libraries It is recommended that the version of xlC runtime library be at least version 11.1.0.4 or later. To find the current version type: lslpp –l xlC.aix61.rte The version of xlc compiler can be found by the command: xlC -qversion Recommended Environment Variables. It is recommended to set the following variables for Oracle Essbase version 11.x or greater products. Check the values within the current environment using the AIX env command. Tuning AIX for Oracle Hyperion and Essbase Products http://www.ibm.com/support/techdocs © Copyright 2013, IBM Corporation 1 # within format of ksh environment variables. AIXTHREAD_COND_DEBUG=OFF AIXTHREAD_MUTEX_DEBUG=OFF AIXTHREAD_MNRATIO=1:1 AIXTHREAD_SCOPE=S AIXTHREAD_MUTEX_FAST=ON SPINLOOPTIME=1000 # CC is replaced with the maximum number of physical Cores within the LPAR. MALLOCOPTIONS=multiheap: CC ,considersize YIELDLOOPTIME= CC #Where CC is set to the number of physical cores (not logical) export AIXTHREAD_COND_DEBUG export AIXTHREAD_MUTEX_DEBUG export AIXTHREAD_MNRATIO export AIXTHREAD_SCOPE export AIXTHREAD_MUTEX_FAST export SPINLOOPTIME export YIELDLOOPTIME export MALLOCOPTIONS Listing 1: Environment Variables required within the Essbase products. AIX Virtual Memory Manager Settings The table below provides the recommended values for virtual memory management. If upgrading the operating system from AIX 5.3 to either AIX 6 or AIX 7, the recommendations do not carry forward during the upgrade and must be modified manually. You can implement these settings with the AIX vmo command, which is dynamic and takes effect immediately. For example: Tuning AIX for Oracle Hyperion and Essbase Products http://www.ibm.com/support/techdocs © Copyright 2013, IBM Corporation 2 vmo -p -o maxperm%=90 -o maxclient%=90 -o minperm%=3 -o lru_file_repage=0 LDR_CNTRL settings Ensure AIX shared libraries have "read-other" permissions so that AIX will load them in global memory. Otherwise concurrent use by multiple processes will require their own CPU cache blocks. Substantial performance gains are possible when libraries are shared globally. export LDR_CNTRL=LOADPUBLIC@IGNOREUNLOAD The environment variable, LDR_CNTRL , provides a means of modifying memory and libraries behavior for applications. It is recommended that LOADPUBLIC and IGNOREUNLOAD bet set. This will improve the performance and use of memory. See the following for description of LOADPUBLIC and IGNOREUNLOAD. The LDR_CNTRL environment variable can be used to control one or more aspects of the system loader behavior. You can specify multiple options with the LDR_CNTRL variable. When specifying the option, separate the options with the '@' sign. An example of specifying multiple options is: LDR_CNTRL =PREREAD_SHLIB@LOADPUBLIC. Specifying the PREREAD_SHLIB option causes entire libraries to be read as soon as they are accessed. With VMM readahead is tuned, a library can be read from the disk and be cached in memory by the time the program starts to access its pages. While this method might use more memory, it might also enhance the performance of programs that use many shared library pages if the access pattern is non- sequential (for example, Catia). Specifying the LOADPUBLIC option directs the system loader to load all modules requested by an application into the global shared library segment. If a module cannot be loaded publicly into the global shared library segment then it is loaded privately for the application. Specifying the IGNOREUNLOAD option prevents the application from unloading libraries. This specification might prevent memory fragmentation and eliminate the overhead incurred when libraries are repeatedly loaded and unloaded. If you do not specify the IGNOREUNLOAD option, you might end up with two data instances of a module if the module was loaded at application load time and the module was then requested to be dynamically loaded and unloaded multiple times. 64K Page Size Support On POWER5+ systems, AIX 5L Version 5.3 with the 5300-04 Recommended Maintenance Package supports a new 64KB page size when running the 64-bit kernel. AIX 5L has rich support around 64KB pages, and 64KB