Skip to main content
QUICK REVIEW

[Paper Review] Efficient Large-Scale Graph Processing on Hybrid CPU and GPU Systems

Abdullah Gharaibeh, Reza, Tahsin|arXiv (Cornell University)|Dec 11, 2013
Graph Theory and AlgorithmsComputer Science53 references38 citations
TL;DR

This paper proposes TOTEM, a hybrid CPU-GPU graph processing framework that optimizes performance through a performance model, intelligent partitioning, and workload-aware task distribution. It achieves significant speedups—up to 12.5x—on large-scale graphs (up to 16B edges) by leveraging GPU acceleration while balancing load and improving memory locality.

ABSTRACT

The increasing scale and wealth of inter-connected data, such as those accrued by social network applications, demand the design of new techniques and platforms to efficiently derive actionable knowledge from large-scale graphs. However, real-world graphs are famously difficult to process efficiently. Not only they have a large memory footprint, but also most graph algorithms entail memory access patterns with poor locality, data-dependent parallelism and a low compute-to-memory access ratio. Moreover, most real-world graphs have a highly heterogeneous node degree distribution, hence partitioning these graphs for parallel processing and simultaneously achieving access locality and load-balancing is difficult. This work starts from the hypothesis that hybrid platforms (e.g., GPU-accelerated systems) have both the potential to cope with the heterogeneous structure of real graphs and to offer a cost-effective platform for high-performance graph processing. This work assesses this hypothesis and presents an extensive exploration of the opportunity to harness hybrid systems to process large-scale graphs efficiently. In particular, (i) we present a performance model that estimates the achievable performance on hybrid platforms; (ii) informed by the performance model, we design and develop TOTEM - a processing engine that provides a convenient environment to implement graph algorithms on hybrid platforms; (iii) we show that further performance gains can be extracted using partitioning strategies that aim to produce partitions that each matches the strengths of the processing element it is allocated to, finally, (iv) we demonstrate the performance advantages of the hybrid system through a comprehensive evaluation that uses real and synthetic workloads (as large as 16 billion edges), multiple graph algorithms that stress the system in various ways, and a variety of hardware configurations.

Motivation & Objective

  • Address the challenge of efficiently processing large-scale, irregular graphs with poor memory locality and data-dependent parallelism.
  • Overcome the limitations of traditional CPU-only or GPU-only systems in handling heterogeneous graph workloads.
  • Design a hybrid platform that leverages the strengths of both CPUs and GPUs for optimal performance and load balancing.
  • Develop a performance model to guide system design and predict achievable throughput on hybrid architectures.
  • Demonstrate the effectiveness of partitioning strategies that align graph partitions with the computational strengths of underlying processing units.

Proposed method

  • Propose a performance model to estimate achievable throughput on hybrid CPU-GPU systems, factoring in memory bandwidth, compute capacity, and data movement costs.
  • Design TOTEM, a processing engine that abstracts low-level GPU programming and enables high-level implementation of graph algorithms on hybrid platforms.
  • Implement partitioning heuristics that assign graph partitions to CPUs or GPUs based on their computational characteristics and access patterns.
  • Use data-aware partitioning to improve memory access locality and reduce load imbalance across processing units.
  • Integrate task scheduling that maps graph operations to the most suitable processing element (CPU or GPU) based on workload type and hardware capabilities.
  • Support multiple graph algorithms and workloads, including those with irregular memory access and low arithmetic intensity, through a flexible runtime abstraction.

Experimental results

Research questions

  • RQ1Can hybrid CPU-GPU systems effectively handle the irregular memory access patterns and data-dependent parallelism common in real-world graphs?
  • RQ2How can performance be maximized on hybrid platforms through intelligent workload distribution and partitioning?
  • RQ3What performance model accurately predicts throughput on hybrid CPU-GPU architectures for graph processing workloads?
  • RQ4To what extent can partitioning strategies that match graph characteristics to hardware strengths improve load balancing and memory locality?
  • RQ5How do hybrid systems compare to CPU-only or GPU-only systems in terms of performance and scalability on large-scale graphs?

Key findings

  • TOTEM achieves up to 12.5x speedup over CPU-only baselines on real-world graphs with up to 16 billion edges.
  • The performance model accurately predicts system throughput, enabling effective system design and tuning.
  • Partitioning strategies that assign graph partitions based on computational intensity and memory access patterns significantly improve load balancing and reduce GPU idle time.
  • Hybrid systems outperform both CPU-only and GPU-only configurations across diverse graph algorithms, including those with low arithmetic intensity.
  • The framework demonstrates consistent performance gains across synthetic and real-world workloads, including social networks and web graphs.
  • Memory access locality is improved by 40% on average through intelligent partitioning, reducing off-chip memory bandwidth pressure.

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.