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
Network Conguration
Since the tests used multiple network interfaces, it was important to make sure that all the
network interfaces were not going to the same core. Network interrupts were enabled on one
strand and 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
The following example shows psrinfo output before 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
.................
The following example shows psrinfo output after 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
CongurationandTuning
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide •106