Tuning for Solaris on x86
Some of the values depend on the system resources available. After making any changes to /etc/system, reboot the machines.
File Descriptors
Add (or edit) the following lines in the /etc/system file:
set rlim_fd_max=65536
set rlim_fd_cur=65536
set sq_max_size=0
set tcp:tcp_conn_hash_size=8192
set autoup=60
set pcisch:pci_stream_buf_enable=0
These settings affect the file descriptors.
IP Stack Settings
Add (or edit) the following lines in the /etc/system file:
set ip:tcp_squeue_wput=1
set ip:tcp_squeue_close=1
set ip:ip_squeue_bind=1
set ip:ip_squeue_worker_wait=10
set ip:ip_squeue_profile=0
These settings tune the IP stack.
To preserve the changes to the file between system reboots, place the following changes to the default TCP variables in a startup script that gets executed when the system reboots:
ndd
ndd
Chapter 5 • Tuning the Operating System and Platform | 99 |