Académique Documents
Professionnel Documents
Culture Documents
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
• Tuning the HP operating system with the DB2 type 2 JDBC driver
When using the type 2 Java Database Connectivity (JDBC) driver on the HP operating system
with DB2, you can increase the performance of WebSphere Application Server by
preallocating the DB2 trace segment. Perform the following steps:
1. Before starting Application Server, switch to the user that is associated with the DB2
instance.
2. Run the db2trc alloc command.
3. Start Application Server.
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.
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 --
semmnu -- 1,024 --
shmmax -- 966,367,642 1 GB
shmmseg -- 16 10
How to view or set: Use the HP-UX SAM utility to set the kernel
parameters. See the documentation for your operating system for directions.
Default value: None
Recommended value: See table
o TCP_KEEPALIVE_INTERVAL
Description: Determines the interval between probes.
How to view or set: Use the ndd command to determine the current value
or to set the value. For example:
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.
Result
This tuning procedure improves the performance of WebSphere Application Server on the Solaris
operating system.
What to do next
After tuning your operating system for performance, consult the other tuning topics for various tuning
tips.
no -o tcp_keepidle=600
no -a tcp_keepintvl=5
no -a tcp_keepinit=20
Result
This tuning procedure improves performance of WebSphere Application Server on the AIX operating
system.
What to do next
After tuning your operating system for performance, consult the other tuning topics for various tuning
tips.