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

在ParaGrapher中加速加载WebGraphs

Accelerating Loading WebGraphs in ParaGrapher

Mohsen Koohi Esfahani

AI总结:

本文针对ParaGrapher图加载框架的存储利用和解压带宽问题,提出PG-Fuse文件系统与CompBin紧凑表示两项优化,在多达1280亿条边的图上分别实现最高7.6倍和21.8倍加速。

摘要:

ParaGrapher是一个图加载API和库,使图处理框架能够以最小的开销加载大规模压缩图。这一能力加速了新的高性能图算法的设计与实现,以及它们在广泛图集和不同框架上的评估。然而,我们之前的研究发现了ParaGrapher的两个主要局限:高带宽存储的利用效率低下,以及由于压缩率提高而导致的解压缩带宽下降。为了解决这些局限,我们在本文中提出了两项针对ParaGrapher的优化。为了改善存储利用,特别是针对高带宽存储,我们引入了ParaGrapher-FUSE(PG-Fuse),一个基于FUSE(用户空间文件系统)的文件系统。PG-Fuse通过增大请求块的大小、减少对底层文件系统的调用次数,并在内存中缓存已接收的块以供后续调用,来优化存储访问。为了提升解压缩带宽,我们引入了CompBin,一种CSR格式的紧凑二进制表示。CompBin便于直接访问邻居,同时避免为未使用的字节占用存储空间。我们在12个真实世界和合成图上进行了评估,这些图最多包含1280亿条边,结果表明PG-Fuse和CompBin分别实现了最高7.6倍和21.8倍的加速。

英文摘要:

ParaGrapher is a graph loading API and library that enables graph processing frameworks to load large-scale compressed graphs with minimal overhead. This capability accelerates the design and implementation of new high-performance graph algorithms and their evaluation on a wide range of graphs and across different frameworks. However, our previous study identified two major limitations in ParaGrapher: inefficient utilization of high-bandwidth storage and reduced decompression bandwidth due to increased compression ratios. To address these limitations, we present two optimizations for ParaGrapher in this paper. To improve storage utilization, particularly for high-bandwidth storage, we introduce ParaGrapher-FUSE (PG-Fuse) a filesystem based on the FUSE (Filesystem in User Space). PG-Fuse optimizes storage access by increasing the size of requested blocks, reducing the number of calls to the underlying filesystem, and caching the received blocks in memory for future calls. To improve the decompression bandwidth, we introduce CompBin, a compact binary representation of the CSR format. CompBin facilitates direct accesses to neighbors while preventing storage usage for unused bytes. Our evaluation on 12 real-world and synthetic graphs with up to 128 billion edges shows that PG-Fuse and CompBin achieve up to 7.6 and 21.8 times speedup, respectively.

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

↑