Sun Microsystems 820434310 Solaris 10 Platform-Specific Tuning Information, Tuning Parameters

Models: 820434310

1 128
Download 128 pages 34.03 Kb
Page 95
Image 95
Solaris 10 Platform-Specific Tuning Information

Tuning for the Solaris OS

Solaris 10 Platform-Specific Tuning Information

SolarisTM 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 OpenSolarisTM 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 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.

TABLE 5–1Tuning Parameters for Solaris

Parameter

Scope

Default

Tuned Value

Comments

 

 

 

 

 

rlim_fd_max

/etc/system

65536

65536

Limit of process open file

 

 

 

 

descriptors. Set to account for

 

 

 

 

expected load (for associated

 

 

 

 

sockets, files, 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 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.

 

 

 

 

 

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.

 

 

 

 

 

Chapter 5 • Tuning the Operating System and Platform

95

Page 95
Image 95
Sun Microsystems 820434310 Solaris 10 Platform-Specific Tuning Information, Tuning for the Solaris OS, Tuning Parameters