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

通过CXL.mem进行无消息通信潜力建模

Modeling the Potential of Message-Free Communication via CXL.mem

Technical University of Munich(慕尼黑工业大学)

Stepan Vanecek, Matthew Turner, Manisha Gajbe, Matthew Wolf, Martin Schulz

AI总结:

本文提出了一种基于CXL.mem的性能评估工具链,用于预测数据交换的潜在性能提升,并通过实验验证其在MPI应用中的优化效果。

摘要:

异构内存技术在解决HPC系统中的内存墙问题中变得越来越重要。虽然大多数技术都是在单节点设置中部署,但CXL.mem是一种可以同时连接到多个节点的内存技术,能够实现共享内存池。这为高效的节点间通信提供了新的可能性。在本文中,我们提出了一种新的性能评估工具链,结合扩展的基于消息的通信性能模型,用于预测使用CXL.mem进行数据交换的潜在性能收益。我们的方法分析MPI应用的数据访问模式:它分析节点内的MPI缓冲区访问,以及跨节点的MPI流量,以全面了解内存性能的影响。我们将这些数据结合到扩展的性能模型中,以预测哪些数据传输可以受益于直接的CXL.mem实现,而不是传统的MPI消息。我们的模型在每个MPI调用的粒度上工作,允许识别并优化代码中具有最高速度提升潜力的MPI调用。对于我们的工具链,我们扩展了内存跟踪采样工具Mitos,并使用它来提取数据访问行为。在后处理步骤中,原始数据会自动分析,为每个单独的MPI调用提供性能模型。我们通过两个示例应用——二维热传递迷你应用程序和HPCG基准测试——验证了这些模型,并利用它们展示通过集成CXL.mem进行针对性优化的支持。

英文摘要:

Heterogeneous memory technologies are increasingly important instruments in addressing the memory wall in HPC systems. While most are deployed in single node setups, CXL.mem is a technology that implements memories that can be attached to multiple nodes simultaneously, enabling shared memory pooling. This opens new possibilities, particularly for efficient inter-node communication. In this paper, we present a novel performance evaluation toolchain combined with an extended performance model for message-based communication, which can be used to predict potential performance benefits from using CXL.mem for data exchange. Our approach analyzes data access patterns of MPI applications: it analyzes on-node accesses to/from MPI buffers, as well as cross-node MPI traffic to gather a full understanding of the impact of memory performance. We combine this data in an extended performance model to predict which data transfers could benefit from direct CXL.mem implementations as compared to traditional MPI messages. Our model works on a per-MPI call granularity, allowing the identification and later optimizations of those MPI invocations in the code with the highest potential for speedup by using CXL.mem. For our toolchain, we extend the memory trace sampling tool Mitos and use it to extract data access behavior. In the post-processing step, the raw data is automatically analyzed to provide performance models for each individual MPI call. We validate the models on two sample applications -- a 2D heat transfer miniapp and the HPCG benchmark -- and use them to demonstrate their support for targeted optimizations by integrating CXL.mem.

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

↑