UDP Tunable Parameters
udp_xmit_hiwat
- Description
Defines the default maximum UDP socket datagram size. For more information, see udp_max_buf.
- Default
57,344 bytes
- Range
1,024 to 1,073,741,824 bytes
- Dynamic?
Yes
- When to Change
Note that an application can use setsockopt(3XNET) SO_SNDBUF to change the size for an individual socket. In general, you do not need to change the default value.
- Commitment Level
Unstable
- Change History
For information, see udp_xmit_hiwat (Solaris 9 Releases).
udp_recv_hiwat
- Description
Defines the default maximum UDP socket receive buffer size. For more information, see udp_max_buf.
- Default
57,344 bytes
- Range
128 to 1,073,741,824 bytes
- Dynamic?
Yes
- When to Change
Note that an application can use setsockopt(3XNET) SO_RCVBUF to change the size for an individual socket. In general, you do not need to change the default value.
- Commitment Level
Unstable
- Change History
For information, see udp_recv_hiwat (Solaris 9 Releases).
UDP Parameter With Additional Caution
Changing the following parameter is not recommended.
udp_max_buf
- Description
Controls how large send and receive buffers can be for a UDP socket.
- Default
2,097,152 bytes
- Range
65,536 to 1,073,741,824 bytes
- Dynamic?
Yes
- When to Change
Do not change the value. If this parameter is set to a very large value, UDP socket applications can consume too much memory.
- Commitment Level
Unstable
- Change History
For information, see udp_max_buf (Solaris 9 Releases).