Journal of System Simulation
Abstract
Abstract:FastDDS faces limitations under high-frequency data streams, such as lock contention, performance overhead from frequent context switching, and configuration complexity of multiple nodes under strict real-time constraints, which affect the experimental efficiency. This paper proposed a performance optimization method based on a batch-scalable circular queue (BSCQ). The approach replaced the traditional mutex mechanism with a lock-free algorithm to reduce lock contention and avoid deadlocks, while batch processing improved data locality, cache hit rates, and memory utilization, effectively reducing data transmission delay and improving system throughput. Hazard pointers were introduced to ensure safe memory management during batch processing and eliminate memory leak risks. Experimental results show that the optimized scheme shows significant advantages in small message and high concurrency scenarios, and its throughput and latency metrics are better than the existing baseline scheme. In addition, this method does not rely on the third-party software environment, has strong versatility and portability, and can be combined with hardware optimization or other high-performance protocols to further improve the system's performance.
Recommended Citation
Liu, Congping; Song, Wei; Fang, Jian; and Liu, Fei
(2025)
"Research on High-performance Optimization Methods for FastDDS in Heterogeneous Real-time Simulation,"
Journal of System Simulation: Vol. 37:
Iss.
7, Article 17.
DOI: 10.16182/j.issn1004731x.joss.25-0084
Available at:
https://dc-china-simulation.researchcommons.org/journal/vol37/iss7/17
First Page
1865
Last Page
1878
CLC
TP391
Recommended Citation
Liu Congping, Song Wei, Fang Jian, et al. Research on High-performance Optimization Methods for FastDDS in Heterogeneous Real-time Simulation[J]. Journal of System Simulation, 2025, 37(7): 1865-1878.
DOI
10.16182/j.issn1004731x.joss.25-0084
Included in
Artificial Intelligence and Robotics Commons, Computer Engineering Commons, Numerical Analysis and Scientific Computing Commons, Operations Research, Systems Engineering and Industrial Engineering Commons, Systems Science Commons