Probabilistic Analysis of Parallel Program with Partially Eliminated Barriers

N. Yonezawa, Ken'ichi Katou, I. Kino, K. Wada
{"title":"Probabilistic Analysis of Parallel Program with Partially Eliminated Barriers","authors":"N. Yonezawa, Ken'ichi Katou, I. Kino, K. Wada","doi":"10.1109/TrustCom.2013.228","DOIUrl":null,"url":null,"abstract":"Since barrier synchronization is a simple means to guarantee the order of data producing and data consuming, it is often used in parallel programs. However, barrier synchronization causes the processors' idle time to increase. To reduce the overhead of barrier synchronization, we have proposed an algorithm which eliminates barrier synchronizations and evaluated its validity experimentally in our previous study. In this paper, we model the behavior of parallel programs and proposed a dependency matrix to represent dependencies among processors. Using the behavioral model, we evaluated the execution time of parallel programs which have three typical dependency patterns. Based on results, we found that 1) if a processors depends on less other processors, the obtained effect of eliminating barriers is higher, 2) even if the number of directly-depended processors is the same between two dependency patterns, less indirectly-depended processors in all previous phases provide more effect of eliminating barriers.","PeriodicalId":206739,"journal":{"name":"2013 12th IEEE International Conference on Trust, Security and Privacy in Computing and Communications","volume":"9 14","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 12th IEEE International Conference on Trust, Security and Privacy in Computing and Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TrustCom.2013.228","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Since barrier synchronization is a simple means to guarantee the order of data producing and data consuming, it is often used in parallel programs. However, barrier synchronization causes the processors' idle time to increase. To reduce the overhead of barrier synchronization, we have proposed an algorithm which eliminates barrier synchronizations and evaluated its validity experimentally in our previous study. In this paper, we model the behavior of parallel programs and proposed a dependency matrix to represent dependencies among processors. Using the behavioral model, we evaluated the execution time of parallel programs which have three typical dependency patterns. Based on results, we found that 1) if a processors depends on less other processors, the obtained effect of eliminating barriers is higher, 2) even if the number of directly-depended processors is the same between two dependency patterns, less indirectly-depended processors in all previous phases provide more effect of eliminating barriers.
部分消除障碍并行程序的概率分析
由于屏障同步是保证数据产生和数据消费顺序的一种简单方法,因此它经常用于并行程序中。但是,屏障同步会导致处理器的空闲时间增加。为了减少屏障同步的开销,我们在之前的研究中提出了一种消除屏障同步的算法,并对其有效性进行了实验评估。本文建立了并行程序的行为模型,并提出了一个依赖矩阵来表示处理器之间的依赖关系。利用行为模型对具有三种典型依赖模式的并行程序的执行时间进行了评估。结果表明:1)一个处理器对其他处理器的依赖越少,所获得的消除壁垒效果越高;2)即使两个依赖模式之间直接依赖的处理器数量相同,在所有阶段中间接依赖的处理器越少,所获得的消除壁垒效果越好。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信