SABO: Dynamic MPI+OpenMP Resource Balancer

Cassandra Rocha Barbosa, Pierre Lemarinier, Guillaume Papauré, Marc Pérache, M. Krajecki
{"title":"SABO: Dynamic MPI+OpenMP Resource Balancer","authors":"Cassandra Rocha Barbosa, Pierre Lemarinier, Guillaume Papauré, Marc Pérache, M. Krajecki","doi":"10.1109/IPDRM56689.2022.00006","DOIUrl":null,"url":null,"abstract":"Scientific parallel applications often use MPI for inter-node communications and OpenMP for intra-node orches-tration. Parallel applications such as particle transport, seismic wave propagation simulator, or Finite-Element applications often exhibit workload imbalance due to their nature of ongoing data movement. These applications usually develop software balancing strategies triggered when some imbalance thresholds are detected to reduce this imbalance. These developments are complex to implement and impact the entire distributed applications' performance by synchronizing and exchanging the load over the network. This paper proposes a method to dynamically detect load imbalance and balance the computation by redistributing OpenMP threads between MPI processes local to the node. With minimal impact on the applications' codes, we demonstrate how this technique can improve the overall applications' performance up to 28% on MiniFE, 17 % on Quicksilver, and 3 % on Ondes3D. We also present its impact when executing multiple nodes and our proposed approach's limitations.","PeriodicalId":324473,"journal":{"name":"2022 IEEE/ACM Fifth Annual Workshop on Emerging Parallel and Distributed Runtime Systems and Middleware (IPDRM)","volume":"45 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE/ACM Fifth Annual Workshop on Emerging Parallel and Distributed Runtime Systems and Middleware (IPDRM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IPDRM56689.2022.00006","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Scientific parallel applications often use MPI for inter-node communications and OpenMP for intra-node orches-tration. Parallel applications such as particle transport, seismic wave propagation simulator, or Finite-Element applications often exhibit workload imbalance due to their nature of ongoing data movement. These applications usually develop software balancing strategies triggered when some imbalance thresholds are detected to reduce this imbalance. These developments are complex to implement and impact the entire distributed applications' performance by synchronizing and exchanging the load over the network. This paper proposes a method to dynamically detect load imbalance and balance the computation by redistributing OpenMP threads between MPI processes local to the node. With minimal impact on the applications' codes, we demonstrate how this technique can improve the overall applications' performance up to 28% on MiniFE, 17 % on Quicksilver, and 3 % on Ondes3D. We also present its impact when executing multiple nodes and our proposed approach's limitations.
SABO:动态MPI+OpenMP资源平衡器
科学并行应用程序通常使用MPI进行节点间通信,使用OpenMP进行节点内编排。并行应用程序,如粒子传输、地震波传播模拟器或有限元应用程序,由于其持续数据移动的性质,经常表现出工作负载不平衡。这些应用程序通常开发软件平衡策略,当检测到某些不平衡阈值时触发,以减少这种不平衡。这些开发实现起来很复杂,并且通过在网络上同步和交换负载来影响整个分布式应用程序的性能。本文提出了一种通过在节点本地的MPI进程之间重新分配OpenMP线程来动态检测负载不平衡并平衡计算的方法。在对应用程序代码影响最小的情况下,我们演示了该技术如何将整体应用程序的性能提高28%,在MiniFE上提高17%,在Ondes3D上提高3%。我们还介绍了它在执行多个节点时的影响以及我们提出的方法的局限性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信