DGAP:基于持久内存的高效动态图分析
DGAP: Efficient Dynamic Graph Analysis on Persistent Memory
AI总结:
本文提出持久内存动态图分析框架 DGAP,利用可变 CSR 及边日志、撤销日志和数据放置机制,在更新与分析性能上分别最高提升 3.2 倍和 3.77 倍。
摘要:
动态图具有顶点和边持续更新的特征,在众多实际应用中已变得日益重要。为适应这一点,图框架(尤其是其内部数据结构)必须同时支持持久化图更新和快速图分析,从而导致需要复杂设计来协调“快速但易失”与“持久但缓慢”的存储设备。新兴持久内存技术(如 Optane DCPMM)通过同时提供数据持久性、低延迟和高 IOPS,为简化这些设计提供了一种有前景的替代方案。鉴于此,我们提出 DGAP,这是一个在持久内存上进行高效动态图分析的框架。与传统动态图框架组合多种图数据结构(例如边表或邻接表)以达到所需性能不同,DGAP 采用单一可变的压缩稀疏行(CSR)图结构,并结合面向持久内存的新设计来构建框架。具体而言,DGAP 引入了每分区边日志(per-section edge log)以减少持久内存上的写放大;引入每线程撤销日志(per-thread undo log)以支持高性能、崩溃一致性的再平衡操作;并采用一种数据放置模式以最小化持久内存上的原地更新。我们的大量评估结果表明,与 XPGraph、LLAMA 和 GraphOne 等面向持久内存的最先进动态图框架相比,DGAP 的图更新性能最高可提升 3.2 倍,图分析性能最高可提升 3.77 倍。
英文摘要:
Dynamic graphs, featuring continuously updated vertices and edges, have grown in importance for numerous real-world applications. To accommodate this, graph frameworks, particularly their internal data structures, must support both persistent graph updates and rapid graph analysis simultaneously, leading to complex designs to orchestrate `fast but volatile' and `persistent but slow' storage devices. Emerging persistent memory technologies, such as Optane DCPMM, offer a promising alternative to simplify the designs by providing data persistence, low latency, and high IOPS together. In light of this, we propose DGAP, a framework for efficient dynamic graph analysis on persistent memory. Unlike traditional dynamic graph frameworks, which combine multiple graph data structures (e.g., edge list or adjacency list) to achieve the required performance, DGAP utilizes a single mutable Compressed Sparse Row (CSR) graph structure with new designs for persistent memory to construct the framework. Specifically, DGAP introduces a \textit{per-section edge log} to reduce write amplification on persistent memory; a \textit{per-thread undo log} to enable high-performance, crash-consistent rebalancing operations; and a data placement schema to minimize in-place updates on persistent memory. Our extensive evaluation results demonstrate that DGAP can achieve up to $3.2\times$ better graph update performance and up to $3.77\times$ better graph analysis performance compared to state-of-the-art dynamic graph frameworks for persistent memory, such as XPGraph, LLAMA, and GraphOne.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。