FAST: FPGA-based Subgraph Matching on Massive Graphs
Xin Jin, Zhengyi Yang, Xuemin Lin, Shiyu Yang, Lu Qin, You Peng
Abstract
Subgraph matching is a basic operation widely used in many applications. However, due to its NP-hardness and the explosive growth of graph data, it is challenging to compute subgraph matching, especially in large graphs. In this paper, we aim at scaling up subgraph matching on a single machine using FPGAs. Specifically, we propose a CPU-FPGA co-designed framework. On the CPU side, we first develop a novel auxiliary data structure called candidate search tree (CST) which serves as a complete search space of subgraph matching. CST can be partitioned and fully loaded into FPGAs' on-chip memory. Then, a workload estimation technique is proposed to balance the load between the CPU and FPGA. On the FPGA side, we design and implement the first FPGA-based subgraph matching algorithm, called FAST. To take full advantage of the pipeline mechanism on FPGAs, task parallelism optimization and task generator separation strategy are proposed for FAST, achieving massive parallelism. Moreover, we carefully develop a BRAM-only matching process to fully utilize FPGA's on-chip memory, which avoids the expensive intermediate data transfer between FPGA's BRAM and DRAM. Comprehensive experiments show that FAST achieves up to 462.0x and 150.0x speedup compared with the state-of-the-art algorithm DAF and CECI, respectively. In addition, FAST is the only algorithm that can handle the billion-scale graph using one machine in our experiments.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 94e0602b-6b32-4040-a58c-da8f2f7ec5faCited by top-tier papers13
- HUGE: An Efficient and Scalable Subgraph Enumeration SystemZhengyi Yang, Longbin Lai, Xuemin Lin, Kongzhang Hao et al.SIGMOD 2021 · 57 citations
- Efficient Exact Subgraph Matching via GNN-based Path Dominance EmbeddingYutong Ye, Xiang Lian, Mingsong ChenVLDB 2024 · 35 citations
- HGMatch: A Match-by-Hyperedge Approach for Subgraph Matching on HypergraphsZhengyi Yang, Wenjie Zhang, Xuemin Lin, Ying Zhang et al.ICDE 2023 · 14 citations
- Efficiently Answering Quality Constrained Shortest Distance Queries in Large GraphsYou Peng, Zhuo Ma, Wenjie Zhang, Xuemin Lin et al.ICDE 2023 · 12 citations
- FusionQuery: On-demand Fusion Queries over Multi-source Heterogeneous DataJunhao Zhu, Yuren Mao, Lu Chen, Congcong Ge et al.VLDB 2024 · 8 citations
Builds on3
- In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
- GPU-Accelerated Subgraph Enumeration on Partitioned GraphsWentian Guo, Yuchen Li, Mo Sha, Bingsheng He et al.SIGMOD 2020 · 71 citations
- GSI: GPU-friendly Subgraph IsomorphismLi Zeng, Lei Zou, M. Tamer Özsu, Lin Hu et al.ICDE 2020 · 62 citations
Related papers
- FASI: FPGA-friendly Subgraph Isomorphism on Massive GraphsXunbin Su, Yinnian Lin, Lei ZouICDE 2023 · 5 citations
- VSGM: View-Based GPU-Accelerated Subgraph Matching on Large GraphsGuanxian Jiang, Qihui Zhou, Tatiana Jin, Boyang Li et al.SC 2022 · 14 citations
- Efficient GPU-Accelerated Subgraph MatchingXibo Sun, Qiong LuoSIGMOD 2023 · 29 citations
- cuTS: scaling subgraph isomorphism on distributed multi-GPU systems using trie based data structureLizhi Xiang, Arif Khan, Edoardo Serra, Mahantesh Halappanavar et al.SC 2021 · 35 citations
- CGgraph: An Ultra-fast Graph Processing System on Modern Commodity CPU-GPU Co-processorPengjie Cui, Haotian Liu, Bo Tang, Ye YuanVLDB 2024 · 18 citations
