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

在小簇中高效处理超大型图

Efficient Processing of Very Large Graphs in a Small Cluster

Da Yan, Yuzhen Huang, James Cheng, Huanhuan Wu

摘要:

受Google的Pregel成功的启发,最近开发了许多用于大图迭代计算的系统。这些系统提供了一个用户友好的顶点为中心的编程接口,其中程序员只需要指定一个通用顶点的行为时,开发一个并行图形算法。然而,大多数现有的系统要求输入图驻留在集群中的机器的存储器中,并且少数核外系统遭受诸如稀疏计算工作量的效率差、对网络带宽的高要求以及由外部存储器连接和分组引起的昂贵成本等问题。在本文中,我们介绍了GraphD系统的用户处理非常大的图形与普通的计算资源。GraphD通过在本地磁盘上流式传输边缘和消息,同时并行传输消息,将计算与通信完全重叠。对于消息合并器适用的Pregel算法,GraphD消除了任何昂贵的外部内存连接或group-by的需要。这些关键技术使GraphD能够实现与内存中Pregel类似系统相当的性能,而无需在内存中保留边缘和消息。我们证明了使用GraphD用n台机器处理图G=(V,E),每台机器只需要O(|V| /n)的内存空间,允许GraphD扩展到非常大的图与一个小的集群。大量的实验表明,GraphD以数量级击败了现有的核外系统,并实现了与运行足够内存的内存系统相当的性能。

英文摘要:

Inspired by the success of Google's Pregel, many systems have been developed recently for iterative computation over big graphs. These systems provide a user-friendly vertex-centric programming interface, where a programmer only needs to specify the behavior of one generic vertex when developing a parallel graph algorithm. However, most existing systems require the input graph to reside in memories of the machines in a cluster, and the few out-of-core systems suffer from problems such as poor efficiency for sparse computation workload, high demand on network bandwidth, and expensive cost incurred by external-memory join and group-by. In this paper, we introduce the GraphD system for a user to process very large graphs with ordinary computing resources. GraphD fully overlaps computation with communication, by streaming edges and messages on local disks, while transmitting messages in parallel. For a broad class of Pregel algorithms where message combiner is applicable, GraphD eliminates the need of any expensive external-memory join or group-by. These key techniques allow GraphD to achieve comparable performance to in-memory Pregel-like systems without keeping edges and messages in memories. We prove that to process a graph G=(V, E) with n machines using GraphD, each machine only requires O(|V|/n) memory space, allowing GraphD to scale to very large graphs with a small cluster. Extensive experiments show that GraphD beats existing out-of-core systems by orders of magnitude, and achieves comparable performance to in-memory systems running with enough memories.

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

↑