LIKWID:轻量级性能工具
LIKWID: Lightweight Performance Tools
摘要:
利用当今微处理器的性能需要深入了解微体系结构,并了解线程和缓存拓扑中不断增长的复杂性。LIKWID是一组命令行实用程序,解决了四个关键问题:探测共享内存节点的线程和缓存拓扑,在程序上强制执行线程-核心亲和力,测量性能计数器指标,以及可靠的性能上限的微基准测试。此外,它包括一个mpirun包装器,允许在MPI和混合MPI/线程应用程序中的可移植线程-核心亲和力。为了展示工具集的功能,我们使用著名的OpenMP STREAM triad基准测试来展示线程关联对性能的影响,使用硬件计数器工具来研究模板代码的性能,最后展示如何检测基于ccNUMA的计算节点上的带宽问题。
英文摘要:
Exploiting the performance of today's microprocessors requires intimate knowledge of the microarchitecture as well as an awareness of the ever-growing complexity in thread and cache topology. LIKWID is a set of command line utilities that addresses four key problems: Probing the thread and cache topology of a shared-memory node, enforcing thread-core affinity on a program, measuring performance counter metrics, and microbenchmarking for reliable upper performance bounds. Moreover, it includes a mpirun wrapper allowing for portable thread-core affinity in MPI and hybrid MPI/threaded applications. To demonstrate the capabilities of the tool set we show the influence of thread affinity on performance using the well-known OpenMP STREAM triad benchmark, use hardware counter tools to study the performance of a stencil code, and finally show how to detect bandwidth problems on ccNUMA-based compute nodes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。