A study of work distribution and contention in database primitives on heterogeneous CPU/GPU architectures

Michael Gowanlock, Zane Fink, Ben Karsin, Jordan Wright

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Graphics Processing Units (GPUs) provide very high on-card memory bandwidth which can be exploited to address data-intensive workloads. To maximize algorithm throughput, it is important to concurrently utilize both the CPU and GPU to carry out database queries. We select data-intensive algorithms that are common in databases and data analytic applications including: (i) scan; (ii) batched predecessor searches; (iii) multiway merging; and, (iv) partitioning. For each algorithm, we examine the performance of parallel CPU/GPU-only, and hybrid CPU/GPU approaches. There are several challenges to combining the CPU and GPU for query processing, including distributing work between architectures. We demonstrate that despite being able to accurately split the work between the CPU and GPU, contention for memory bandwidth is a major limiting factor for hybrid CPU/GPU data-intensive algorithms. We employ performance models that allow us to explore several research questions. We find that while hybrid data-intensive algorithms may be limited by contention, these algorithms are more robust to workload characteristics; therefore, they are preferable to CPU/GPU-only approaches. We also find that hybrid algorithms achieve good performance when there is low memory contention between the CPU and GPU, such that the GPU can perform its operations without significantly reducing CPU throughput.

Original languageEnglish (US)
Title of host publicationProceedings of the 36th Annual ACM Symposium on Applied Computing, SAC 2021
PublisherAssociation for Computing Machinery
Pages311-320
Number of pages10
ISBN (Electronic)9781450381048
DOIs
StatePublished - Mar 22 2021
Externally publishedYes
Event36th Annual ACM Symposium on Applied Computing, SAC 2021 - Virtual, Online, Korea, Republic of
Duration: Mar 22 2021Mar 26 2021

Publication series

NameProceedings of the ACM Symposium on Applied Computing

Conference

Conference36th Annual ACM Symposium on Applied Computing, SAC 2021
Country/TerritoryKorea, Republic of
CityVirtual, Online
Period3/22/213/26/21

Keywords

  • GPGPU
  • heterogeneous systems
  • hybrid algorithms
  • in-memory database
  • memory-bound algorithms
  • multiway merge
  • partitioning
  • predecessor search
  • scan

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'A study of work distribution and contention in database primitives on heterogeneous CPU/GPU architectures'. Together they form a unique fingerprint.

Cite this