Enabling large page support (AIX)
To enable large page support in Db2® database systems on AIX® operating systems, you must configure some operating system parameters and then set the DB2_LARGE_PAGE_MEM registry variable.
Before you begin
You must have root authority to work with the AIX operating system commands.
About this task
In addition to the traditional page size of 4 KB, the POWER7 processors (and higher) on IBM® Power Systems also support variable page sizes. Applications such as IBM Db2 version 12.1 for AIX, that require intensive memory access and that use large amounts of virtual memory can gain performance improvements by using large pages.
- Setting the DB2_LARGE_PAGE_MEM registry variable also implies that the memory is pinned.
- You should be extremely cautious when configuring your system for pinning memory and supporting large pages. Pinning too much memory results in heavy paging activities for the memory pages that are not pinned. Allocating too much physical memory to large pages degrades system performance if there is insufficient memory to support the 4 KB pages.
Restrictions
When large pages are enabled for the database memory area, the self-tuning memory manager (STMM) does not tune the overall database memory configuration. Assign a specific setting to DATABASE_MEMORY based on performance requirements. STMM tunes the internal memory areas (bufferpool, locklist, shared sort, package cache) to make optimal use of the memory that is assigned to the database memory area. For more information about DATABASE MEMORY, see database_memory.
Because database memory tuning that STMM normally performs is disabled, enabling large pages should only be considered for well-defined workloads that have relatively static database memory requirement.
Procedure
To enable large page support in Db2 database systems on AIX operating systems: