arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1405.2916cs.DCcs.PFcs.SE
收藏

任务并行程序性能异常的自动检测

Automatic Detection of Performance Anomalies in Task-Parallel Programs

Andi Drebes, Karine Heydemann, Antoniu Pop, Albert Cohen, Nathalie Drach

摘要:

为了有效地利用新的众核架构的资源,每个芯片集成数十个甚至数百个核,并行编程模型已经发展到暴露大量的并行性,通常以细粒度任务的形式。任务并行语言,如OpenStream、X10、Habanero Java和C或StarSs,简化了新体系结构的应用程序开发,但调优任务并行应用程序仍然是一个重大挑战。性能瓶颈可能发生在实现的任何级别,从算法级别(例如,缺乏并行性或过同步),与操作和运行时系统的交互(例如,NUMA体系结构上的数据放置),到硬件的低效使用(例如,频繁的高速缓存未命中或未对准的存储器访问);检测这样的问题并确定确切的原因是一项困难的任务。在以前的工作中,我们开发了Aftermath,一个基于跟踪的性能分析和调试的任务并行程序和运行时系统的交互式工具。与其他基于跟踪的分析工具(如Paraver或Vampir)相比,Aftermath提供了对任务的本地支持,即,适用于任务粒度性能调试的可视化、统计和分析工具。然而,该工具目前不提供对性能瓶颈的自动检测的支持,并且由用户通过将检查集中在跟踪文件的特定切片上来调查程序执行的相关方面。在本文中,我们目前正在进行的工作,指导用户通过这个过程中的两个扩展。

英文摘要:

To efficiently exploit the resources of new many-core architectures, integrating dozens or even hundreds of cores per chip, parallel programming models have evolved to expose massive amounts of parallelism, often in the form of fine-grained tasks. Task-parallel languages, such as OpenStream, X10, Habanero Java and C or StarSs, simplify the development of applications for new architectures, but tuning task-parallel applications remains a major challenge. Performance bottlenecks can occur at any level of the implementation, from the algorithmic level (e.g., lack of parallelism or over-synchronization), to interactions with the operating and runtime systems (e.g., data placement on NUMA architectures), to inefficient use of the hardware (e.g., frequent cache misses or misaligned memory accesses); detecting such issues and determining the exact cause is a difficult task. In previous work, we developed Aftermath, an interactive tool for trace-based performance analysis and debugging of task-parallel programs and run-time systems. In contrast to other trace-based analysis tools, such as Paraver or Vampir, Aftermath offers native support for tasks, i.e., visualization, statistics and analysis tools adapted for performance debugging at task granularity. However, the tool currently does not provide support for the automatic detection of performance bottlenecks and it is up to the user to investigate the relevant aspects of program execution by focusing the inspection on specific slices of a trace file. In this paper, we present ongoing work on two extensions that guide the user through this process.

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

↑