[Paper Review] Pangolin: An Efficient and Flexible Graph Mining System on CPU and GPU
Pangolin is a high-performance, flexible graph pattern mining (GPM) framework that accelerates motif counting on CPUs and GPUs using high-level abstractions based on the extend-reduce-filter model. It achieves up to 88× speedup over existing frameworks on CPUs and 15× further acceleration on GPUs by optimizing memory access, reducing dynamic memory allocation, and eliminating isomorphism testing through user-defined pruning.
There is growing interest in graph pattern mining (GPM) problems such as motif counting. GPM systems have been developed to provide unified interfaces for programming algorithms for these problems and for running them on parallel systems. However, existing systems may take hours to mine even simple patterns in moderate-sized graphs, which significantly limits their real-world usability.We present Pangolin, an efficient and flexible in-memory GPM framework targeting shared-memory CPUs and GPUs. Pangolin is the first GPM system that provides high-level abstractions for GPU processing. It provides a simple programming interface based on the extend-reduce-filter model, which allows users to specify application specific knowledge for search space pruning and isomorphism test elimination. We describe novel optimizations that exploit locality, reduce memory consumption, and mitigate the overheads of dynamic memory allocation and synchronization.Evaluation on a 28-core CPU demonstrates that Pangolin outperforms existing GPM frameworks Arabesque, RStream, and Fractal by 49×, 88×, and 80× on average, respectively. Acceleration on a V100 GPU further improves performance of Pangolin by 15× on average. Compared to state-of-the-art hand-optimized GPM applications, Pangolin provides competitive performance with less programming effort.
Motivation & Objective
- To address the performance bottleneck in graph pattern mining (GPM) systems that currently take hours to process moderate graphs.
- To enable efficient and scalable GPM on shared-memory CPUs and GPUs with minimal programming overhead.
- To provide high-level abstractions that allow users to express application-specific knowledge for search space pruning and isomorphism test elimination.
- To reduce memory consumption and dynamic memory allocation overheads in GPM workloads.
- To achieve competitive performance compared to hand-optimized applications while requiring less implementation effort.
Proposed method
- Pangolin uses a novel extend-reduce-filter programming model to express GPM algorithms with high-level abstractions for GPU and CPU execution.
- It introduces optimizations that exploit data locality to improve memory access patterns and reduce latency.
- The system reduces memory consumption by minimizing intermediate data structures and reusing memory buffers across computation phases.
- It mitigates dynamic memory allocation and synchronization overheads through memory pool management and asynchronous kernel launches.
- It enables isomorphism test elimination by allowing users to inject application-specific knowledge into the search space pruning logic.
- It supports both CPU and GPU execution with a unified programming interface, abstracting low-level GPU programming complexities.
Experimental results
Research questions
- RQ1Can a high-level programming model for GPM achieve performance comparable to hand-optimized GPU kernels while reducing implementation effort?
- RQ2How effective are high-level abstractions in enabling efficient search space pruning and isomorphism test elimination in graph pattern mining?
- RQ3To what extent can memory access patterns and dynamic memory allocation be optimized in GPM workloads on CPUs and GPUs?
- RQ4How does the performance of a unified CPU-GPU GPM framework compare to existing state-of-the-art systems?
- RQ5What is the performance gain of using high-level abstractions with advanced optimizations over traditional GPM frameworks?
Key findings
- On a 28-core CPU, Pangolin outperforms Arabesque, RStream, and Fractal by 49×, 88×, and 80× on average, respectively.
- Using a V100 GPU, Pangolin achieves an additional 15× average performance improvement over its CPU-only execution.
- Pangolin delivers competitive performance compared to state-of-the-art hand-optimized GPM applications, but with significantly reduced programming effort.
- The system's optimizations for memory access and dynamic memory management lead to substantial reductions in memory consumption and runtime overhead.
- The extend-reduce-filter model enables effective integration of application-specific knowledge for pruning and isomorphism test elimination, improving overall efficiency.
- Pangolin's high-level abstractions maintain high performance while simplifying the development of complex GPM algorithms on heterogeneous architectures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.