arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.19562cs.DCcs.PF
收藏

动态图中的无锁PageRank计算

Lock-Free Computation of PageRank in Dynamic Graphs

Subhajit Sahu

AI总结:

针对动态图PageRank更新中屏障等待和线程故障问题,提出无锁且容错的DF_LF算法,集成Dynamic Frontier方法,平均比ND_LF快4.6倍。

摘要:

PageRank是一种根据图中顶点的邻居及其分数为顶点分配重要性的度量。近年来,人们对在动态图上计算PageRank的兴趣日益增加,其中图结构因边的插入和删除而演变。然而,传统的基于屏障的PageRank更新方法在某些图结构上会遇到显著的等待时间,导致整体运行时间较长。此外,多核架构中核心数量增加的趋势引发了对随机线程延迟和故障的担忧。在本研究中,我们提出了一种用于更新动态图上PageRank分数的无锁算法。首先,我们引入了我们的Dynamic Frontier(DF)方法,该方法以最小开销识别并处理可能改变PageRank的顶点。随后,我们将DF与我们的无锁且容错的PageRank($DF_{LF}$)集成,在其两个阶段之间结合了线程间的帮助机制。实验结果表明,$DF_{LF}$不仅消除了迭代屏障处的等待时间,还能承受随机的线程延迟和崩溃。平均而言,它比无锁的Naive-dynamic PageRank($ND_{LF}$)快4.6倍。

英文摘要:

PageRank is a metric that assigns importance to the vertices of a graph based on its neighbors and their scores. Recently, there has been increasing interest in computing PageRank on dynamic graphs, where the graph structure evolves due to edge insertions and deletions. However, traditional barrier-based approaches for updating PageRanks encounter significant wait times on certain graph structures, leading to high overall runtimes. Additionally, the growing trend of multicore architectures with increased core counts has raised concerns about random thread delays and failures. In this study, we propose a lock-free algorithm for updating PageRank scores on dynamic graphs. First, we introduce our Dynamic Frontier (DF) approach, which identifies and processes vertices likely to change PageRanks with minimal overhead. Subsequently, we integrate DF with our lock-free and fault-tolerant PageRank ($DF_{LF}$), incorporating a helping mechanism among threads between its two phases. Experimental results demonstrate that $DF_{LF}$ not only eliminates waiting times at iteration barriers but also withstands random thread delays and crashes. On average, it is 4.6x faster than lock-free Naive-dynamic PageRank ($ND_{LF}$).

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

↑