Solaris 10 Platform-Specific Tuning Information
Solaris
Solaris Operating System (OS). You can use the DTrace Toolkit to monitor the system. The
DTrace Toolkit is available through the OpenSolaris
(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 benefits programs that open and close many sockets. Since the
Enterprise Server operates with a small fixed set of connections, the performance gain might
not be significant.
The following table shows Solaris tuning parameters that affect performance and scalability
benchmarking. These values are examples of how to tune your system for best performance.
Tuning Parameters for Solaris
TABLE 5–1
Parameter
rlim_fd_max
rlim_fd_cur
sq_max_size
tcp_close_wait_interval
tcp_time_wait_interval
Chapter 5 • Tuning the Operating System and Platform
TM
Dynamic Tracing (DTrace) is a comprehensive dynamic tracing framework for the
Scope
/etc/system
/etc/system
/etc/system
ndd /dev/tcp
ndd /dev/tcp
TM
Default
Tuned Value
65536
65536
1024
8192
2
0
240000
60000
240000
60000
Tuning for the Solaris OS
project from the
DTraceToolkit page
Comments
Limit of process open file
descriptors. Set to account for
expected load (for associated
sockets, files, and pipes if any).
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 sq_max_size
to 0 might not be optimal for
production systems with high
network traffic.
Set on clients too.
Set on clients too.
95
Need help?
Do you have a question about the Sun GlassFish Enterprise Server 2.1 and is the answer not in the manual?