Improving Network Performance
27
4
Improving Performance
The following section describes how to modify the user-configurable network
parameters. To obtain optimum network performance, you may need to tune
these parameters, depending on your network configuration and the type of
network traffic.
Changing the High and Low Water Marks
The maximum rate at which data is transferred between user space and kernel
space by applications that use STREAMS is controlled by the high water marks.
These parameters define the maximum amount of data that can be queued for
transmission to the TCP or UDP STREAMS modules. There are independent
send and receive high water marks for TCP and UDP applications.
When the number of bytes queued exceeds the high water mark, transmission
is halted temporarily the backlog can be cleared. The low water mark specifies
the level to which the queue must drop before transmission is restarted.
▼
To Tune the High Water Mark
Assign consistent values for the transmit and receive high water marks. The
default value (8192) assigned to these parameters is optimized for transmitting
across Ethernet connections. For applications running over FDDI, the high
water marks should be set to 32 Kbytes. Use
ndd(1M)
to change the TCP and
UDP high water marks:
1. Log in as root or become superuser.
2. Use
ndd —get
(the default) to check the current value of the TCP high
water marks (
tcp_xmit_hiwat
and
tcp_recv_hiwat
).
# ndd /dev/tcp tcp_xmit_hiwat
8192
# ndd /dev/tcp tcp_recv_hiwat
8192
Summary of Contents for 1.0
Page 13: ...Contents xiii Glossary 141 Index 147 ...
Page 14: ...xiv SunFDDI P 1 0 Adapter User s Guide May 1997 ...
Page 18: ...xviii SunFDDI P 1 0 Adapter User s Guide May 1997 ...
Page 25: ...Part1 InstallingandConfiguring SunFDDI P ...
Page 26: ......
Page 36: ...10 SunFDDI P 1 0 Adapter User s Guide May 1997 2 ...
Page 58: ...32 SunFDDI P 1 0 Adapter User s Guide May 1997 4 ...
Page 73: ...Part2 PlanningandImplementing SunFDDINetworks ...
Page 74: ......
Page 94: ...68 SunFDDI P 1 0 Adapter User s Guide May 1997 6 ...
Page 110: ...84 SunFDDI P 1 0 Adapter User s Guide May 1997 7 ...
Page 128: ...102 SunFDDI P 1 0 Adapter User s Guide May 1997 8 ...
Page 144: ...118 SunFDDI P 1 0 Adapter User s Guide May 1997 9 ...
Page 150: ...124 SunFDDI P 1 0 Adapter User s Guide May 1997 10 ...
Page 166: ...140 SunFDDI P 1 0 Adapter User s Guide May 1997 A ...
Page 172: ...146 SunFDDI P 1 0 Adapter User s Guide May 1997 ...
Page 182: ......