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

Swift:一种用于扩展加速图分析的多FPGA框架

Swift: A Multi-FPGA Framework for Scaling Up Accelerated Graph Analytics

Oluwole Jaiyeoba, Abdullah T. Mughrabi, Morteza Baradaran, Beenish Gul, Kevin Skadron

AI总结:

本文提出多FPGA图加速框架Swift,采用基于GAS的解耦异步区间处理模型,最多支持8个FPGA并优化HBM、PCIe和片上资源利用,性能比ForeGraph高12.8倍,能效比GPU系统高2.6倍。

摘要:

图分析在社交网络、生物医学研究和图神经网络(GNN)等领域至关重要。然而,传统CPU和GPU难以应对由大规模图数据集及其细粒度内存访问所引起的内存瓶颈。虽然专用图加速器能够应对这些挑战,但它们通常只支持中等规模的图(5亿条边以下)。本文提出Swift,一种新颖的规模扩展图加速器框架,通过利用FPGA定制数据通路和内存资源的灵活性来处理大规模图,并优化高带宽3D内存(HBM)的利用率。Swift在一个节点中最多支持8个FPGA。Swift引入了一种基于Gather-Apply-Scatter(GAS)方案的解耦异步模型。它在多个FPGA之间划分子图,并根据源顶点ID将每个子图划分为区间。对这些区间的处理是解耦的,并以异步方式执行,而不是采用吞吐量受最慢任务限制的批量同步操作。这使得每个多FPGA节点内部能够同时处理,并优化通信(PCIe)、片外(HBM)以及片上BRAM/URAM资源的利用率。与先前可扩展的基于FPGA的框架相比,Swift展示了显著的性能提升,其性能比ForeGraph高12.8倍。与NVIDIA A40 GPU上的Gunrock相比,性能表现不一,因为NVlink为GPU系统提供了近5倍的带宽优势,但FPGA系统仍然实现了2.6倍更高的能效。

英文摘要:

Graph analytics are vital in fields such as social networks, biomedical research, and graph neural networks (GNNs). However, traditional CPUs and GPUs struggle with the memory bottlenecks caused by large graph datasets and their fine-grained memory accesses. While specialized graph accelerators address these challenges, they often support only moderate-sized graphs (under 500 million edges). Our paper proposes Swift, a novel scale-up graph accelerator framework that processes large graphs by leveraging the flexibility of FPGA custom datapath and memory resources, and optimizes utilization of high-bandwidth 3D memory (HBM). Swift supports up to 8 FPGAs in a node. Swift introduces a decoupled, asynchronous model based on the Gather-Apply-Scatter (GAS) scheme. It subgraphs across FPGAs, and each subgraph into intervals based on source vertex IDs. Processing on these intervals is decoupled and executed asynchronously, instead of bulk-synchonous operation, where throughput is limited by the slowest task. This enables simultaneous processing within each multi-FPGA node and optimizes the utilization of communication (PCIe), off-chip (HBM), and on-chip BRAM/URAM resources. Swift demonstrates significant performance improvements compared to prior scalable FPGA-based frameworks, performing 12.8 times better than the ForeGraph. Performance against Gunrock on NVIDIA A40 GPUs is mixed, because NVlink gives the GPU system a nearly 5X bandwidth advantage, but the FPGA system nevertheless achieves 2.6x greater energy efficiency.

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

↑