The invention relates to an RDMA (
Remote Direct Memory Access)
network congestion control method and
system based on dynamic
cache management. The method comprises the following steps: dividing a cache region into a global cache shared
pool and a plurality of virtual dynamic queues in a switching unit; mapping incoming RDMA data streams to corresponding virtual dynamic queues through a Hash
algorithm; monitoring the used depth of the virtual dynamic
queue, and generating a congestion
control cell which packages the ID of the virtual dynamic
queue and a rate adjustment factor according to the used depth of the virtual dynamic
queue; and transmitting the congestion
control cell to a transmitting end, and accurately adjusting the rate of the corresponding data flow by the transmitting end according to the
cell. The
system comprises a data packet dynamic
cache management module, a data packet marking and flow identification module and a
congestion management module. The problems of PFC
deadlock risk, head blockage and fairness existing in a data packet caching mode and congestion control of a traditional RDMA protocol network are solved, efficient and accurate congestion control is achieved, dependence on a PFC mechanism is reduced,
delay is reduced, fairness is improved, and the
throughput of the RDMA protocol network is improved.