• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (9): 47-50.

• 论文 • 上一篇    下一篇

并行仿真中全状态保存技术研究

王学慧1,曹璐2,张磊3   

  1. (1.国防科学技术大学高性能计算国家重点实验室,湖南 长沙 410073;
    2.国防科技大学电子科学与工程学院,湖南 长沙 410073;
    3.国防科技大学计算机学院,湖南长沙 410073)
  • 收稿日期:2012-04-05 修回日期:2012-06-28 出版日期:2012-09-25 发布日期:2012-09-25
  • 基金资助:

    国家自然科学基金资助项目(60803100,61103190)

Research onCopy State SavingTechnique in Parallel Simulation

WANG Xuehui1,CAO Lu2,ZHANG Lei3   

  1. (1.State Key Laboratory of High Performance Computing,National University of Defense Technology;
    2.School of Electronic Science and Engineering,National University of Defense Technology,Changsha 410073;
    3.School of Computer Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2012-04-05 Revised:2012-06-28 Online:2012-09-25 Published:2012-09-25

摘要:

乐观时间同步机制能够显著提高并行仿真的性能,但是在乐观时间推进过程中会出现因果错误,需要根据保存的状态对事件进行回退,因此事件状态保存机制是影响乐观时间推进效率的重要因素。本文首先简要介绍了并行仿真中逻辑进程的执行过程,讨论了乐观时间推进的状态保存与回退机制;然后对全状态保存技术进行了建模和理论分析,并通过实验测试了全状态保存算法的性能,测试结果验证了理论分析的正确性。

关键词: 并行仿真, 回退机制, 全状态保存, 性能分析

Abstract:

The optimistic time synchronization mechanism can dramatically improve the parallel simulation performance,but the optimistic time advancement will lead to causality error,which needsthe event rollback according to the saved state,therefore the state saving mechanism is an important factor impactingthe optimistic time advancement performance.In this paper,we first introduce the logic process execution procedure of the parallel simulation and discuss the state saving and event rollback mechanism for the optimistic time advancement;then we model and theoretically analyze the copy state saving technique,and test its performance through experiment tovalidatethe correctness of our theoretical analysis.

Key words: parallel simulation;rollback mechanism;copy state saving;performance analysis