
Tuning Solaris for Performance Benchmarking
The following table shows the operating system tuning for Solaris used when benchmarking for
performance and scalability. These values are an example of how you might tune your system to
achieve the desired result.
TABLE 4–1
Tuning Solaris for Performance Benchmarking
Parameter
Scope
Default Value
Tuned Value
Comments
rlim_fd_max
/etc/system
65536
65536
Process open file descriptors limit;
should account for the expected load
(for the associated sockets, files, and
pipes if any).
sq_max_size
/etc/system
2
0
Controls streams driver queue size;
setting to 0 makes it infinite so the
performance runs won’t be hit by lack
of buffer space. Set on clients too.
Note that setting s
q_max_size
to 0
might not be optimal for production
systems with high network traffic.
tcp_time_wait_interval
ndd /dev/tcp
240000
60000
Set 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%, you should 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 on clients too.
tcp_slow_start_initial
ndd /dev/tcp
1
2
Slightly faster transmission of small
amounts of data.
tcp_xmit_hiwat
ndd /dev/tcp
8129
32768
To increase the transmit buffer.
tcp_recv_hiwat
ndd /dev/tcp
8129
32768
To increase the receive buffer.
Tuning Solaris for Performance Benchmarking
Sun Java System Web Server 7.0 Update 1 Performance Tuning, Sizing, and Scaling Guide •
96
Содержание Sun Java System Web Server 7.0
Страница 9: ...Figures FIGURE 2 1 Web Server Connection Handling 40 9 ...
Страница 10: ...10 ...
Страница 18: ...18 ...
Страница 38: ...38 ...
Страница 84: ...84 ...
Страница 100: ...100 ...