Server User Manual

Table Of Contents
Solaris 10 Platform-SpecicTuning Information
Solaris
TM
Dynamic Tracing (DTrace) is a comprehensive dynamic tracing framework for the
Solaris Operating System (OS). You can use the DTrace Toolkit to monitor the system. The
DTrace Toolkit is available through the OpenSolaris
TM
project from the DTraceToolkit page
(http://www.opensolaris.org/os/community/dtrace/dtracetoolkit/)
.
Tuning for the Solaris OS
“Tuning Parameters” on page 95
“File Descriptor Setting” on page 97
Tuning Parameters
Tuning Solaris TCP/IP settings benets programs that open and close many sockets. Since the
Enterprise Server operates with a small xed set of connections, the performance gain might
not be signicant.
The following table shows Solaris tuning parameters that aect performance and scalability
benchmarking. These values are examples of how to tune your system for best performance.
TABLE 5–1 Tuning Parameters for Solaris
Parameter Scope Default Tuned Value Comments
rlim_fd_max /etc/system 65536 65536 Limit of process open le
descriptors. Set to account for
expected load (for associated
sockets, les, and pipes if any).
rlim_fd_cur /etc/system 1024 8192
sq_max_size /etc/system 2 0 Controls streams driver queue size;
setting to 0 makes it innite so the
performance runs won’t be hit by
lack of buer space. Set on clients
too. Note that setting sq_max_size
to 0 might not be optimal for
production systems with high
network trac.
tcp_close_wait_interval ndd /dev/tcp 240000 60000 Set on clients too.
tcp_time_wait_interval ndd /dev/tcp 240000 60000 Set on clients too.
Tuning for the Solaris OS
Chapter 5 • Tuning the Operating System and Platform 95