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}
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.