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

异构平台下矩阵乘法的动态调度策略分析

Analysis of Dynamic Scheduling Strategies for Matrix Multiplication on Heterogeneous Platforms

Olivier Beaumont, Loris Marchal

摘要:

超级计算机的规模和异构性的巨大增加使得预测调度算法的性能变得非常困难。因此,在运行时做出调度决策的动态解决方案已经超过了静态分配策略。Hadoop等动态计算器的简单性和效率是MapReduce框架成功的关键。诸如StarPU、PaRSEC或StarSs之类的动态图也被开发用于更受约束的计算,例如来自线性代数的任务图。为了做出它们的决定,这些运行时系统利用一些静态信息,诸如任务到关键路线的距离或者任务与计算资源(CPU、GPU等)之间的亲和性。以及诸如输入数据实际位于何处的动态信息。在本文中,我们集中在两个基本的线性代数核,即外积和矩阵乘法。对于每个问题,我们提出了几个动态策略,可以在运行时使用,我们提供了一个分析研究其理论性能。我们证明,理论分析提供了很好的估计量的通信引起的动态策略,可以用来有效地确定阈值中使用的动态调度,从而使它们之间的选择为一个给定的问题和架构。

英文摘要:

The tremendous increase in the size and heterogeneity of supercomputers makes it very difficult to predict the performance of a scheduling algorithm. Therefore, dynamic solutions, where scheduling decisions are made at runtime have overpassed static allocation strategies. The simplicity and efficiency of dynamic schedulers such as Hadoop are a key of the success of the MapReduce framework. Dynamic schedulers such as StarPU, PaRSEC or StarSs are also developed for more constrained computations, e.g. task graphs coming from linear algebra. To make their decisions, these runtime systems make use of some static information, such as the distance of tasks to the critical path or the affinity between tasks and computing resources (CPU, GPU,...) and of dynamic information, such as where input data are actually located. In this paper, we concentrate on two elementary linear algebra kernels, namely the outer product and the matrix multiplication. For each problem, we propose several dynamic strategies that can be used at runtime and we provide an analytic study of their theoretical performance. We prove that the theoretical analysis provides very good estimate of the amount of communications induced by a dynamic strategy and can be used in order to efficiently determine thresholds used in dynamic scheduler, thus enabling to choose among them for a given problem and architecture.

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

↑