通用且具有洞察力的加速系统效率度量指标:在TALP中的定义与实现
Hardware-Agnostic and Insightful Efficiency Metrics for Accelerated Systems: Definition and Implementation within TALP
AI总结:
本文提出了一种通用的效率度量框架,用于评估异构加速系统的性能,通过在TALP模块中实现新指标,揭示了卸载、负载平衡和 orchestration 的效率问题。
摘要:
随着高性能计算中异构平台(结合CPU和GPU等加速器)的广泛应用,性能分析和优化面临新挑战。传统效率度量(如性能优化与生产力中心提出的方法)主要针对同构CPU系统,无法捕捉主机与设备资源之间的复杂交互。本文扩展了POP效率框架,引入新的度量层次,分别评估主机和设备效率。在主机侧,量化混合执行和卸载操作的有效性;在设备侧,提出类似主机层次的乘法层次,并定义其并行效率分支。除了定义和公式化,我们还展示了这些度量在DLB库TALP模块中的实现。TALP是一个轻量级监控库,提供事后和实时测量,输出可为文本和机器可读格式。通过合成基准和三个生产HPC应用验证了该框架,展示了度量如何揭示卸载、负载平衡和 orchestration 的低效问题。结果表明,扩展的TALP度量为开发者优化异构HPC代码提供了可操作的见解。
英文摘要:
The increasing adoption of heterogeneous platforms that combine CPUs with accelerators such as GPUs in high-performance computing (HPC) introduces new challenges for performance analysis and optimization. Traditional efficiency metrics, such as those proposed by the Performance Optimization and Productivity (POP) Center of Excellence, were designed primarily for homogeneous CPU-based systems and therefore, do not capture the complex interactions between host and device resources. In this work, we extend the POP efficiency framework to heterogeneous architectures by introducing a new hierarchy of metrics that separately evaluate host and device efficiency. On the host side, we quantify the effectiveness of hybrid execution and offloading operations. On the device side, we propose a multiplicative hierarchy analogous to the host hierarchy and define its Parallel Efficiency branch. Beyond their definition and formulation, we present the implementation of these metrics in the TALP module of the DLB library. TALP is a lightweight monitoring library that provides measurements both post mortem and at runtime, with outputs available in textual and machine-readable formats. We validate the proposed framework through synthetic benchmarks and three production HPC applications, demonstrating how the metrics expose inefficiencies in offloading, load balance, and orchestration. Results show that the extended TALP metrics provide actionable insights to guide developers in optimizing heterogeneous HPC codes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。