Sun Microsystems 7 Security Camera User Manual


 
TABLE 4–2 Tuning64–bit Systems forPerformance 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 To increasethe transmit buer.
tcp_recv_hiwat ndd /dev/tcp 8129 400000 To increasethe receive buer.
Note that the IPGE driver version is 1.25.25.
Disk Conguration
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 Conguration
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
TuningUltraSPARC®T1–BasedSystemsforPerformanceBenchmarking
SunJavaSystemWebServer7.0Update1 PerformanceTuning,Sizing,and ScalingGuide 98