In addition to setting the NCA parameters, you can do some general system tuning to benefit NCA performance. If you are using Sun GigabitEthernet (ge driver), you should set the interface in interrupt mode for better results.
For example, a system with 4 Gbytes of memory and booted under 64–bit kernel should have the following parameters set in the /etc/system file. Use pagesize to determine your system's page size.
set sq_max_size=0 set ge:ge_intr_mode=1 set nca:nca_conn_hash_size=82500 set nca:nca_conn_req_max_q=100000 set nca:nca_conn_req_max_q0=100000 set nca:nca_ppmax=393216 set nca:nca_vpmax=393216
0 (unlimited) to MAXINT
When NCA is running on a system with a lot of memory, increase this parameter to allow drivers to queue more packets of data. If a server is under heavy load, increase this parameter so modules and drivers may process more data without dropping packets or getting backlogged.
sq_max_size=0 is intended only for benchmarks or testing environments.
Solaris 8 and later releases – Do not set this parameter to 0 on production systems. If you need to change this parameter, gradually increase this value and monitor the system.
Solaris 7 and earlier releases – Do not set this parameter to 0 on production systems. If you need to change this parameter, gradually increase this value to a maximum of 100, and monitor the system.
For information, see sq_max_size (Solaris 9 12/02 Release).
0 (queue packets to upper layers)
0 (enable) to 1 (disable)
When NCA is enabled, set this parameter to 1 so that the packet is delivered to NCA in interrupt mode for faster processing