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

植树以实现可扩展和高效的规范枢纽标签

Planting Trees for scalable and efficient Canonical Hub Labeling

Kartik Lakhotia, Qing Dong, Rajgopal Kannan, Viktor Prasanna

摘要:

点到点最短距离查询是图数据库应用中的一个重要原语。中心标记算法计算将PPSD查询转换为列表交集问题(通过预先计算的索引)的标记,从而实现快速查询响应。然而,构建枢纽标记在计算上是具有挑战性的。即使是基于修剪地标标记(PLL)[3]的最先进的并行算法,也受到大标签大小,违反给定网络层次结构,可扩展性差和无法处理大型图形的困扰。在本文中,我们开发了新的并行共享内存和分布式内存算法,用于构建规范枢纽标签(CHL),这是最小的大小为一个给定的网络层次结构。据我们所知,没有一个现有的并行算法保证规范标记。我们的主要贡献,PLaNT算法,规模远远超出了目前的实践的限制,完全避免节点间的通信。PLaNT还支持跨多个节点的协作标签分区方案的设计,以便完全在内存中处理标签无法在单个机器上放置的大量图形。与顺序PLL相比,我们在72线程共享内存平台上的经验证明了高达47.4倍的加速比。在一个64节点的集群上,PLaNT实现了平均42倍于单节点执行的加速。最后,我们展示了我们的方法如何展示出卓越的可扩展性-与最先进的分布式paraPLL算法相比,我们可以处理14倍大的图形(就标签大小而言),并以更快的速度构建枢纽标签数量级。

英文摘要:

Point-to-Point Shortest Distance (PPSD) query is a crucial primitive in graph database applications. Hub labeling algorithms compute a labeling that converts a PPSD query into a list intersection problem (over a pre-computed indexing) enabling swift query response. However, constructing hub labeling is computationally challenging. Even state-of-the-art parallel algorithms based on Pruned Landmark Labeling (PLL) [3], are plagued by large label size, violation of given network hierarchy, poor scalability and inability to process large graphs. In this paper, we develop novel parallel shared-memory and distributed-memory algorithms for constructing the Canonical Hub Labeling (CHL) that is minimal in size for a given network hierarchy. To the best of our knowledge, none of the existing parallel algorithms guarantee canonical labeling. Our key contribution, the PLaNT algorithm, scales well beyond the limits of current practice by completely avoiding inter-node communication. PLaNT also enables the design of a collaborative label partitioning scheme across multiple nodes for completely in-memory processing of massive graphs whose labels cannot fit on a single machine. Compared to the sequential PLL, we empirically demonstrate upto 47.4x speedup on a 72 thread shared-memory platform. On a 64-node cluster, PLaNT achieves an average 42x speedup over single node execution. Finally, we show how our approach demonstrates superior scalability - we can process 14x larger graphs (in terms of label size) and construct hub labeling orders of magnitude faster compared to state-of-the-art distributed paraPLL algorithm.

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

↑