【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系统上的性能问题。此工具可用于检测多线程程序的三个性能问题,即数据共享。如果在NUMA系统的同一节点上不分配访问共享数据的线程,则共享数据将导致远程内存访问权限; 2)共享资源争用。如果在共享资源上发生争用,例如上次级别高速缓存,连接间链路和内存控制器等争用,则高内存访问延迟将严重影响性能; 3)远程访问不平衡。具有大量远程数据访问的线程成为关键线程,延迟了多线程程序的整体性能。通过LAPROF检测完成后,使用简单和通用NUMA优化技术,每个问题的性能改善分别为88%,32%,99%。

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号