arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.14285cs.DC
收藏

MPI +线程通信经验

Lessons Learned on MPI+Threads Communication

Rohit Zambre, Aparna Chandramowlishwaran

摘要:

混合MPI+线程编程正在变得越来越突出,但在实践中,与MPI无处不在模型相比,应用程序的执行速度较慢。MPI+线程应用程序的并行效率面临的最关键挑战是MPI_THREAD_MULTIPLE性能缓慢。MPI库最近在这方面取得了重大进展,但要利用它们的功能,用户必须在MPI+线程应用程序中公开通信并行性。最近的研究表明,MPI 4.0为用户提供了新的面向性能的选项,但我们对这些新机制的评估表明,它们带来了一些挑战。另一种设计是MPI端点。在本文中,我们提出了一个比较不同的设计,从MPI的最终用户的角度来看:领域科学家和应用程序开发人员。我们评估的机制,性能以外的指标,如可用性,范围和可移植性。根据经验教训,我们提出了未来的方向。

英文摘要:

Hybrid MPI+threads programming is gaining prominence, but, in practice, applications perform slower with it compared to the MPI everywhere model. The most critical challenge to the parallel efficiency of MPI+threads applications is slow MPI_THREAD_MULTIPLE performance. MPI libraries have recently made significant strides on this front, but to exploit their capabilities, users must expose the communication parallelism in their MPI+threads applications. Recent studies show that MPI 4.0 provides users with new performance-oriented options to do so, but our evaluation of these new mechanisms shows that they pose several challenges. An alternative design is MPI Endpoints. In this paper, we present a comparison of the different designs from the perspective of MPI's end-users: domain scientists and application developers. We evaluate the mechanisms on metrics beyond performance such as usability, scope, and portability. Based on the lessons learned, we make a case for a future direction.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑