Disk Configuration; Network Configuration; Start Options - Sun Microsystems Sun GlassFish Enterprise Server 2.1 Tuning Manual

Performance tuning guide
Hide thumbs Also See for Sun GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Disk Configuration

If HTTP access is logged, follow these guidelines for the disk:
Write access logs on faster disks or attached storage.
If running multiple instances, move the logs for each instance onto separate disks as much
as possible.
Enable the disk read/write cache. Note that if you enable write cache on the disk, some
writes might be lost if the disk fails.
Consider mounting the disks with the following options, which might yield better disk
performance: nologging, directio, noatime.

Network Configuration

If more than one network interface card is used, make sure the network interrupts are not all
going to the same core. Run the following script to disable interrupts:
allpsr='/usr/sbin/psrinfo | grep -v off-line | awk '{ print $1 }''
set $allpsr
numpsr=$#
while [ $numpsr -gt 0 ];
do
shift
numpsr='expr $numpsr - 1'
tmp=1
while [ $tmp -ne 4 ];
do
/usr/sbin/psradm -i $1
shift
numpsr='expr $numpsr - 1'
tmp='expr $tmp + 1'
done
done
Put all network interfaces into a single group. For example:
$ifconfig ipge0 group webserver
$ifconfig ipge1 group webserver

Start Options

In some situations, performance can be improved by using large page sizes. The start options to
use depend on your processor architecture. The following examples show the options to start
the 32–bit Enterprise Server and the 64–bit Enterprise Server with 4–Mbyte pages.
Chapter 5 • Tuning the Operating System and Platform
Tuning UltraSPARC® T1–Based Systems
105

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun GlassFish Enterprise Server 2.1 and is the answer not in the manual?

Questions and answers

Table of Contents