多核机器上一个逻辑进程的细粒度并行方法

Jiawei Fei, Yiping Yao, Jing Luan, Lufan Li, Y. Bao
{"title":"多核机器上一个逻辑进程的细粒度并行方法","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":"{\"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}","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

摘要

目前,在各种并行离散事件仿真(PDES)引擎中应用的时间管理算法都将逻辑过程作为与物理过程相对应的最小并行单元,表示顺序仿真。在仿真系统运行之前,所有实体被分配到每个逻辑进程。仿真系统的并行性取决于逻辑进程之间的并行性。这种并行方法的性能受实体分配方案的影响很大。例如,当将计算热点分配给一个LP时,并行仿真的性能与串行仿真的性能几乎相同。对于热点在lp之间动态迁移的仿真,很难找到合适的实体分布方案。此外,我们总是使用尽可能多的lp来提高并行性,但这也带来了更大的通信和同步开销。针对当前仿真引擎存在的缺陷,提出了一种支持单LP细粒度并行的方法。该方法在传统时间管理算法的基础上,可以在一个LP中以多线程方式并行处理不同实体的事件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
A Fine-grained Parallel Approach for one Logical Process on Multi-core Machines
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
An Improved Similarity Calculation Algorithm Used in News Recommender System On Improving Parallel RealTime Network Simulation for Hybrid Experimentation of Software Defined Networks Immersive Virtual Reality Training Tool for IoT Device Placement A Reusable Behavior Modeling Method Based on Atom Action and Atom Condition 3D Stereo-lithographic models placed in Virtual Reality to assist in pre-operative planning
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1