Cray XE系统上稠密线性代数算法性能模型的构造
Constructing Performance Models for Dense Linear Algebra Algorithms on Cray XE Systems
摘要:
隐藏或最小化通信成本是在大规模系统中获得良好性能的关键。虽然通信重叠试图隐藏通信成本,但2.5D通信避免算法通过以额外内存使用为代价减少数据传输量来提高性能可扩展性。这两种方法可以一起使用或单独使用,最佳选择取决于机器,算法和问题大小。因此,制定业绩模型对于确定每种情况的最佳选择至关重要。在本文中,我们提出了一种方法,用于构建性能模型的并行数值例程Cray XE系统。我们的模型使用便携式基准测试,测量计算成本和网络特性,以及同时访问网络所造成的性能下降。我们验证我们的方法,通过构建性能模型的2D和2.5D的方法,有和没有重叠,两个矩阵乘法算法(加农和SUMMA),三角求解(TRSM)和Cholesky。我们将这些模型提供的估计与使用Cray XE6系统的多达24,576个核心的实验结果进行比较,并预测算法在更大系统上的性能。结果证明,考虑到网络竞争时,估计显着改善。
英文摘要:
Hiding or minimizing the communication cost is key in order to obtain good performance on large-scale systems. While communication overlapping attempts to hide communications cost, 2.5D communication avoiding algorithms improve performance scalability by reducing the volume of data transfers at the cost of extra memory usage. Both approaches can be used together or separately and the best choice depends on the machine, the algorithm and the problem size. Thus, the development of performance models is crucial to determine the best option for each scenario. In this paper, we present a methodology for constructing performance models for parallel numerical routines on Cray XE systems. Our models use portable benchmarks that measure computational cost and network characteristics, as well as performance degradation caused by simultaneous accesses to the network. We validate our methodology by constructing the performance models for the 2D and 2.5D approaches, with and without overlapping, of two matrix multiplication algorithms (Cannon's and SUMMA), triangular solve (TRSM) and Cholesky. We compare the estimations provided by these models with the experimental results using up to 24,576 cores of a Cray XE6 system and predict the performance of the algorithms on larger systems. Results prove that the estimations significantly improve when taking into account network contention.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。