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

有限内存任务树的并行调度

Parallel scheduling of task trees with limited memory

Lionel Eyraud-Dubois, Loris Marchal, Oliver Sinnen, Frédéric Vivien

摘要:

本文研究了使用多处理器的树形任务图的执行。这种树的每条边都代表一些大数据。只有当所有输入和输出数据都适合内存时,才能执行任务,并且只有在完成将数据用作输入数据的任务后,才能从内存中删除数据。例如,这种树出现在稀疏矩阵分解的多波前方法中。处理整个树所需的峰值内存取决于任务的执行顺序。对于一个处理器,树遍历的目标是最小化所需的内存。该问题已被广泛研究并提出了最优多项式算法。在这里,我们通过考虑多个处理器来扩展问题,这在矩阵因式分解的应用领域中具有明显的兴趣。多处理器的附加目标是最小化遍历树所需的时间,即,以最小化完工时间。毫不奇怪,这个问题被证明比顺序问题要难得多。我们研究了这个问题的计算复杂性,并提供了不可逼近的结果,即使是单位重量的树。我们设计了一系列实用的算法,实现了最小化峰值内存使用和最大完工时间之间的不同权衡。其中一些算法能够处理树,同时将内存使用量保持在给定的内存限制之下。在广泛的实验评估中,使用逼真的树木对不同的算法进行了评估。

英文摘要:

This paper investigates the execution of tree-shaped task graphs using multiple processors. Each edge of such a tree represents some large data. A task can only be executed if all input and output data fit into memory, and a data can only be removed from memory after the completion of the task that uses it as an input data. Such trees arise, for instance, in the multifrontal method of sparse matrix factorization. The peak memory needed for the processing of the entire tree depends on the execution order of the tasks. With one processor the objective of the tree traversal is to minimize the required memory. This problem was well studied and optimal polynomial algorithms were proposed. Here, we extend the problem by considering multiple processors, which is of obvious interest in the application area of matrix factorization. With multiple processors comes the additional objective to minimize the time needed to traverse the tree, i.e., to minimize the makespan. Not surprisingly, this problem proves to be much harder than the sequential one. We study the computational complexity of this problem and provide inapproximability results even for unit weight trees. We design a series of practical heuristics achieving different trade-offs between the minimization of peak memory usage and makespan. Some of these heuristics are able to process a tree while keeping the memory usage under a given memory limit. The different heuristics are evaluated in an extensive experimental evaluation using realistic trees.

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

↑