Oracle iPlanet Web Proxy Server 4.0.14 Administration Guide

Solaris Performance Tuning

Various parameters in the Solaris kernel can be used to fine-tune Proxy Server performance. The following table lists some of those parameters.

Table 19–1 Solaris Performance Tuning Parameters

Parameter  

Scope  

Default Value  

Tuned Value  

Comments  

rlim_fd_max

/etc/system 

1024 

8192 

Process open file descriptors limit. Should account for the expected load for the associated sockets, files, and pipes, if any. 

rlim_fd_cur

/etc/system 

64 

8192 

 

sq_max_size

/etc/system 

Controls streams driver queue size. Setting this parameter to 0 makes means that the performance runs will not be affected by lack of buffer space. Set this parameter on clients, too. 

tcp_close_wait_interval

ndd/dev/tcp 

240000 

60000 

Set this parameter on clients, too. 

tcp_conn_req_max_q

ndd/dev/tcp 

128 

1024 

 

tcp_conn_req_max_q0

ndd/dev/tcp 

1024 

4096 

 

tcp_ip_abort_interval

ndd/dev/tcp 

480000 

60000 

 

tcp_keepalive_interval 

ndd/dev/tcp 

7200000 

900000 

For high traffic web sites, lower this value. 

tcp_rexmit_interval_initial

ndd/dev/tcp 

3000 

3000 

If retransmission is greater than 30-40%, increase this value. 

tcp_rexmit_interval_max

ndd/dev/tcp 

240000 

10000 

 

tcp_rexmit_interval_min

ndd/dev/tcp 

200 

3000 

 

tcp_smallest_anon_port

ndd/dev/tcp 

32768 

1024 

Set this parameter on clients, too. 

tcp_slow_start_initial

ndd/dev/tcp 

Slightly faster transmission of small amounts of data. 

tcp_xmit_hiwat

ndd/dev/tcp 

8129 

32768 

Use this parameter to increase the transmit buffer. 

tcp_recv_hiwat

ndd/dev/tcp 

8129 

32768 

Use this parameter to increase the receive buffer. 

For more information about these parameters, see Chapter 5 of the Sun ONE Web Server 6.1 SP6 Performance Tuning, Sizing, and Scaling Guide at:

http://docs.sun.com/app/docs/doc/819-6516/