Make the most out of your SIMD investments: counter control flow divergence in compiled query pipelines

Harald Lang, Linnea Passing, Andreas Kipf, Peter Boncz, Thomas Neumann, Alfons Kemper

Research output: Contribution to journalArticlepeer-review

4 Scopus citations

Abstract

Increasing single instruction multiple data (SIMD) capabilities in modern hardware allows for the compilation of data-parallel query pipelines. This means GPU-alike challenges arise: control flow divergence causes the underutilization of vector-processing units. In this paper, we present efficient algorithms for the AVX-512 architecture to address this issue. These algorithms allow for the fine-grained assignment of new tuples to idle SIMD lanes. Furthermore, we present strategies for their integration with compiled query pipelines so that tuples are never evicted from registers. We evaluate our approach with three query types: (i) a table scan query based on TPC-H Query 1, that performs up to 34% faster when addressing underutilization, (ii) a hashjoin query, where we observe up to 25% higher performance, and (iii) an approximate geospatial join query, which shows performance improvements of up to 30%.

Original languageEnglish
Pages (from-to)757-774
Number of pages18
JournalVLDB Journal
Volume29
Issue number2-3
DOIs
StatePublished - 1 May 2020

Keywords

  • AVX-512
  • Control flow divergence
  • Database systems
  • Query compilation
  • Query execution
  • SIMD
  • Vectorization

Fingerprint

Dive into the research topics of 'Make the most out of your SIMD investments: counter control flow divergence in compiled query pipelines'. Together they form a unique fingerprint.

Cite this