Sun Microsystems Sun Java System Web Server 7 User Manual

Page of 132
TABLE 4–2
Tuning 64–bit Systems for Performance Benchmarking
(Continued)
Parameter
Scope
Default Value
Tuned Value
Comments
tcp_conn_req_max_q0
ndd /dev/tcp
1024
3000
tcp_max_buf
ndd /dev/tcp
4194304
tcp_cwnd_max
ndd/dev/tcp
2097152
tcp_xmit_hiwat
ndd /dev/tcp
8129
400000
To increase the transmit buffer.
tcp_recv_hiwat
ndd /dev/tcp
8129
400000
To increase the receive buffer.
Note that the IPGE driver version is 1.25.25.
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‘
Tuning UltraSPARC® T1–Based Systems for Performance Benchmarking
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
98