packet-size

packet-size

Used in: packet-publisher.

Description

The packet-size element specifies the maximum and preferred UDP packet sizes. All cluster nodes must use identical maximum packet sizes. For optimal network utilization this value should be 32 bytes less then the network MTU.

When specifying a UDP packet size larger then 1024 bytes on Microsoft Windows a registry setting must be adjusted to allow for optimal transmission rates. See Forums: Coherence Support for details.

Elements

The following table describes the elements you can define within the packet-size element.

Element Required/Optional Description
<maximum-length> Required Specifies the maximum size, in bytes, of the UDP packets that will be sent and received on the unicast and multicast sockets.

This value should be at least 512; recommended value is 1468 for 100Mb, and 1Gb Ethernet. This value must be identical on all cluster nodes.

Note: Some network equipment cannot handle packets larger than 1472 bytes (IPv4) or 1468 bytes (IPv6), particularly under heavy load. If you encounter this situation on your network, this value should be set to 1472 or 1468 respectively.

Default value is 1468.
<preferred-length> Required Specifies the preferred size, in bytes, of UDP packets that will be sent and received on the unicast and multicast sockets.

This value should be at least 512 and cannot be greater than the maximum-length value; it is recommended to set the value to the same as the maximum-length value.

Default value is 1468.