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 |
---|---|---|---|---|
/etc/system |
1024 |
8192 |
Process open file descriptors limit. Should account for the expected load for the associated sockets, files, and pipes, if any. |
|
/etc/system |
64 |
8192 | ||
/etc/system |
2 |
0 |
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. |
|
ndd/dev/tcp |
240000 |
60000 |
Set this parameter on clients, too. |
|
ndd/dev/tcp |
128 |
1024 | ||
ndd/dev/tcp |
1024 |
4096 | ||
ndd/dev/tcp |
480000 |
60000 | ||
tcp_keepalive_interval |
ndd/dev/tcp |
7200000 |
900000 |
For high traffic web sites, lower this value. |
ndd/dev/tcp |
3000 |
3000 |
If retransmission is greater than 30-40%, increase this value. |
|
ndd/dev/tcp |
240000 |
10000 | ||
ndd/dev/tcp |
200 |
3000 | ||
ndd/dev/tcp |
32768 |
1024 |
Set this parameter on clients, too. |
|
ndd/dev/tcp |
1 |
2 |
Slightly faster transmission of small amounts of data. |
|
ndd/dev/tcp |
8129 |
32768 |
Use this parameter to increase the transmit buffer. |
|
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/