arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1710.04094cs.DCcs.PF
收藏

高性能计算中成功识别性能模式的硬件事件验证

Validation of hardware events for successful performance pattern identification in High Performance Computing

Thomas Röhl, Jan Eitzinger, Georg Hager, Gerhard Wellein

摘要:

硬件性能监控(HPM)是性能分析工具的重要组成部分。虽然有像LIKWID、PAPI或内核接口perf\_event这样的接口为HPM访问提供了一些附加功能,但许多更高级别的工具将事件计数与从其他源(如函数调用跟踪)检索的结果结合起来,以获得(半)自动性能建议。然而,尽管HPM自90年代初就可用于x86系统,但实际上只有一小部分HPM功能被使用。性能模式提供了一种更全面的方法,能够识别各种性能限制效应。模式可以解决带宽饱和、负载不平衡、ccNUMA系统中的非本地数据访问或缓存行的错误共享等问题。这项工作定义了HPM事件集,这些事件集最适合识别英特尔Haswell处理器上的一系列性能模式。我们验证所选择的事件集的准确性,以达到一个可靠的模式检测机制,并指出由于硬件中的错误或限制,不能很容易地规避的缺点。

英文摘要:

Hardware performance monitoring (HPM) is a crucial ingredient of performance analysis tools. While there are interfaces like LIKWID, PAPI or the kernel interface perf\_event which provide HPM access with some additional features, many higher level tools combine event counts with results retrieved from other sources like function call traces to derive (semi-)automatic performance advice. However, although HPM is available for x86 systems since the early 90s, only a small subset of the HPM features is used in practice. Performance patterns provide a more comprehensive approach, enabling the identification of various performance-limiting effects. Patterns address issues like bandwidth saturation, load imbalance, non-local data access in ccNUMA systems, or false sharing of cache lines. This work defines HPM event sets that are best suited to identify a selection of performance patterns on the Intel Haswell processor. We validate the chosen event sets for accuracy in order to arrive at a reliable pattern detection mechanism and point out shortcomings that cannot be easily circumvented due to bugs or limitations in the hardware.

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

↑