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

结构化并行计算调度算法分析

On the analysis of scheduling algorithms for structured parallel computations

Guilherme Rito, Hervé Paulino

摘要:

结构化并行计算的调度算法在文献中得到了广泛的研究。一段时间以来,工作窃取是最流行的调度这样的计算之一,其性能已在理论和实践中进行了研究。虽然它提供了可证明的良好性能,其底层的负载均衡策略的有效性是有限的某些类的计算,特别是那些表现出不规则的并行性(例如深度优先搜索)。许多研究已经从纯粹的负载均衡角度解决了这一限制,将计算视为独立任务的集合,然后在执行过程中分析附加到每个处理器的预期工作量。然而,这些研究作出强有力的假设,尽管是标准的排队论的角度来看-其中的工作生成可以假设遵循一些随机分布-不符合现实的结构化并行计算-其中的工作生成不是随机的,只取决于结构的计算。在本文中,我们介绍了一个正式的框架,研究结构化计算的性能,定义了一个标准,是适当的衡量其性能,并提出了一种方法,用于分析性能的随机计算。我们证明了这种方法的方便,使用它来证明工作窃取的性能是有限的,并分析了工作窃取和传播算法的性能,它克服了工作窃取的限制。

英文摘要:

Algorithms for scheduling structured parallel computations have been widely studied in the literature. For some time now, Work Stealing is one of the most popular for scheduling such computations, and its performance has been studied in both theory and practice. Although it delivers provably good performances, the effectiveness of its underlying load balancing strategy is known to be limited for certain classes of computations, particularly the ones exhibiting irregular parallelism (e.g. depth first searches). Many studies have addressed this limitation from a purely load balancing perspective, viewing computations as sets of independent tasks, and then analyzing the expected amount of work attached to each processor as the execution progresses. However, these studies make strong assumptions regarding work generation which, despite being standard from a queuing theory perspective --- where work generation can be assumed to follow some random distribution --- do not match the reality of structured parallel computations --- where the work generation is not random, only depending on the structure of a computation. In this paper, we introduce a formal framework for studying the performance of structured computation schedulers, define a criterion that is appropriate for measuring their performance, and present a methodology for analyzing the performance of randomized schedulers. We demonstrate the convenience of this methodology by using it to prove that the performance of Work Stealing is limited, and to analyze the performance of a Work Stealing and Spreading algorithm, which overcomes Work Stealing's limitation.

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

↑