Generating custom code for efficient query execution on heterogeneous processors

被引:0
作者
Sebastian Breß
Bastian Köcher
Henning Funke
Steffen Zeuch
Tilmann Rabl
Volker Markl
机构
[1] DFKI GmbH,
[2] TU Berlin,undefined
[3] TU Dortmund,undefined
来源
The VLDB Journal | 2018年 / 27卷
关键词
Database systems; Database query processing; Query compilation; Heterogeneous processors; CPU; GPU; MIC; Code generation; Code variants; Variant optimization;
D O I
暂无
中图分类号
学科分类号
摘要
Processor manufacturers build increasingly specialized processors to mitigate the effects of the power wall in order to deliver improved performance. Currently, database engines have to be manually optimized for each processor which is a costly and error- prone process. In this paper, we propose concepts to adapt to and to exploit the performance enhancements of modern processors automatically. Our core idea is to create processor-specific code variants and to learn a well-performing code variant for each processor. These code variants leverage various parallelization strategies and apply both generic- and processor-specific code transformations. Our experimental results show that the performance of code variants may diverge up to two orders of magnitude. In order to achieve peak performance, we generate custom code for each processor. We show that our approach finds an efficient custom code variant for multi-core CPUs, GPUs, and MICs.
引用
收藏
页码:797 / 822
页数:25
相关论文
empty
未找到相关数据