arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1103.4142cs.DCcs.DS
收藏

虚假共享的随机工作窃取分析

Analysis of Randomized Work Stealing with False Sharing

Richard Cole, Vijaya Ramachandran

摘要:

本文分析了在并行环境中使用随机工作窃取(RWS)调度算法时的缓存未命中代价,并考虑了假共享的影响。首先,先前的分析(由于Acar等人)扩展到包含虚假共享。然而,为了控制可能的延迟,由于假共享,对算法的一些限制似乎是必要的。在此基础上,介绍了层次树算法,并分析了其性能。此外,本文分析了一个子类的层次树算法,称为HBP算法,使用RWS调度时的性能,改进的复杂性界限,得到这个子类。这个类是在一个同伴论文中介绍的,考虑到了高效的资源不经意计算。最后,我们注意到,在一个场景中,没有虚假的共享本文中的结果匹配缓存未命中的先验边界,但减少了假设,特别是不需要一个边界凹函数的缓存未命中的成本在先前的工作由弗里戈和Strumpen。这允许在这种情况下获得更大类算法的非平凡缓存未命中边界。

英文摘要:

This paper analyzes the cache miss cost of algorithms when scheduled using randomized work stealing (RWS) in a parallel environment, taking into account the effects of false sharing. First, prior analyses (due to Acar et al.) are extended to incorporate false sharing. However, to control the possible delays due to false sharing, some restrictions on the algorithms seem necessary. Accordingly, the class of Hierarchical Tree algorithms is introduced and their performance analyzed. In addition, the paper analyzes the performance of a subclass of the Hierarchical Tree Algorithms, called HBP algorithms, when scheduled using RWS; improved complexity bounds are obtained for this subclass. This class was introduced in a companion paper with efficient resource oblivious computation in mind. Finally, we note that in a scenario in which there is no false sharing the results in this paper match prior bounds for cache misses but with reduced assumptions, and in particular with no need for a bounding concave function for the cost of cache misses as in prior work by Frigo and Strumpen. This allows non-trivial cache miss bounds in this case to be obtained for a larger class of algorithms.

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

↑