64 KB large pages are enabled by default (if they are supported on your system):
vmo -L vmm_mpsize_support- On the managed system, go to:
PropertiesAssign 16 GB huge pages to a partition by changing the partition's profile.
Go Back to the TopIf 'PoolSize' decreases, run:
kdb
memp * //NUMFRB is the number of frames in the specific memory pool.
vmpool -l * //LGPG_FREE is the amount of free large pages.
q // To quit out of kdb.
tprof -a -y
*Note: If you specify the -y flag, only the specified program and its descendents are profiled. Use the -y (Turns on the event-based profiling for only the specified command and its descendents) flag only with the -E (
ipcs -mP //Make note of the 'LGPG: -' field
vmstat -l //Make note of the 'alp' (Active Large Pages) column
svmon //Make note of the 'PageSize' and 'inuse' column.
Run the following commands to use large pages:
*Note: alp: Active Large Pages flp: Free Large Pages
as data and heap segments:
run ONE of the following commands:
ldedit -blpdata
OR
LDR_CNTRL=LARGE_PAGE=Y
export LDR_CNTRL=LARGE_PAGE=Y@LARGE_PAGE_DATA=M
as shared memory:
Modify the application to request large pages for shared memory by:
To see if the application is using large pages:
truss -d -f -o /tmp/truss.outThe 'PoolSize' for large pages (from svmon output) is NOT supposed to remain static (or stay the same) if:
- the system cannot fulfill a memory request from the 4 KB pages. VMM (Virtual Memory Manager) then:
the system cannot fulfill a memory request from the 4K pages if memory pools are unbalanced. VMM then:
*Note: Once those large pages are converted to 4K, they do NOT get converted back to large pages (of a 64 KB, 16 MB, or 16 GB size) until the system is rebooted. So, this is working as designed. An error report will get created when converting a large page to 4 KB page:
LABEL: LGPG_FREED
IDENTIFIER: C4C3339D
Date/Time: Tue Oct 14 18:53:44 CDT 2008
Sequence Number: 3349
Machine Id: 00C517B04C00
Node Id: medsg-min-prod-midr-1
Class: S
Type: INFO
Resource Name: SYSVMM
Description
ONE OR MORE LARGE PAGES HAS BEEN CONVERTED INTO PAGEABLE PAGES
Probable Causes
System at or near pinned memory limit.
Recommended Actions
Tune maxpin percentage or lgpg_regions.
Detail Data
Number of large pages attempted to free:
1
Number of large pages actually freed: