2 configuring driver parameters, 3 increasing tcp/ip performance, As superuser type – Sun Microsystems 2.0 User Manual
Page 31: 2 configuring driver parameters -11, 3 increasing tcp/ip performance -11
Installing SunFastEthernet Adapter 2.1 Software On Solaris 2.x Systems
3-11
3
3.6.2 Configuring Driver Parameters
The
hme
device driver, which is loaded from the CD-ROM, controls the
SUNW,hme
Ethernet device. The device driver automatically selects the link
speed using the auto-negotiation protocol with the link partner. (See
Section 3.6.5, “Auto-Negotiation.”)
You can manually configure the
hme
device driver parameters to customize
each
SUNW,hme
device in your system in one of three ways:
•
Configure the
hme
driver parameters generally for all
SUNW,hme
devices in
the system by entering the parameter variables in the
/etc/system
file.
•
Set a parameter on a per-device basis by creating the
hme.conf
file in the
/kernel/drv
directory.
•
Use the
ndd
utility to temporarily change a parameter. This change is lost
when you reboot the system.
Refer to the Platform Notes: The hme Fast Ethernet Device Driver document
(Part No: 802-5333) for more information.
3.6.3 Increasing TCP/IP Performance
The TCP/IP performance of the SunFastEthernet Adapter can be increased by
changing the TCP high water mark to 64K. This can be done with the
ndd
utility as follows.
1. As superuser type:
The changes will take effect immediately. These changes affect all the
networking interfaces in the system.
# ndd -set /dev/tcp tcp_xmit_hiwat 65535
# ndd -set /dev/tcp tcp_recv_hiwat 65535
# ndd -set /dev/tcp tcp_cwnd_max 65534