The invention discloses a cross-
data center RDMA
network congestion control method and device based on in-band telemetering, and belongs to the technical field of network transmission control. The method comprises the following steps: sending a first cross-
data center flow to an upstream DCI switch at an
initial rate; according to a Switch-INT message returned by an upstream DCI switch, a first fair rate is calculated, a second cross-
data center flow is sent to the upstream DCI switch at the first fair rate, an ACK message of a downstream data center responding to the first cross-data center flow is obtained, and the ACK message comprises a suggested rate; and generating a final rate in combination with the first fair rate and the suggested rate, and sending a third cross-data center flow to an upstream DCI switch at the final rate. According to the method, the network sensing capability of the cross-data center flow can be improved, the fairness of the flow in the data center and the cross-data center flow is improved, and the
transmission delay of the
datagram is optimized.