LB4OMP:面向多线程应用的动态负载均衡库
LB4OMP: A Dynamic Load Balancing Library for Multithreaded Applications
AI总结:
本文提出开源动态负载均衡库 LB4OMP,集成文献中的循环调度算法,实验证明其优于 OpenMP 调度并能提升 MPI+OpenMP 百亿亿次应用性能。
摘要:
百亿亿次(Exascale)计算系统将呈现高度的层次化并行性,包含数千个计算节点,每个节点拥有数百个核心。由于多个层次都会出现负载不均衡,高效利用这种层次化并行性颇具挑战。OpenMP 是用于表达和利用不断增长的节点级并行性的最广泛使用的标准。然而,OpenMP 中的调度选项不足以解决多线程应用执行过程中出现的负载不均衡问题。OpenMP 有限的调度选项也阻碍了对新型调度技术的研究,因为这些技术需要与文献中的其他方法进行比较。本工作介绍了 LB4OMP,这是一个开源动态负载均衡库,实现了文献中成功的调度算法。LB4OMP 是一项研究基础设施,旨在推动并支持当前及未来的调度研究,从而提升多线程应用的性能。通过广泛的性能分析活动,我们评估了库中所有循环调度技术的有效性,并揭示其性能表现。结果表明,在众多“应用—系统”组合上,LB4OMP 中的调度技术优于 OpenMP 中的调度选项。使用 LB4OMP 进行节点级负载均衡可减少跨节点负载不均衡,并提升 MPI+OpenMP 应用的性能,这对 Exascale 计算至关重要。
英文摘要:
Exascale computing systems will exhibit high degrees of hierarchical parallelism, with thousands of computing nodes and hundreds of cores per node. Efficiently exploiting hierarchical parallelism is challenging due to load imbalance that arises at multiple levels. OpenMP is the most widely-used standard for expressing and exploiting the ever-increasing node-level parallelism. The scheduling options in OpenMP are insufficient to address the load imbalance that arises during the execution of multithreaded applications. The limited scheduling options in OpenMP hinder research on novel scheduling techniques which require comparison with others from the literature. This work introduces LB4OMP, an open-source dynamic load balancing library that implements successful scheduling algorithms from the literature. LB4OMP is a research infrastructure designed to spur and support present and future scheduling research, for the benefit of multithreaded applications performance. Through an extensive performance analysis campaign, we assess the effectiveness and demystify the performance of all loop scheduling techniques in the library. We show that, for numerous applications-systems pairs, the scheduling techniques in LB4OMP outperform the scheduling options in OpenMP. Node-level load balancing using LB4OMP leads to reduced cross-node load imbalance and to improved MPI+OpenMP applications performance, which is critical for Exascale computing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。