Rate This Document
Findability
Accuracy
Completeness
Readability

Recommended Configuration of HCOM Environment Variables

TCP Scenario

Table 1 Variable configuration for the TCP scenario

Item

Description

Default Value

MR_SEND_RECEIVE_SEG_SIZE

Buffer sizes of the buffer pools on the TX and RX sides. (Set this parameter on the server.) You can increase the value of this parameter when a large message is sent at a time.

NOTE:

The value of MR_SEND_RECEIVE_SEG_SIZE must be the same as that of MR_SEND_RECEIVE_SEG_SIZE_CLIENT.

2,360,320

MR_SEND_RECEIVE_SEG_COUNT

Maximum number of buffers in the buffer pools on the TX and RX sides. (Set this parameter on the server.)

512

MR_SEND_RECEIVE_SEG_SIZE_CLIENT

Buffer sizes of the buffer pools on the TX and RX sides. (Set this parameter on the client.)

NOTE:

The value of MR_SEND_RECEIVE_SEG_SIZE must be the same as that of MR_SEND_RECEIVE_SEG_SIZE_CLIENT.

2,360,320

MR_SEND_RECEIVE_SEG_COUNT_CLIENT

Maximum number of buffers in the buffer pools on the TX and RX sides. (Set this parameter on the client.)

128

HEART_BEAT_IDLE_TIME

Interval for sending heartbeat messages.

60

HEART_BEAT_PROBE_TIME

Maximum number of times that keepalive probe packets can be sent (not applicable to RDMA).

1

HEART_BEAT_PROBE_TIME_INTERVAL

Interval for sending keepalive probe packets if no acknowledgement is received from the peer end.

60

HCOM_MAX_CONNECTION

Maximum number of connections to the server.

10000

UCX_TCP_PORT_RANGE

Dynamic port range.

60000~61000

RC MLX5 Scenario

Table 2 Variable configuration for the RC mlx5 scenario

Item

Description

Default Value

QP_SEND_QUEUE_SIZE

Maximum length of a CQ in a QP on the TX side, which limits the total number of sent requests.

4096

QP_RECEIVE_QUEUE_SIZE

Length of the RX queue in a QP.

4096

MAX_POST_SEND_COUNT_PER_QP

Maximum number of packets that can be sent bilaterally over a single link when the RDMA protocol is used. The value is less than or equal to prePostReceiveSizePerQP.

16

PRE_POST_RECEIVE_SIZE_PER_QP

Maximum number of packets that can be received bilaterally over a single link when the RDMA protocol is used.

16