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
相关论文
共 50 条
  • [21] Generating Clarifying Questions for Query Refinement in Source Code Search
    Eberhart, Zachary
    McMillan, Collin
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 140 - 151
  • [22] Query Execution Timing: Taming Real-time Anytime Queries on Multicore Processors
    Song, Chunyao
    Li, Zheng
    Ge, Tingjian
    Wang, Jie
    PROCEEDINGS OF THE 22ND ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT (CIKM'13), 2013, : 2237 - 2242
  • [23] Efficient workload characterization technique for heterogeneous processors
    Anuradha, P.
    Rallapalli, Hemalatha
    Narasimha, G.
    Ahmed, Syed Musthak
    2015 IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2015, : 812 - 817
  • [24] Code generation for energy-efficient execution of dynamic streaming task graphs on parallel and heterogeneous platforms
    Litzinger, Sebastian
    Keller, Joerg
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2022, 34 (02):
  • [25] Fast Code Generation for Embedded Processors with Aliased Heterogeneous Registers
    Ahn, Minwook
    Paek, Yunheung
    TRANSACTIONS ON HIGH-PERFORMANCE EMBEDDED ARCHITECTURES AND COMPILERS II, 2009, 5470 : 149 - 172
  • [26] Query Plan Execution in a Heterogeneous Stream Management System for Situational Awareness
    Ray, Indrakshi
    Madria, Sanjay K.
    Linderman, Mark
    2012 31ST INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS 2012), 2012, : 424 - 429
  • [27] An optimized code-generating algorithm for reconfigurable instruction set processors
    Zhang, H. (zhanghz@hqu.edu.cn), 2018, Science Press (49):
  • [28] Query execution strategies for missing data in distributed heterogeneous object databases
    Koh, JL
    Chen, ALP
    PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, 1996, : 466 - 473
  • [29] Demonstrating Efficient Query Processing in Heterogeneous Environments
    Karnagel, Tomas
    Hille, Matthias
    Ludwig, Mario
    Habich, Dirk
    Lehner, Wolfgang
    Heimel, Max
    Markl, Volker
    SIGMOD'14: PROCEEDINGS OF THE 2014 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2014, : 693 - 696
  • [30] Generating efficient safe query plans for probabilistic databases
    Qin, Biao
    Xia, Yuni
    DATA & KNOWLEDGE ENGINEERING, 2008, 67 (03) : 485 - 503