PimPam: Efficient Graph Pattern Matching on Real Processing-in-Memory Hardware
Shuangyu Cai, Boyu Tian, Huanchen Zhang, Mingyu Gao
Abstract
Graph pattern matching is powerful and widely applicable to many application domains. Despite the recent algorithm advances, matching patterns in large-scale real-world graphs still faces the memory access bottleneck on conventional computing systems. Processing-in-memory (PIM) is an emerging hardware architecture paradigm that puts computing cores into memory devices to alleviate the memory wall issues. Real PIM hardware has recently become commercially accessible to the public. In this work, we leverage the real PIM hardware platform to build a graph pattern matching framework, PimPam, to benefit from its abundant computation and memory bandwidth resources. We propose four key optimizations in PimPam to improve its efficiency, including (1) load-aware task assignment to ensure load balance, (2) space-efficient and parallel data partitioning to prepare input data for PIM cores, (3) adaptive multi-threading collaboration to automatically select the best parallelization strategy during processing, and (4) dynamic bitmap structures that accelerate the key operations of set intersection. When evaluated on five patterns and six real-world graphs, PimPam outperforms the state-of-the-art CPU baseline system by 22.5x on average and up to 71.7x, demonstrating significant performance improvements.
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 f11f089b-236b-4640-b8b8-c4d1fecfed67Cited by top-tier papers5
- UpANNS: Enhancing Billion-Scale ANNS Efficiency with Real-World PIM ArchitectureSitian Chen, Amelie Chi Zhou, Yucheng Shi, Yusen Li et al.SC 2025 · 8 citations
- PIMnet: A Domain-Specific Network for Efficient Collective Communication in Scalable PIMHyojun Son, Gilbert Jonatan, Xiangyu Wu, Haeyoon Cho et al.HPCA 2025 · 7 citations
- DCC: Data-Centric Compilation of Machine Learning Kernels for Processing-In-Memory ArchitecturesPeiming Yang, Sankeerth Durvasula, Ivan Fernandez, Mohammad Sadrosadati et al.ISCA 2026 · 3 citations
- X-Blossom: Massive Parallelization of Graph Maximum MatchingDayi Fan, Rubao Lee, Xiaodong ZhangVLDB 2025 · 3 citations
- X-Wim: Massive Parallelization of Weighted Matching in Bipartite GraphsDayi Fan, Simon Zhang, Rubao Lee, Hanqi Guo et al.VLDB 2026
Builds on21
- Peregrine: a pattern-aware graph mining systemKasra Jamshidi, Rakesh Mahadasa, Keval VoraEuroSys 2020 · 107 citations
- Pangolin: An Efficient and Flexible Graph Mining System on CPU and GPUXuhao Chen, Roshan Dathathri, Gurbinder Gill, Keshav PingaliVLDB 2020 · 81 citations
- SISA: Set-Centric Instruction Set Architecture for Graph Mining on Processing-in-Memory SystemsMaciej Besta, Raghavendra Kanakagiri, Grzegorz Kwasniewski, Rachata Ausavarungnirun et al.MICRO 2021 · 78 citations
- GraphPi: high performance graph pattern matching through effective redundancy eliminationTianhui Shi, Mingshu Zhai, Yi Xu, Jidong ZhaiSC 2020 · 72 citations
- GPU-Accelerated Subgraph Enumeration on Partitioned GraphsWentian Guo, Yuchen Li, Mo Sha, Bingsheng He et al.SIGMOD 2020 · 71 citations
Related papers
- TMiner: A Vertex-Based Task Scheduling Architecture for Graph Pattern MiningZerun Li, Xiaoming Chen, Yinhe HanMICRO 2024 · 2 citations
- GAMMA: A Graph Pattern Mining Framework for Large Graphs on GPULin Hu, Lei Zou, M. Tamer ÖzsuICDE 2023 · 8 citations
- Accelerating Regular Path Queries over Graph Database with Processing-in-MemoryRuoyan Ma, Shengan Zheng, Guifeng Wang, Jin Pu et al.DAC 2024 · 4 citations
- NDMiner: accelerating graph pattern mining using near data processingNishil Talati, Haojie Ye, Yichen Yang, Leul Belayneh et al.ISCA 2022 · 22 citations
- X-SET: An Efficient Graph Pattern Matching Accelerator With Order-Aware Parallel Intersection UnitsChenxi Xu, Tianhui Shi, Shixuan Sun, Jidong Zhai et al.MICRO 2025 · 1 citation
