This topic describes how to tune the HP-UX operating system to optimize the performance of your WebSphere Application Server. Because the HP-UX operating system is not a WebSphere Application Server product, be aware that it can change and results vary
Before you begin
On the HP-UX operating system, WebSphere Application Server runs on the Java virtual machine (JVM), which is based on the technology of Sun HotSpot JVM. Properly tuning this JVM significantly affects WebSphere Application Server performance by fully utilizing its performance optimizing characteristics. See the Tuning Java virtual machines topic for details on setting up the JVM on the HP-UX system. It is also important to change some parameters that are specific to the HP-UX operating system to prevent WebSphere Application Server from being deprived of resources.Why and when to perform this task
When you have a performance concern, check the operating system settings to determine if they are appropriate for your application.Steps for this task (dependent on configuration)
Tuning the HP operating system with the DB2 type 2 JDBC driver
Usage note: Use the type 4 driver for best performance and compatibility.
Another issue with the type 2 JDBC driver on the HP operating system is code page conversion. Creating the database using the UTF-8 code set avoids this problem and significantly increases performance. See the database documentation for instructions on creating databases with a specific code set. Refer to DB2 tuning parameters for information about DB2 tuning parameters.
The HP performance tuning parameters
Modify HP-UX 11i settings to significantly improve WebSphere Application Server performance. For additional information about the HP performance tuning parameters, see Performance: Resources for learning.
Kernel parameter | WebSphere Application Server setting | DB2 setting | Oracle setting |
maxuprc | -- | 512 | -- |
maxfiles | 2,048 | -- | -- |
maxfiles_lim | 2,048 | -- | -- |
nkthread | 10,000 | -- | -- |
max_thread_proc | 2,048 | -- | -- |
nproc | -- | 1,028 | -- |
nflocks | -- | 8,192 | -- |
ninode | -- | 2,048 | -- |
nfile | -- | 8,192 | -- |
msgseg | -- | 32,767 | -- |
msgmnb | -- | 65,535 | -- |
msgmax | -- | 65,535 | -- |
msgtql | -- | 1,024 | -- |
msgmap | -- | 258 | -- |
msgmni | -- | 256 | -- |
msgssz | -- | 16 | -- |
semmni | -- | 512 | 70 |
semmap | -- | 514 | -- |
semmns | -- | 1,024 | 200 |
semmnu | -- | 1,024 | -- |
shmmax | -- | 966,367,642 | 1 GB |
shmmseg | -- | 16 | 10 |
shmmni | -- | 300 | 100 |
ndd -set /dev/tcp tcp_keepalive_interval 15000
ndd -set /dev/tcp tcp_keepalive_kill 5000
Also, for the latest operating system quality pack, visit the following Web site:
Result
This tuning procedure improves performance of WebSphere Application Server on the HP-UX operating system.What to do next
After tuning your operating system for performance, consult the other tuning topics for various tuning tips.