【24h】

A Tool to Detect Performance Problems of Multi-threaded Programs on NUMA Systems

机译:用于检测NUMA系统上多线程程序性能问题的工具

获取原文
获取原文并翻译 | 示例

摘要

The multi-core architectures are nowadays characterized by Non-Uniform Memory Access (NUMA). Efficiently exploiting such architectures is extremely complicated for programmers. Multi-threaded programs may encounter high memory access latency if the mapping of data and computing is not considered carefully on such systems. Programmers need tools to detect performance problems if high memory access latency occurs. To address this need, we present a profiling tool called LaProf, which uses memory access latency information to detect performance problems on NUMA systems. This tool can be used to detect three performance problems of multi-threaded programs, which are: 1) data sharing. Shared data will cause remote memory access if threads which access the shared data are not allocated on the same node of NUMA systems, 2) shared resource contention. High memory access latency will influence the performance severely if contention happens on shared resources, such as last-level caches, inter-connect links and memory controllers, 3) remote access imbalance. The thread which has the most number of remote data access becomes the critical thread which lags down the overall performance of multi-threaded program. After the detection done by LaProf, using simple and general NUMA optimization techniques, the performance improvement for each problem is 88%, 32%, 99% respectively.
机译:如今,多核体系结构以非统一内存访问(NUMA)为特征。对于程序员而言,有效利用这种架构极其复杂。如果在此类系统上未认真考虑数据和计算的映射,则多线程程序可能会遇到较高的内存访问延迟。程序员需要一些工具来检测性能问题(如果发生高内存访问延迟)。为了满足这一需求,我们提供了一个名为LaProf的分析工具,该工具使用内存访问延迟信息来检测NUMA系统上的性能问题。该工具可用于检测多线程程序的三个性能问题,即:1)数据共享。如果未在NUMA系统的同一节点上分配访问共享数据的线程,则共享数据将导致远程内存访问,2)共享资源争用。如果在共享资源(例如最后一级的缓存,互连链接和内存控制器)上发生争用,则高内存访问延迟将严重影响性能,3)远程访问不平衡。具有最多远程数据访问权限的线程成为使多线程程序的整体性能下降的关键线程。在LaProf使用简单和通用的NUMA优化技术进行检测之后,每个问题的性能提高分别为88%,32%和99%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号