Skip to main content
QUICK REVIEW

[Paper Review] Accelerating PageRank using Partition-Centric Processing

Kartik Lakhotia, Rajgopal Kannan|arXiv (Cornell University)|Sep 21, 2017
Graph Theory and AlgorithmsComputer Science40 references4 citations
TL;DR

This paper proposes Partition-Centric Processing Methodology (PCPM), a novel approach to accelerate PageRank by grouping vertices into partitions to reduce DRAM communication and random memory accesses. By using a new PNG data layout and branch avoidance techniques, PCPM achieves an average 2.7× speedup and 1.7× reduction in communication volume over state-of-the-art methods on large graphs.

ABSTRACT

PageRank is a fundamental link analysis algorithm that also functions as a key representative of the performance of Sparse Matrix-Vector (SpMV) multiplication. The traditional PageRank implementation generates fine granularity random memory accesses resulting in large amount of wasteful DRAM traffic and poor bandwidth utilization. In this paper, we present a novel Partition-Centric Processing Methodology (PCPM) to compute PageRank, that drastically reduces the amount of DRAM communication while achieving high sustained memory bandwidth. PCPM uses a Partition-centric abstraction coupled with the Gather-Apply-Scatter (GAS) programming model. By carefully examining how a PCPM based implementation impacts communication characteristics of the algorithm, we propose several system optimizations that improve the execution time substantially. More specifically, we develop (1) a new data layout that significantly reduces communication and random DRAM accesses, and (2) branch avoidance mechanisms to get rid of unpredictable data-dependent branches. We perform detailed analytical and experimental evaluation of our approach using 6 large graphs and demonstrate an average 2.7x speedup in execution time and 1.7x reduction in communication volume, compared to the state-of-the-art. We also show that unlike other GAS based implementations, PCPM is able to further reduce main memory traffic by taking advantage of intelligent node labeling that enhances locality. Although we use PageRank as the target application in this paper, our approach can be applied to generic SpMV computation.

Motivation & Objective

  • To address the performance bottleneck in PageRank caused by irregular memory access patterns and high DRAM traffic on shared-memory systems.
  • To reduce redundant edge traversals and random memory accesses inherent in traditional vertex- and edge-centric SpMV models.
  • To improve memory bandwidth utilization by exploiting data locality through partitioning and intelligent node labeling.
  • To develop a system-optimized, scalable programming model applicable to generic SpMV workloads beyond PageRank.

Proposed method

  • Introduces Partition-Centric Processing Methodology (PCPM), which restructures computation around groups of vertices (partitions) rather than individual nodes or edges.
  • Employs a Gather-Apply-Scatter (GAS) model but reorganizes data access to minimize random DRAM accesses by processing entire partitions at once.
  • Proposes a novel PNG (Partitioned Node Group) data layout that enables streaming memory access patterns and sustains >75% of peak memory bandwidth.
  • Applies branch avoidance mechanisms to eliminate unpredictable data-dependent branches in the kernel computation.
  • Uses index-based partitioning with optimized write offsets and bin size computation to reduce pre-processing overhead.
  • Leverages intelligent node labeling to enhance data locality and further reduce communication volume in both scatter and gather phases.

Experimental results

Research questions

  • RQ1Can partitioning vertices into cache-friendly groups reduce DRAM communication and improve memory bandwidth utilization in PageRank?
  • RQ2How does partition-centric processing compare to vertex- and edge-centric GAS models in terms of performance and communication volume?
  • RQ3To what extent can data layout and branch-free execution further accelerate SpMV-based graph algorithms like PageRank?
  • RQ4Can PCPM be generalized to other sparse matrix-vector computations beyond PageRank?

Key findings

  • PCPM achieves an average 2.7× speedup in execution time over the state-of-the-art on six large real-world graphs using a 16-core shared-memory system.
  • The method reduces main memory communication volume by 1.7× on average, with improvements ranging from 1.3× to 2.5× across datasets.
  • The optimal partition size for the platform is 256 KB, balancing compression benefits and cache locality.
  • Pre-processing time for PCPM is less than one iteration time and is amortized over multiple PageRank iterations.
  • The PNG data layout enables sustained memory bandwidth utilization above 75% of peak by eliminating random memory accesses.
  • PCPM outperforms both BVGAS and PDPR implementations, especially in communication-intensive phases, due to better data layout and reduced redundancy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.