arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.01764cs.DC
收藏

基于跟踪的 MPI 应用性能时间分辨分析使用标准指标

Trace-based, time-resolved analysis of MPI application performance using standard metrics

High Performance Computing Center Stuttgart (HLRS), University of Stuttgart(斯图加特高性能计算中心(HLRS),斯图加特大学)

Kingshuk Haldar

AI总结:

本文提出了一种基于跟踪的时间分辨分析方法,用于评估 MPI 应用的性能,通过离散化执行跟踪来计算标准指标,揭示局部性能瓶颈。

摘要:

对 MPI 应用进行详细跟踪分析对于性能工程至关重要,但随着跟踪大小的增长和复杂通信行为的出现,全面的视觉检查往往变得不切实际。本文提出了一种基于跟踪的方法,通过将执行跟踪离散化为固定或自适应时间段,计算时间分辨的标准 MPI 性能指标、负载平衡、序列化和传输效率的值。实现过程处理 Paraver 跟踪的 postmortem,重建关键执行路径并处理常见的事件异常,如时钟不一致和不匹配的 MPI 事件,以在每个时间段内稳健地计算指标。计算的每个窗口指标值暴露了时间聚合指标可能掩盖的瞬时性能瓶颈。在合成基准和真实世界应用(LaMEM 和 ls1-MarDyn)上的评估展示了时间分辨指标如何揭示被全局聚合掩盖的局部性能瓶颈,即使跟踪可视化不现实,也提供了一种轻量且可扩展的替代方案。

英文摘要:

Detailed trace analysis of MPI applications is essential for performance engineering, but growing trace sizes and complex communication behaviour often render comprehensive visual inspection impractical. This work presents a trace-based calculation of time-resolved values of standard MPI performance metrics, load balance, serialisation, and transfer efficiency, by discretising execution traces into fixed or adaptive time segments. The implementation processes Paraver traces postmortem, reconstructing critical execution paths and handling common event anomalies, such as clock inconsistencies and unmatched MPI events, to robustly calculate metrics for each segment. The calculated per-window metric values expose transient performance bottlenecks that the timeaggregated metrics from existing tools may conceal. Evaluations on a synthetic benchmark and real-world applications (LaMEM and ls1-MarDyn) demonstrate how time-resolved metrics reveal localised performance bottlenecks obscured by global aggregates, offering a lightweight and scalable alternative even when trace visualisation is impractical.

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

↑