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

什么是MPI RMA?更有效地使用MPI单边通信

Quo Vadis MPI RMA? Towards a More Efficient Use of MPI One-Sided Communication

Joseph Schuchart, Christoph Niethammer, José Gracia, George Bosilca

摘要:

MPI标准长期以来通过MPI远程存储器访问(RMA)接口包含单边通信抽象。不幸的是,MPI标准4.0版本中的MPI RMA章节仍然包含对实现和用户来说众所周知和鲜为人知的短消息,这导致了潜在的非最佳使用模式。在本文中,我们确定了一组问题,并提出了方法,应用程序,以更好地表达预期使用的RMA例程,使MPI实现,以更好地适应应用程序的需求。为了增加RMA接口的灵活性,我们添加了复制窗口的功能,允许使用不同的配置访问由窗口封装的相同资源。同样,我们引入了MPI内存句柄的概念,旨在为动态窗口的内存提供生命周期保证,消除当前使用动态暴露内存的开销。我们将表明,我们的扩展提供了改进的累积延迟,减少多线程刷新的开销,并允许零开销动态内存窗口的使用。

英文摘要:

The MPI standard has long included one-sided communication abstractions through the MPI Remote Memory Access (RMA) interface. Unfortunately, the MPI RMA chapter in the 4.0 version of the MPI standard still contains both well-known and lesser known short-comings for both implementations and users, which lead to potentially non-optimal usage patterns. In this paper, we identify a set of issues and propose ways for applications to better express anticipated usage of RMA routines, allowing the MPI implementation to better adapt to the application's needs. In order to increase the flexibility of the RMA interface, we add the capability to duplicate windows, allowing access to the same resources encapsulated by a window using different configurations. In the same vein, we introduce the concept of MPI memory handles, meant to provide life-time guarantees on memory attached to dynamic windows, removing the overhead currently present in using dynamically exposed memory. We will show that our extensions provide improved accumulate latencies, reduced overheads for multi-threaded flushes, and allow for zero overhead dynamic memory window usage.

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

↑