arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.04994cs.DScs.DC
收藏

工作窃取与并行Cache复杂度分析

Analysis of Work-Stealing and Parallel Cache Complexity

Yan Gu, Zachary Napier, Yihan Sun

摘要:

在过去的十年中,并行主义变得非常流行,并且出现了许多新的并行算法和软件。随机工作窃取(RWS)调度器在这个生态系统中起着至关重要的作用。在本文中,我们研究了两个重要的课题相关的随机工作窃取调度。我们的第一个贡献是一个简化的,课堂上准备好的RWS调度程序的分析版本。RWS调度程序的理论效率已经针对各种设置进行了分析,但其中大多数都非常复杂。在本文中,我们展示了一种新的分析,我们相信它很容易理解,并且在教育中特别有用。我们避免在分析中使用潜在的功能,我们假设一个高度异步的设置,这是更现实的今天的并行机。我们的第二个和主要贡献是一些新的并行缓存复杂性的算法使用RWS调度。虽然在过去的几十年中,顺序I/O模型已经得到了很好的研究,但到目前为止,很少有结果将其扩展到并行设置。许多现有算法的并行缓存边界受跨度多项式的影响,这导致了大跨度算法的显着开销。我们的新分析扩展了并行缓存复杂性分析的范围。这使我们能够显示一系列经典算法的新的并行缓存边界。我们的结果只是一个多对数因子的下界,并显着改进以前的结果。

英文摘要:

Parallelism has become extremely popular over the past decade, and there have been a lot of new parallel algorithms and software. The randomized work-stealing (RWS) scheduler plays a crucial role in this ecosystem. In this paper, we study two important topics related to the randomized work-stealing scheduler. Our first contribution is a simplified, classroom-ready version of analysis for the RWS scheduler. The theoretical efficiency of the RWS scheduler has been analyzed for a variety of settings, but most of them are quite complicated. In this paper, we show a new analysis, which we believe is easy to understand, and can be especially useful in education. We avoid using the potential function in the analysis, and we assume a highly asynchronous setting, which is more realistic for today's parallel machines. Our second and main contribution is some new parallel cache complexity for algorithms using the RWS scheduler. Although the sequential I/O model has been well-studied over the past decades, so far very few results have extended it to the parallel setting. The parallel cache bounds of many existing algorithms are affected by a polynomial of the span, which causes a significant overhead for high-span algorithms. Our new analysis decouples the span from the analysis of the parallel cache complexity. This allows us to show new parallel cache bounds for a list of classic algorithms. Our results are only a polylogarithmic factor off the lower bounds, and significantly improve previous results.

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

↑