NVIDIA Holoscan SDK v3.5.0

Variable holoscan::kDefaultTCPIPSegmentSize

constexpr const char *holoscan::kDefaultTCPIPSegmentSize = "128k"

The default TCP/IP segment size used by UCX.

If the user has not explicitly set UCX_TCP_TX_SEG_SIZE and UCX_TCP_RX_SEG_SIZE, they will be set to this default value.

UCX’s default value of 8k results in slow TCP/IP + cuda_copy performance. Changing to 128k should substantially improve performance of GPU tensor transfers.

If this value is reduced from 128k, it will be necessary to also reduce kDefaultUcxSerializationBufferSize for UcxSerializationBuffer to a smaller value as that buffer must be smaller than this segment size.

Previous Variable holoscan::kDefaultSerializationBufferSize
Next Variable holoscan::kDefaultUcxPort
© Copyright 2022-2025, NVIDIA. Last updated on Sep 4, 2025.