最小化内存和完工时间的树形任务图调度
Scheduling tree-shaped task graphs to minimize memory and makespan
摘要:
本文研究了使用多处理器的树形任务图的执行。这种树的每条边都代表一个大的IO文件。只有当所有输入和输出文件都适合内存时,任务才能执行,并且文件只能在消耗后才能从内存中删除。例如,这种树出现在稀疏矩阵分解的多波前方法中。所需的最大内存量取决于任务的执行顺序。对于一个处理器,树遍历的目标是最小化所需的内存。该问题已被广泛研究并提出了最优多项式算法。在这里,我们通过考虑多个处理器来扩展问题,这在矩阵因式分解的应用领域中具有明显的兴趣。随着多个处理器而来的附加目标是最小化遍历树所需的时间,即,以最小化完工时间。毫不奇怪,这个问题被证明比顺序问题要难得多。我们研究了这个问题的计算复杂性,并提供了一个不可逼近的结果,即使是单位重量的树。提出了几种算法,每种算法都有不同的优化重点,并使用逼真的树木进行了广泛的实验评估。
英文摘要:
This paper investigates the execution of tree-shaped task graphs using multiple processors. Each edge of such a tree represents a large IO file. A task can only be executed if all input and output files fit into memory, and a file can only be removed from memory after it has been consumed. Such trees arise, for instance, in the multifrontal method of sparse matrix factorization. The maximum amount of memory needed 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 the 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 an inapproximability result even for unit weight trees. Several heuristics are proposed, each with a different optimization focus, and they are analyzed in an extensive experimental evaluation using realistic trees.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。