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

现代多核处理器上的HPM辅助性能工程最佳实践

Best practices for HPM-assisted performance engineering on modern multicore processors

Jan Treibig, Georg Hager, Gerhard Wellein

摘要:

许多工具和库在现代处理器上使用硬件性能监控(HPM),使用这些数据进行性能评估并作为代码优化的起点非常流行。然而,只有在仔细解释这些数据,并且为正确的目的选择正确的指标时,这些数据才有用。我们证明了合理使用硬件性能计数器的背景下,结构化的性能工程方法的应用程序在计算科学。典型的性能模式和各自的指标签名的定义,其中一些是使用案例研究。虽然这些通用概念不依赖于特定的工具或环境,但我们将自己限制在基于x86的现代多核处理器上,并在Linux操作系统下使用likwid-perfctr工具。

英文摘要:

Many tools and libraries employ hardware performance monitoring (HPM) on modern processors, and using this data for performance assessment and as a starting point for code optimizations is very popular. However, such data is only useful if it is interpreted with care, and if the right metrics are chosen for the right purpose. We demonstrate the sensible use of hardware performance counters in the context of a structured performance engineering approach for applications in computational science. Typical performance patterns and their respective metric signatures are defined, and some of them are illustrated using case studies. Although these generic concepts do not depend on specific tools or environments, we restrict ourselves to modern x86-based multicore processors and use the likwid-perfctr tool under the Linux OS.

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

↑