arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1103.6087cs.DC
收藏

SPMD型并行程序的自动性能测试

Automatic Performance Debugging of SPMD-style Parallel Programs

Xu Liu, Jianfeng Zhan, Kunlin Zhan, Weisong Shi, Lin Yuan, Dan Meng, Lei Wang

摘要:

简单程序和多数据(SPMD)编程模型广泛用于高性能计算和云计算。在本文中,我们设计并实现了一个创新的系统,AutoAnalyzer,自动调试的SPMD风格的并行程序的性能问题的过程中,包括数据汇集,性能行为分析,定位瓶颈,并揭示其根本原因。AutoAnalyzer在两个特性方面是独一无二的:第一,在没有任何先验知识的情况下,它自动定位瓶颈并揭示其根本原因,以进行性能优化;第二,在要收集和分析的性能数据的大小方面,它是轻量级的。我们的贡献有三个方面:第一,我们提出了两种有效的聚类算法,分别用于研究导致进程行为差异或代码区域行为差异的性能瓶颈的存在,同时,我们提出了两种查找瓶颈的算法;第二,基于粗糙集理论,我们提出了一种创新的方法来自动发现瓶颈的根本原因;第三,在两种不同配置的集群系统上,使用两个Fortran 77编写的生产应用程序和一个C++编写的开放源代码MPIBZIP 2(http://compression.ca/mpibzip2/)验证了本文方法的有效性和正确性。对于三个应用程序,我们还提出了一个实验方法来调查不同的指标定位瓶颈的影响。

英文摘要:

The simple program and multiple data (SPMD) programming model is widely used for both high performance computing and Cloud computing. In this paper, we design and implement an innovative system, AutoAnalyzer, that automates the process of debugging performance problems of SPMD-style parallel programs, including data collection, performance behavior analysis, locating bottlenecks, and uncovering their root causes. AutoAnalyzer is unique in terms of two features: first, without any apriori knowledge, it automatically locates bottlenecks and uncovers their root causes for performance optimization; second, it is lightweight in terms of the size of performance data to be collected and analyzed. Our contributions are three-fold: first, we propose two effective clustering algorithms to investigate the existence of performance bottlenecks that cause process behavior dissimilarity or code region behavior disparity, respectively; meanwhile, we present two searching algorithms to locate bottlenecks; second, on a basis of the rough set theory, we propose an innovative approach to automatically uncovering root causes of bottlenecks; third, on the cluster systems with two different configurations, we use two production applications, written in Fortran 77, and one open source code-MPIBZIP2 (http://compression.ca/mpibzip2/), written in C++, to verify the effectiveness and correctness of our methods. For three applications, we also propose an experimental approach to investigating the effects of different metrics on locating bottlenecks.

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

↑