ndd -set /dev/tcp tcp_max_buf 4194304
ndd -set /dev/tcp tcp_cwnd_max 2097152
ndd -set /dev/tcp tcp_recv_hiwat 400000
ndd -set /dev/tcp tcp_xmit_hiwat 400000
NetworkConguration

Sincethe tests used multiple network interfaces, it was important to make sure that all the

networkinterfaces were not going to the same core. Network interrupts were enabled on one

strandand disabled on the remaining three strand of a core using the following script:

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

Thefollowing example shows psrinfo outputbefore running the script:

# psrinfo | more
0 on-line since 12/06/2006 14:28:34
1 on-line since 12/06/2006 14:28:35
2 on-line since 12/06/2006 14:28:35
3 on-line since 12/06/2006 14:28:35
4 on-line since 12/06/2006 14:28:35
5 on-line since 12/06/2006 14:28:35
.................

Thefollowing example shows psrinfo outputafter running the script:

0 on-line since 12/06/2006 14:28:34
1 no-intr since 12/07/2006 09:17:04
2 no-intr since 12/07/2006 09:17:04
3 no-intr since 12/07/2006 09:17:04
4 on-line since 12/06/2006 14:28:35
CongurationandTuning
SunJavaSystem Web Server 7.0 Update 1 Performance Tuning,Sizing, and Scaling Guide 106