HP 9000 Containers A.03.01 on HP Integrity Server Administrator Guide HP-UX 11i v3 (5900-3112, June 2013)

# Enable trace scheduling
<executable-path> -sched_trace
# End
Reduce memory overhead:
# Reduce memory footprint
<executable-path> -mem_min
# End
Enable the use of native code for common APIs (with ARIES patch PHSS_42863 or later):
# Turn on API optimization
<executable-path> -opt_api_trans
# End
Enable preservation of shared library translations across unloads (with ARIES patch
PHSS_42863 or later):
# Turn on shared library preservation
<executable-path> -shlib_preserve
# End
# Increase ARIES private heap
<executable-path> ap_heap_ssz 8192
# End
Also, increase the value of kernel parameter pa_maxssiz_32bit by 8 MB.
NOTE: HP recommends proper testing before enabling such configurations in production because
these configuration options can have adverse impact on performance, or accuracy in some cases.
12.10.3 Tuning kernel parameters
For some applications, reducing the parameters filecache_min and filecache_max to 5-10%
of physical memory might help.
$ kctune filecache_min=5% filecache_max=10%
Compare all the kernel parameters on the Integrity server with the HP 9000 server and ensure that
the required values are set.
For any assistance with kernel tuning, contact HP-UX Support Center at http://www.hp.com/go/
hpsc.
12.10.4 Profiling ARIES emulation
You can use HP Caliper to profile ARIES emulation of an application from its startup. But, you
cannot attach caliper to an ARIES emulated process.
To profile ARIES emulation:
1. Install Caliper on the host system (global) and copy the files into the container:
$ cp -p -r /opt/caliper /var/hpsrp/<srp_name>/opt
2. Login to the container.
3. Create a directory to hold ARIES profiles:
$ mkdir /tmp/ARIES_profdb
4. Modify the application startup command:
export PA_BOOT32_DEBUG=3
export PA_BOOT64_DEBUG=3
export CALIPER_HOME=/opt/caliper
$CALIPER_HOME/bin/caliper fprof -r a \
12.10 Performance tuning 85