TABLE4–2 Tuning64–bit Systems for Performance Benchmarking (Continued)
Parameter Scope DefaultValue TunedValue 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 Toincrease the transmit buer.
tcp_recv_hiwat ndd /dev/tcp 8129 400000 Toincrease the receive buer.
Notethat the IPGE driver version is 1.25.25.
Disk Conguration
IfHTTP access is logged, follow these guidelines for the disk:
Writeaccess logs on faster disks or attached storage.
Ifrunning multiple instances, move the logs for each instance onto separate disks as much
aspossible.
Enablethe disk read/write cache. Note that if you enable write cache on the disk, some
writesmight be lost if the disk fails.
Considermounting the disks with the following options, which might yield better disk
performance:nologging,directio,noatime.
NetworkConguration
Ifmore than one network interface card is used, make sure the network interrupts are not all
goingto 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
TuningUltraSPARC®T1–BasedSystems for Performance Benchmarking
SunJavaSystem Web Server 7.0 Update 1 Performance Tuning,Sizing, and Scaling Guide 98