Solaris Tunable Parameters Reference Manual

UDP Tunable Parameters

This section describes some of the UDP tunable parameters.

udp_xmit_hiwat

Description

The default maximum UDP socket datagram size in bytes. For more information, see udp_max_buf.

Default

8192 bytes

Range

4096 to 65,536

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

udp_recv_hiwat

Description

The default maximum UDP socket receive buffer size in bytes. For more information, see udp_max_buf.

Default

8192 bytes

Range

4096 to 65,536

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

UDP Parameters with Additional Cautions

Changing the following parameters is not recommended unless there are extenuating circumstances that are described with each parameter.

udp_max_buf

Description

Controls how large send and receive buffers (in bytes) can be for a UDP socket.

Default

262,144 bytes

Range

65,536 to 1,073,741,824

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