arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.07732cs.DS
收藏

在边缘设备上划分万亿边规模的图

Partitioning Trillion Edge Graphs on Edge Devices

Adil Chhabra, Florian Kurpicz, Christian Schulz, Dominik Schweisgut, Daniel Seemaier

AI总结:

针对大规模图划分内存开销高的问题,提出StreamCPI框架,通过游程压缩降低流式划分器内存,改进LA-vector支持追加,实现边缘设备上万亿边图的高质量划分。

摘要:

处理包含数十亿实体的大规模图在生物信息学、高性能计算、导航与路径规划等众多领域都至关重要。高效的图划分(即将图划分为若干子图同时最小化块间边数)是图处理的核心,因为它能优化并行计算并提升数据局部性。传统内存划分器(如METIS和KaHIP)能提供高质量划分,但由于内存开销巨大,通常无法处理超大规模图。流式划分器通过顺序加载节点并实时将其分配到各个块,将内存使用量降至O(n),其中n为图的节点数。本文提出了StreamCPI,这是一种新颖的框架,通过对块分配进行游程编码压缩,进一步降低了流式划分器的内存开销。值得注意的是,StreamCPI能够在边缘设备上实现万亿边图的划分。此外,在该框架内,我们对LA-vector位向量提出了改进,使其支持追加操作,该改进可用于其他流式应用中的在线游程压缩。实验结果表明,StreamCPI在降低内存使用的同时,保持甚至提升了划分质量。例如,借助StreamCPI,Fennel划分器能够在树莓派上有效划分一个包含170亿个节点和1.03万亿条边的图,其求解质量显著优于Hashing——后者是边缘设备上唯一另一种可行的算法。因此,StreamCPI通过在低成本设备上实现高质量划分,推动了图处理技术的发展。

英文摘要:

Processing large-scale graphs, containing billions of entities, is critical across fields like bioinformatics, high-performance computing, navigation and route planning, among others. Efficient graph partitioning, which divides a graph into sub-graphs while minimizing inter-block edges, is essential to graph processing, as it optimizes parallel computing and enhances data locality. Traditional in-memory partitioners, such as METIS and KaHIP, offer high-quality partitions but are often infeasible for enormous graphs due to their substantial memory overhead. Streaming partitioners reduce memory usage to O(n), where 'n' is the number of nodes of the graph, by loading nodes sequentially and assigning them to blocks on-the-fly. This paper introduces StreamCPI, a novel framework that further reduces the memory overhead of streaming partitioners through run-length compression of block assignments. Notably, StreamCPI enables the partitioning of trillion-edge graphs on edge devices. Additionally, within this framework, we propose a modification to the LA-vector bit vector for append support, which can be used for online run-length compression in other streaming applications. Empirical results show that StreamCPI reduces memory usage while maintaining or improving partition quality. For instance, using StreamCPI, the Fennel partitioner effectively partitions a graph with 17 billion nodes and 1.03 trillion edges on a Raspberry Pi, achieving significantly better solution quality than Hashing, the only other feasible algorithm on edge devices. StreamCPI thus advances graph processing by enabling high-quality partitioning on low-cost machines.

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

↑