Title
Make the most out of your SIMD investments: counter control flow divergence in compiled query pipelines
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%.
Year
DOI
Venue
2020
10.1007/s00778-019-00547-y
The VLDB Journal
Keywords
Field
DocType
Control flow divergence, Database systems, Query execution, Query compilation, SIMD, Vectorization, AVX-512
Geospatial analysis,Architecture,Pipeline transport,Tuple,Computer science,Control flow,Full table scan,Parallel computing,Vectorization (mathematics),SIMD,Database
Journal
Volume
Issue
ISSN
29
2
1066-8888
Citations 
PageRank 
References 
1
0.37
0
Authors
6
Name
Order
Citations
PageRank
Harald Lang1554.24
Linnea Passing261.86
Andreas Kipf33211.03
Peter Boncz42517244.81
Thomas Neumann52523156.50
A. Kemper6603.63