Concurrent query processing in a GPU-based database system

被引:2
|
作者
Li, Hao [1 ]
Tu, Yi-Cheng [1 ]
Zeng, Bo [2 ]
机构
[1] Univ S Florida, Dept Comp Sci & Engn, Tampa, FL 33620 USA
[2] Univ Pittsburgh, Dept Ind Engn, Pittsburgh, PA USA
来源
PLOS ONE | 2019年 / 14卷 / 04期
基金
美国国家科学基金会;
关键词
LINEAR-PROGRAMMING APPROACH;
D O I
10.1371/journal.pone.0214720
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
The unrivaled computing capabilities of modern GPUs meet the demand of processing massive amounts of data seen in many application domains. While traditional HPC systems support applications as standalone entities that occupy entire GPUs, there are GPU-based DBMSs where multiple tasks are meant to be run at the same time in the same device. To that end, system-level resource management mechanisms are needed to fully unleash the computing power of GPUs in large data processing, and there were some researches focusing on it. In our previous work, we explored the single compute-bound kernel modeling on GPUs under NVidia's CUDA framework and provided an in-depth anatomy of the NVidia's concurrent kernel execution mechanism (CUDA stream). This paper focuses on resource allocation of multiple GPU applications towards optimization of system throughput in the context of systems. Comparing to earlier studies of enabling concurrent tasks support on GPU such as MultiQx-GPU, we use a different approach that is to control the launching parameters of multiple GPU kernels as provided by compile-time performance modeling as a kernel-level optimization and also a more general pre-processing model with batch-level control to enhance performance. Specifically, we construct a variation of multi-dimensional knapsack model to maximize concurrency in a multi-kernel environment. We present an in-depth analysis of our model and develop an algorithm based on dynamic programming technique to solve the model. We prove the algorithm can find optimal solutions (in terms of thread concurrency) to the problem and bears pseudopolynomial complexity on both time and space. Such results are verified by extensive experiments running on our microbenchmark that consists of real-world GPU queries. Furthermore, solutions identified by our method also significantly reduce the total running time of the workload, as compared to sequential and MultiQx-GPU executions.
引用
收藏
页数:26
相关论文
共 50 条
  • [1] GPU-Based Parallel Indexing for Concurrent Spatial Query Processing
    Nouri, Zhila
    Tu, Yi-Cheng
    [J]. 30TH INTERNATIONAL CONFERENCE ON SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT (SSDBM 2018), 2018,
  • [2] GPL: A GPU-based Pipelined Query Processing Engine
    Paul, Johns
    He, Jiong
    He, Bingsheng
    [J]. SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1935 - 1950
  • [3] EGraph: Efficient Concurrent GPU-Based Dynamic Graph Processing
    Zhang, Yu
    Liang, Yuxuan
    Zhao, Jin
    Mao, Fubing
    Gu, Lin
    Liao, Xiaofei
    Jin, Hai
    Liu, Haikun
    Guo, Song
    Zeng, Yangqing
    Hu, Hang
    Li, Chen
    Zhang, Ji
    Wang, Biao
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (06) : 5823 - 5836
  • [4] GPU-based Proximity Query Processing on Unstructured Triangular Mesh Model
    Lee, Kit-Hang
    Guo, Ziyan
    Chow, Gary C. T.
    Chen, Yue
    Luk, Wayne
    Kwok, Ka-Wai
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA), 2015, : 4405 - 4411
  • [5] In-memory k Nearest Neighbor GPU-based Query Processing
    Velentzas, Polychronis
    Vassilakopoulos, Michael
    Corral, Antonio
    [J]. PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON GEOGRAPHICAL INFORMATION SYSTEMS THEORY, APPLICATIONS AND MANAGEMENT (GISTAM), 2020, : 310 - 317
  • [6] G-PICS: A Framework for GPU-Based Spatial Indexing and Query Processing
    Lewis, Zhila-Nouri
    Tu, Yi-Cheng
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2022, 34 (03) : 1243 - 1257
  • [7] Efficient GPU-based Query Processing with Pruned List Caching in Search Engines
    Wang, Dongdong
    Yu, Wenqing
    Stones, Rebecca J.
    Ren, Junjie
    Wang, Gang
    Liu, Xiaoguang
    Ren, Mingming
    [J]. 2017 IEEE 23RD INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2017, : 215 - 224
  • [8] GPU-Based Algorithms for Processing the k Nearest-Neighbor Query on Spatial Data Using Partitioning and Concurrent Kernel Execution
    Velentzas, Polychronis
    Vassilakopoulos, Michael
    Corral, Antonio
    Antonopoulos, Christos
    [J]. INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2023, 51 (06) : 275 - 308
  • [9] GPU-Based Algorithms for Processing the k Nearest-Neighbor Query on Spatial Data Using Partitioning and Concurrent Kernel Execution
    Polychronis Velentzas
    Michael Vassilakopoulos
    Antonio Corral
    Christos Antonopoulos
    [J]. International Journal of Parallel Programming, 2023, 51 : 275 - 308
  • [10] A Data Encryption Scheme and GPU-based Query Processing Algorithm for Spatial Data Outsourcing
    Yoon, Min
    Cho, Ahra
    Jang, Miyoung
    Chang, Jae-Woo
    [J]. 2015 INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING (BIGCOMP), 2015, : 202 - 209