A hierarchical parallel discrete event simulation kernel for multicore platform

被引:8
作者
Tang Wenjie [1 ]
Yao Yiping [1 ]
Zhu Feng [1 ]
机构
[1] Natl Univ Def Technol, Sch Comp Sci, Changsha, Hunan, Peoples R China
来源
CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS | 2013年 / 16卷 / 03期
基金
中国国家自然科学基金; 湖南省自然科学基金;
关键词
Multicore; Parallel discrete event simulation; Hierarchical simulation kernel;
D O I
10.1007/s10586-012-0201-3
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The development of CPU has stepped into the era of multicore. Current parallel simulation kernel utilizes multicore resource by multi-process, which leads to inefficiency on communication and synchronization. To fulfill this gap, we proposed a HPSK (hierarchical parallel simulation kernel) model, which schedules logical processes and executes events in parallel with multithread paradigm. Based on this model, three key algorithms were proposed to support high performance: (1) An event management algorithm was proposed to improve the efficiency of creation and release of events. It uses a lock-free creation and asynchronous commitment mechanism to decouple the relationship between threads, hence reduce the overhead of locks. (2) A pointer-based communication algorithm was proposed to improve efficiency of communication between threads. It uses a buffer mechanism to avoid interrupting the execution of target thread. The target thread will read events from the buffers when it needs. By using ring-structure buffers, synchronization between sending and receiving of threads can be annihilated. (3) An approximate method was proposed to compute LBTS (Lower Bound on Time Stamp). It uses an asynchronous mechanism to eliminate disturbing of thread execution and a two-level filter mechanism to reduce redundant LBTS computation. A series of experiments with a modified phold model show that HPSK can achieve good performance for applications on different conditions. It can run 8x faster than mu sik when event locality and lookahead is low.
引用
收藏
页码:379 / 387
页数:9
相关论文
共 27 条
[1]  
Akhter S., 2006, MULTICORE PROGRAMMIN, V1st
[2]  
[Anonymous], 2000, PARALLEL DISTRIBUTED
[3]  
[Anonymous], 2006, Technical Report
[4]   Parser: A parallel simulation environment for complex systems [J].
Bagrodia, R ;
Meyer, R ;
Takai, M ;
Chen, YA ;
Zeng, XA ;
Martin, J ;
Song, HY .
COMPUTER, 1998, 31 (10) :77-+
[5]  
Berger ED, 2000, ACM SIGPLAN NOTICES, V35, P117, DOI 10.1145/384264.379232
[6]   ROSS: A high-performance, low memory, modular time warp system [J].
Carothers, CD ;
Bauer, D ;
Pearce, S .
PADS 2000: FOURTEENTH WORKSHOP ON PARALLEL AND DISTRIBUTED SIMULATION, PROCEEDINGS, 2000, :53-60
[7]  
Chen D., J SUPERCOMP IN PRESS, DOI [10.1007/s11227-011-0675-4.28, DOI 10.1007/S11227-011-0675-4.28]
[8]   Synchronization in federation community networks [J].
Chen, Dan ;
Turner, Stephen J. ;
Cai, Wentong ;
Theodoropoulos, Georgicis K. ;
Xiong, Muzhou ;
Lees, Michael .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2010, 70 (02) :144-159
[9]  
DAS S, 1994, 1994 WINTER SIMULATION CONFERENCE PROCEEDINGS, P1332
[10]  
Dice D., 2002, P 2002 INT S MEM MAN, P269