The invention provides an RDMA (
Remote Direct Memory Access) network transmission
packet loss recovery method and
system. The method comprises the following steps: a sending end determines that a
data stream to be transmitted is a larger or smaller
data stream based on a multiple of a bandwidth
delay product of an RDMA network; performing redundant coding and code marking on the smaller
data stream, generating a data
stream carrying a code mark and a redundant data packet, and transmitting the data
stream to a receiving end; dividing a larger data
stream into a non-
tail BDP part and a
tail BDP part based on the multiple of the bandwidth
delay product, performing redundant coding and coding marking on the
tail BDP part, and generating the tail BDP part carrying a coding mark and a redundant data packet; and transmitting a data stream formed by the non-tail BDP part and the tail BDP part carrying the coding mark and the redundant data packet to a receiving end, so that the receiving end carries out
packet loss and coding mark detection on the received data stream, and if the
packet loss and the coding mark exist, the lost data packet is recovered based on the carried redundant data packet. And if there is packet loss and there is no coding mark, requesting the sending end to select to retransmit and recover the lost data packet.