A Fine-grained Parallel Approach for one Logical Process on Multi-core Machines

Jiawei Fei, Yiping Yao, Jing Luan, Lufan Li, Y. Bao
{"title":"A Fine-grained Parallel Approach for one Logical Process on Multi-core Machines","authors":"Jiawei Fei, Yiping Yao, Jing Luan, Lufan Li, Y. Bao","doi":"10.1145/3173519.3173541","DOIUrl":null,"url":null,"abstract":"Currently, the time management algorithms applied in various parallel discrete event simulation (PDES) engines take the logical process as the smallest parallel unit which corresponds to a physical process and represents a sequential simulation. Before the simulation system is running, all the entities are distributed to each logical process. The parallelism of the simulation system depends on the parallelism between logical processes. The performance of this parallel approach is greatly affected by the entity distribution scheme. For example, when the computing hotspots are assigned to one LP, the performance of the parallel simulation is almost the same as that of the serial simulation. And it is difficult to find a suitable entity distribution scheme when it comes to simulation with hotspots which migrate between LPs dynamically. Besides, we always use as many LPs as possible to improve parallelism, but this also brings greater communication and synchronization overhead. Focusing on these drawbacks of current simulation engines, we propose an approach which supports fine grain parallelism in one LP. Based on the traditional time management algorithms, our approach can process events of different entities in one LP in parallel with multi threads.","PeriodicalId":313480,"journal":{"name":"Proceedings of the 10th EAI International Conference on Simulation Tools and Techniques","volume":"48 1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 10th EAI International Conference on Simulation Tools and Techniques","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3173519.3173541","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Currently, the time management algorithms applied in various parallel discrete event simulation (PDES) engines take the logical process as the smallest parallel unit which corresponds to a physical process and represents a sequential simulation. Before the simulation system is running, all the entities are distributed to each logical process. The parallelism of the simulation system depends on the parallelism between logical processes. The performance of this parallel approach is greatly affected by the entity distribution scheme. For example, when the computing hotspots are assigned to one LP, the performance of the parallel simulation is almost the same as that of the serial simulation. And it is difficult to find a suitable entity distribution scheme when it comes to simulation with hotspots which migrate between LPs dynamically. Besides, we always use as many LPs as possible to improve parallelism, but this also brings greater communication and synchronization overhead. Focusing on these drawbacks of current simulation engines, we propose an approach which supports fine grain parallelism in one LP. Based on the traditional time management algorithms, our approach can process events of different entities in one LP in parallel with multi threads.
多核机器上一个逻辑进程的细粒度并行方法
目前,在各种并行离散事件仿真(PDES)引擎中应用的时间管理算法都将逻辑过程作为与物理过程相对应的最小并行单元,表示顺序仿真。在仿真系统运行之前,所有实体被分配到每个逻辑进程。仿真系统的并行性取决于逻辑进程之间的并行性。这种并行方法的性能受实体分配方案的影响很大。例如,当将计算热点分配给一个LP时,并行仿真的性能与串行仿真的性能几乎相同。对于热点在lp之间动态迁移的仿真,很难找到合适的实体分布方案。此外,我们总是使用尽可能多的lp来提高并行性,但这也带来了更大的通信和同步开销。针对当前仿真引擎存在的缺陷,提出了一种支持单LP细粒度并行的方法。该方法在传统时间管理算法的基础上,可以在一个LP中以多线程方式并行处理不同实体的事件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信