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

分析持久化Alltoallv RMA实现用于高性能MPI通信

Analyzing Persistent Alltoallv RMA Implementations for High-Performance MPI Communication

Tennessee Tech University(田纳西理工大学)

Evelyn Namugwanya

AI总结:

本文设计并评估了基于fence和锁同步的持久化MPI RMA Alltoallv变体,针对大规模消息尺寸优化,实验证明在448进程下运行时间减少38%,并探讨了持久化与非持久化方法的性能差异及适用场景。

摘要:

集体通信操作如MPI_Alltoallv是许多HPC应用的核心,尤其在不规则消息尺寸应用中至关重要。我们设计、实现并评估了基于fence和锁同步的持久化MPI RMA Alltoallv变体,将初始化阶段与每次迭代执行分离,以实现通信元数据和窗口状态的重用。在LLNL的Dane超计算机上的基准测试显示,fence持久化变体在大消息尺寸下性能优于非持久化基线,实现高达44%的运行时间减少,并在进程数增加时提升可扩展性;在448个进程中,运行时间从2.49秒降至1.54秒(快38%)。我们进一步评估了不规则稀疏通信模式下的算法,并比较了fence和锁基设计,包括分层扩展。消息尺寸扫描和平衡模型表明,持久化在消息大小大于等于32,768字节时提供即时收益,而较小的消息因元数据摊销成本获益有限。这些结果表明,持久化RMA Alltoallv是处理大消息工作负载的实用方法,其中去除重复元数据处理使运行时间主导数据移动,如随着消息尺寸增加的时间节省所示,并阐明了fence和锁同步在现代HPC系统中的权衡。

英文摘要:

Collective communication operations such as MPI_Alltoallv are central to many HPC applications, particularly those with irregular message sizes. We design, implement, and evaluate persistent MPI RMA variants of Alltoallv based on fence and lock synchronization, separating a one time initialization phase from per iteration execution to enable reuse of communication metadata and window state across repeated epochs. Our benchmarks tested on LLNL's Dane supercomputer show that the fence-persistent variant consistently outperforms the non-persistent baseline for large message sizes, achieving up to 44% reduction in runtime and improving scalability with increasing process counts; at 448 processes the runtime decreases from 2.49s to 1.54s (38% faster). We further evaluate the algorithms under irregular sparse communication patterns and compare fence- and lock-based designs, including hierarchical extensions. Message-size sweeps and a break-even model demonstrate that persistence provides immediate payoff for messages greater or equal to 32,768 bytes, while smaller messages show limited benefit due to metadata amortization costs. These results indicate that persistent RMA Alltoallv is a practical approach for workloads with large messages, where removing repeated metadata processing leaves runtime dominated by data movement, as evidenced by the increasing time savings with message size, and they clarify the trade-offs between fence and lock synchronization on modern HPC systems.

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

↑