Performance Patterns and Hardware Metrics on Modern Multicore Processors: Best Practices for Performance Engineering

Performance Patterns and Hardware Metrics on Modern Multicore Processors: Best Practices for Performance Engineering
复制标题

现代多核处理器的性能模式和硬件指标:性能工程的最佳实践

DOI:
10.1007/978-3-642-36949-0_50
复制
发表时间:
2012
期刊:
2004 IEEE International Conference on Cluster Computing (IEEE Cat. No.04EX935)
影响因子:
--
通讯作者:
G. Wellein
G. Wellein
中科院分区:
--
文献类型:
--
作者:
Jan Treibig;G. Hager;G. 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.