推还是拉:关于减少图计算中的通信和同步
To Push or To Pull: On Reducing Communication and Synchronization in Graph Computations
摘要:
我们通过分析处理图的最快方式来降低图处理中的通信和同步成本:将更新推到共享状态或将更新拉到私有状态。我们研究了这种推拉二分法对各种算法的适用性及其对复杂性,性能和使用的锁,原子和读/写量的影响。我们考虑11个图形算法,3个编程模型,2个图形抽象,以及各种图形族。所进行的分析说明了不同算法的推和拉变体在性能,收敛速度和代码复杂性方面的惊人差异;这些见解得到了硬件计数器性能数据的支持。我们使用这些发现来说明每个算法的哪种变体更快,并制定通用策略,实现更高的加速比。我们的见解可用于加速并行共享内存机器和分布式内存系统上的图形处理引擎或库。
英文摘要:
We reduce the cost of communication and synchronization in graph processing by analyzing the fastest way to process graphs: pushing the updates to a shared state or pulling the updates to a private state.We investigate the applicability of this push-pull dichotomy to various algorithms and its impact on complexity, performance, and the amount of used locks, atomics, and reads/writes. We consider 11 graph algorithms, 3 programming models, 2 graph abstractions, and various families of graphs. The conducted analysis illustrates surprising differences between push and pull variants of different algorithms in performance, speed of convergence, and code complexity; the insights are backed up by performance data from hardware counters.We use these findings to illustrate which variant is faster for each algorithm and to develop generic strategies that enable even higher speedups. Our insights can be used to accelerate graph processing engines or libraries on both massively-parallel shared-memory machines as well as distributed-memory systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。