Beruflich Dokumente
Kultur Dokumente
Executive summary............................................................................................................................... 2
Kernel recommendations ...................................................................................................................... 2
HP-UX process management parameters ............................................................................................. 3
HP-UX file system parameters ............................................................................................................. 4
HP-UX inter-process communication parameters ................................................................................... 6
Recommendations for Oracle database tier ......................................................................................... 7
Summary ............................................................................................................................................ 7
For more information ............................................................................................................................ 8
Executive summary
This document contains recommendations for kernel parameters on HP-UX systems running Oracle®
PeopleSoft Enterprise software. The software deployments are structured around PeopleSoft Pure
Internet Architecture, which divides the installation into web, application, batch and database tiers.
Unless otherwise specified, the recommendations apply to servers supporting any tier.
This paper is intended to give an overview of base kernel parameters that should be set for PeopleSoft
systems. A system tuning exercise is always recommended before going into live production. The
kernel settings offered in this paper are meant to give a starting point for future system tuning. HP also
offers system performance tuning services for PeopleSoft systems. For more information on this service
or other specific Oracle services, please contact HP at services.oracleapps@hp.com.
Target audience: The target audience for this paper is comprised of system administrators and
technical managers for PeopleSoft deployments running on HP-UX 11i.
Kernel recommendations
PeopleSoft supports all current versions of HP-UX – 11i v1, v2, and v3 (also known as 11.11, 11.23,
and 11.31 respectively). The recommended kernel parameter values are the same for all versions. In
the tables below, an “nc” annotation for a given kernel parameter implies “no changes necessary” for
the specified operating system version, typically because the default setting is adequate. A useful
feature of HP-UX 11i v2 and later is complete documentation for all kernel parameters via the man
(1M) interface. For example, the command “man maxuprc” will display the man page for the
maxuprc kernel parameter.
The order of the changes listed in this document is important; making the changes in the order given
will avoid frustrating “input value out of bounds” and “violates interdependency rule” messages from
the System Administration Manager (SAM) tool in HP-UX 11i v1 or kcweb in HP-UX 11i v2 and later.
Kernel parameters can also be changed from the command line with kmtune (HP-UX 11i v1) or kctune
(HP-UX 11i v2 or later). See the appropriate man pages for details: http://docs.hp.com/en/B2355-
60105/kmtune.1M.html and http://docs.hp.com/en/B2355-60105/kctune.1M.html.
HP-UX 11i supports some dynamic kernel parameters (indicated in the tables below with a “yes” in
the Dyn column). The error checking by the SAM process may prevent changing those parameters
until AFTER the reboot forcing the incorporation of the other changes. A second reboot is not
required; what is required is a second invocation of SAM.
Note
Using a formula for some kernel parameters is a useful method for reducing the
number of “knobs” to turn when tuning a server for a particular workload. The default
kernel parameters for HP-UX 11i v2 and v3 have virtually eliminated the use of
formulas to allow for greater customization of kernel services. This document restores
some formula values to simplify server management for well-characterized Enterprise
deployments.
2
HP-UX process management parameters
The kernel parameters that control HP-UX process management features are shown in table 1. The
recommendations are appropriate for all tiers of a PeopleSoft deployment.
maxusers 32 128
(11i v1 only)
vps_ceiling 16 256
3
Rationale for recommendations
The changes to the max* parameters above are necessary to allow sufficient kernel resources for a
typical production deployment. Servers that support multiple environments, such as a development
and a unit test environment, may need slightly higher values. Error messages in the PeopleSoft log
files should provide insight if the configured parameters are insufficient. For example, error messages
noting “process table full” or “fork of child process failed” are usually indications that nproc and/or
maxuprc need to be increased.
Increasing swchunk facilitates adding swap space, if it becomes necessary to do so. Configuring
additional storage as device swap does not require a reboot; modifying swchunk does.
A higher setting for vps_ceiling allows the HP-UX kernel to minimize in-memory fragmentation of
applications with large data footprints. This allowance is particularly useful for PeopleSoft server
processes and Oracle RDBMS processes, both of which allocate large, contiguous memory segments
at runtime.
Note
Beginning with the September 2008 release of 11i v3 Update 3 (11.31.0809), the
HP-UX kernel supports the base_pagesize parameter to modify the smallest block of
physical memory that can be allocated to running processes. Changing this
parameter from its default value of 4 kilobytes is not recommended for PeopleSoft
systems at this time.
vx_ninode1 0 (8*NPROC)
dbc_min_pct2 yes 5 2
(filecache_min)
1
a patch included with HP-UX 11i v3 Update 3 (11.31.0809) eliminates the need to modify vx_ninode
2
dbc_min_pct and dbc_max_pct have been replaced with filecache_min and filecache_max for HP-UX 11.31
4
Rationale for recommendations
The values for dbc_min_pct and dbc_max_pct (renamed filecache_min and filecache_max for HP-UX
11i v3) should be set so as to restrict the kernel’s buffer cache to several hundred megabytes, or
around 20% of a 4GB server, 10% of an 8GB server or 2-3% of a 32GB server. Database servers
may require larger file system buffer caches if the database instance is maintained on standard file
systems and those file systems are configured so as to enable buffered I/O, which is not a
configuration recommended by either Oracle or HP.
Setting a non-zero value for vx_ninode also has a positive impact on overall file system performance.
An explicit value ensures that the kernel’s Symantec Veritas file system code does not inadvertently
consume more resources than necessary for file-system intensive applications. Changes in HP-UX
11i v2 require that the formula for vx_ninode be tied to a parameter with a fixed value, as in
NPROC, not one that is itself another formula, such as NFILE. A patch to the Veritas code was added
to HP-UX 11i v3 Update 3 (11.31.0809) to address this issue; it is not necessary to modify vx_ninode
for systems using HP-UX 11.31.0809 or later.
5
HP-UX inter-process communication parameters
The table of multi-tier recommendations below specifies the inter-process communication (IPC) control
parameters. PeopleSoft Enterprise uses the BEA Tuxedo infrastructure, which relies heavily on the IPC
features of HP-UX. These settings are required on the application and batch deployment tiers. For
more details, refer to
http://e-docs.bea.com/tuxedo/tux80/install/insappd.htm#997149.
Systems with large or multiple deployments should use the BEA utility tmloadcf to verify sufficient
allocation of IPC resources. In particular, semmnu will need to be increased for systems that will run
multiple PeopleSoft instances simultaneously (for example, a development environment alongside a
staging environment and a unit test environment).
6
Recommendations for Oracle database tier
The Oracle RDBMS software places additional requirements on HP-UX, necessitating additional kernel
parameter changes. The last table below outlines values that have been used successfully for many of
HP’s benchmarking and sizing efforts with PeopleSoft software. Always check the latest Oracle
documentation for other recommendations.
max_async_ports 50 128
(>= #ora_procs + #ora_clients)
Beginning with RDBMS 9i, Oracle provides a validation utility to perform pre-installation checks on
the target server. This utility can be very helpful at identifying appropriate kernel settings. Refer to
MetaLink note: 334563.1 for the 10g version.
Summary
Implementing the recommended parameters as described in this paper will help to overcome many
performance pitfalls common in new PeopleSoft configurations. While it is always recommended to
engage in a complete system tuning exercise, the recommendations mentioned in this white paper
will, in most cases, provide a stable platform upon which to build a PeopleSoft environment.
7
For more information
For additional information on Oracle Applications, please visit the HP alliance website at
http://www.hporacleapps.com.