The invention discloses a cross-platform distributed synchronous
simulation method adopting RoCEv2, and relates to the technical field of communication
simulation, and the method comprises the following steps: configuring parameter information of a switch and nodes, and constructing a heterogeneous distributed network of a RoCEv2 enhanced network protocol; deploying a master node global logic time reference, calibrating a slave node
clock, starting a sliding window to continuously monitor offset, dynamically detecting
clock offset to trigger adjustment, optimizing a
time step length in combination with an ECN mark, and dynamically compensating the
clock offset of the heterogeneous platform; sequencing events according to logic timestamps to generate DAG topology, and preloading high-frequency events;
event data are transmitted through cross-node RDMA, and the main node is sorted and scheduled according to a logic
timestamp, so that cross-platform distributed
parallel simulation and consistency
verification are realized. The method can improve the
processing efficiency and fault-tolerant capability of the communication
simulation system on large-scale simulation, and can be widely applied to the technical field of communication simulation.