重新审视内存动态图存储的设计
Revisiting the Design of In-Memory Dynamic Graph Storage
AI总结:
本文提出通用 DGS 抽象与测试框架,系统比较 LLAMA、Aspen 等动态图存储,揭示内存开销、架构访问和细粒度并发控制瓶颈。
摘要:
内存动态图存储(DGS)在支持并发图读写查询方面的有效性,对于实时图分析与更新至关重要。研究者已经提出了多种方法,例如 LLAMA、Aspen、LiveGraph、Teseo 和 Sortledton。这些方法在读写操作支持、空间开销和并发控制方面存在显著差异。然而,目前尚缺乏系统性研究来探讨这些维度之间的权衡。本文通过提出一种用于 DGS 设计的通用抽象,并基于该抽象实现一个通用测试框架,评估了各项技术的有效性,并识别影响这些存储方法的性能因素。我们的发现突出了若干关键洞见:1)现有 DGS 方法表现出巨大的空间开销。例如,Aspen 消耗的内存是 CSR 的 3.3–10.8 倍,而最优的细粒度方法消耗的内存是 CSR 的 4.1–8.9 倍,表明存在显著内存开销。2)现有方法往往忽视现代架构对内存访问的影响,导致其相较连续存储方法出现性能下降。3)细粒度并发控制方法尤其因维护版本并对每个邻居执行检查而面临严重的效率和空间问题;这些方法在高度数顶点上还会遭遇显著竞争。我们的系统研究揭示了这些性能瓶颈,并概述了面向实时图分析改进 DGS 的未来方向。
英文摘要:
The effectiveness of in-memory dynamic graph storage (DGS) for supporting concurrent graph read and write queries is crucial for real-time graph analytics and updates. Various methods have been proposed, for example, LLAMA, Aspen, LiveGraph, Teseo, and Sortledton. These approaches differ significantly in their support for read and write operations, space overhead, and concurrency control. However, there has been no systematic study to explore the trade-offs among these dimensions. In this paper, we evaluate the effectiveness of individual techniques and identify the performance factors affecting these storage methods by proposing a common abstraction for DGS design and implementing a generic test framework based on this abstraction. Our findings highlight several key insights: 1) Existing DGS methods exhibit substantial space overhead. For example, Aspen consumes 3.3-10.8x more memory than CSR, while the optimal fine-grained methods consume 4.1-8.9x more memory than CSR, indicating a significant memory overhead. 2) Existing methods often overlook memory access impact of modern architectures, leading to performance degradation compared to continuous storage methods. 3) Fine-grained concurrency control methods, in particular, suffer from severe efficiency and space issues due to maintaining versions and performing checks for each neighbor. These methods also experience significant contention on high-degree vertices. Our systematic study reveals these performance bottlenecks and outlines future directions to improve DGS for real-time graph analytics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。