Documente Academic
Documente Profesional
Documente Cultură
Tune OS Parameters_AIX.
Service
Middleware
Version
No
1.0
Date
05-June-12
Comments
New Document
Author
Rajeevreddy L
Validation
Prepared By
Verified By
Approved By
Name:Rajeevreddy L
Date :05-June-2012
Name:
Date :
Name:
Date :
Contents
Standard Operation Procedure (SOP)
Page 1 of 6
1.
INTRODUCTION.......................................................................................................................... 3
2.
1. INTRODUCTION
Page 2 of 6
This Document describes how to tune the AIX operating system to optimize the performance of
your WebSphere Application Server.
Enable Global Security for Admin Console In WAS.
Procedure
Change the following configuration settings or variables according to your needs:
TCP_TIMEWAIT
o
Description: Determines the time that must elapse before TCP/IP can release a
closed connection and reuse its resources. This interval between closure and
release is known as the TIME_WAIT state or twice the maximum segment lifetime
(2MSL) state. During this time, reopening the connection to the client and server
costs less than establishing a new connection. By reducing the value of this entry,
TCP/IP can release closed connections faster, providing more resources for new
connections. Adjust this parameter, if the running application requires rapid release
or the creation of new connections, or if a low throughput occurs due to many
connections sitting in the TIME_WAIT state.
Description: Separating your DB2 log files from the physical database files can
boost performance. You can also separate the log and the database files from the
drive that contains the Journaled File System (JFS) service. AIX uses specific
volume groups and file systems for the JFS logging.
How to view or set: Use the AIX filemon utility to view all the file system input and
output and to strategically select the file system for the DB2 log files..
Default value: The default location for the DB2 log files is often the same disk drive
where the database tables are stored.
Recommended value: Move the files to a disk that is separate from the DB2 data
and has the minimum input or output activity.
Page 3 of 6
connections. Because this value limits the number of file descriptors that a server
process might open, a value that is too low prevents optimum performance.
o
How to view or set: Perform the following steps to change the open file limit to
10,000 files:
1. Open the command window.
2. Edit the /etc/security/limits file. Add the following lines to the user account that
the WebSphere Application Server process runs on:
3. nofiles = 10000
nofiles_hard = 10000
Default value: For the AIX operating system, the default setting is 2000.
AIX TCP_KEEPIDLE
o
How to view or set: Use the no command to determine the current value or to set
the value. The change is effective until the next time you restart the machine. To
permanently change the value, add the no command to the /etc/rc.net directory. For
example:
no -o tcp_keepidle=600
TCP_KEEPINTVL
o
Description: Specifies the interval between packets that are sent to validate the
connection.
How to view or set: Use the following command to set the value to 5 seconds:
no -o tcp_keepintvl=10
TCP_KEEPINIT
Page 4 of 6
How to view or set: Use the following command to set the value to 20 seconds:
no -o tcp_keepinit=40
Allocating large pages (16 MB) for Java virtual machines heap
Some applications require a very large heap for optimal performance. Reduce the CPU
overhead of managing a large heap by using large page support that is provided by the
CPU and the operating system. The following steps allocate 4 GB of RAM as large pages
(16 MB):
1.
2.
After reboot, run the following command to enable large page support on the AIX
operating system:
vmo -p -o v_pinshm=1
3.
4.
5.
6.
Page 5 of 6
There are several concerns when enabling large pages, which can cause serious
events to occur on the machine when large pages are enabled. For more information
on AIX large pages, see the "Considerations for using large pages" section at the
following address: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?
topic=/com.ibm.aix.prftungd/doc/prftungd/large_page_ovw.htm.
If you do not want to use the large pages option, there is also a medium page option.
The medium page size option, which is similar, and has close to the same
performance gains as large pages. However, it does not involve the problems of
reserving physical memory for a specific user or process..
Results
This tuning procedure improves performance of WebSphere Application Server on the AIX
operating system.
Page 6 of 6