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

混合边划分器:内存约束下的大幂律图划分

Hybrid Edge Partitioner: Partitioning Large Power-Law Graphs under Memory Constraints

Ruben Mayer, Hans-Arno Jacobsen

摘要:

在内部管理和处理图结构数据的分布式系统解决了图划分问题,以最小化其通信开销和查询运行时间。除了计算复杂性--最优图划分是NP难的--另一个重要的考虑因素是内存开销。现实世界的图通常具有巨大的尺寸,使得将完整的图加载到内存中进行分区是不经济或不可行的。目前,减少内存开销的常用方法是依赖于流分区算法。虽然最新的流算法在某些图上导致合理的分区质量,但它们仍然不能完全与内存分区器竞争。在本文中,我们提出了一个新的系统,混合边缘分区(HEP),可以分区图,适合部分进入内存,同时产生高的分区质量。HEP通过将图的边集分成两个子集,可以灵活地调整其内存开销。一个子集划分NE++,一种新颖的,高效的内存算法,而另一个子集划分的流的方法。我们对大型真实世界图的评估表明,在许多情况下,HEP同时优于内存分区和流分区。因此,HEP是现有解决方案的有吸引力的替代方案,这些解决方案无法微调其存储器开销。最后,我们表明,使用HEP,我们在Spark/GraphX上实现了分布式图处理作业的显着加速,与最先进的分区算法相比。

英文摘要:

Distributed systems that manage and process graph-structured data internally solve a graph partitioning problem to minimize their communication overhead and query run-time. Besides computational complexity -- optimal graph partitioning is NP-hard -- another important consideration is the memory overhead. Real-world graphs often have an immense size, such that loading the complete graph into memory for partitioning is not economical or feasible. Currently, the common approach to reduce memory overhead is to rely on streaming partitioning algorithms. While the latest streaming algorithms lead to reasonable partitioning quality on some graphs, they are still not completely competitive to in-memory partitioners. In this paper, we propose a new system, Hybrid Edge Partitioner (HEP), that can partition graphs that fit partly into memory while yielding a high partitioning quality. HEP can flexibly adapt its memory overhead by separating the edge set of the graph into two sub-sets. One sub-set is partitioned by NE++, a novel, efficient in-memory algorithm, while the other sub-set is partitioned by a streaming approach. Our evaluations on large real-world graphs show that in many cases, HEP outperforms both in-memory partitioning and streaming partitioning at the same time. Hence, HEP is an attractive alternative to existing solutions that cannot fine-tune their memory overheads. Finally, we show that using HEP, we achieve a significant speedup of distributed graph processing jobs on Spark/GraphX compared to state-of-the-art partitioning algorithms.

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

↑