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 5–1 Tuning Solaris for performance benchmarking
Parameter |
Scope |
Default Value |
Tuned Value |
Comments |
---|---|---|---|---|
/etc/system |
1024 |
8192 |
Process open file descriptors limit; should account for the expected load (for the associated sockets, files, pipes if any). |
|
/etc/system |
64 |
8192 | ||
/etc/system |
2 |
0 |
Controls streams driver queue size; setting to 0 makes it infinity so the performance runs won’t be hit by lack of buffer space. Set on clients too. |
|
ndd /dev/tcp |
240000 |
60000 |
Set on clients too. |
|
ndd /dev/tcp |
240000 |
60000 |
For Solaris 7 only. Set on clients too. |
|
ndd /dev/tcp |
128 |
1024 | ||
ndd /dev/tcp |
1024 |
4096 | ||
ndd /dev/tcp |
480000 |
60000 | ||
ndd /dev/tcp |
7200000 |
900000 |
For high traffic web sites, lower this value. |
|
ndd /dev/tcp |
3000 |
3000 |
If retransmission is greater than 30-40%, you should increase this value. |
|
ndd /dev/tcp |
240000 |
10000 | ||
ndd /dev/tcp |
200 |
3000 | ||
ndd /dev/tcp |
32768 |
1024 |
Set on clients too. |
|
ndd /dev/tcp |
1 |
2 |
Slightly faster transmission of small amounts of data. |
|
ndd /dev/tcp |
8129 |
32768 |
To increase the transmit buffer. |
|
ndd /dev/tcp |
8129 |
32768 |
To increase the receive buffer. |