跳到主要导航 跳到搜索 跳到主要内容

Fine-Grained Tuple Transfer for Pipelined Query Execution on CPU-GPU Coprocessor

  • Zhenhua Yang
  • , Qingfeng Pan
  • , Chen Xu*
  • *此作品的通讯作者
  • East China Normal University
  • Guilin University of Electronic Technology

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

To leverage the massively parallel capability of GPU for query execution, GPU databases have been studied for over a decade. Recently, researchers proposed to execute queries with both CPU and GPU in a pipelined approach. In the pipelined query execution, the cross-processor tuple transfer plays a crucial role for the overall query execution performance. The state-of-the-art solution achieves cross-processor tuple transfer using a queue-like data structure. However, it is coarse-grained due to the use of a single spin lock to achieve thread-safety. This design causes performance issues as it prevents the threads from accessing the queue simultaneously. In this paper, we propose a fine-grained tuple transfer mechanism. It employs decoupled enqueue/dequeue to enable two threads on different processors to access the queue at the same time. Moreover, this mechanism explores subqueue-based locking to enable the threads on the same processor to access the queue at the same time. In particular, we implement a prototype system, namely π QC, which adopts fine-grained tuple transfer. Our experiments show that π QC achieves an order of magnitude better performance than existing GPU databases such as HeavyDB.

源语言英语
主期刊名Database Systems for Advanced Applications - 28th International Conference, DASFAA 2023, Proceedings
编辑Xin Wang, Maria Luisa Sapino, Wook-Shin Han, Amr El Abbadi, Gill Dobbie, Zhiyong Feng, Yingxiao Shao, Hongzhi Yin
出版商Springer Science and Business Media Deutschland GmbH
19-34
页数16
ISBN(印刷版)9783031306365
DOI
出版状态已出版 - 2023
活动28th International Conference on Database Systems for Advanced Applications, DASFAA 2023 - Tianjin, 中国
期限: 17 4月 202320 4月 2023

出版系列

姓名Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
13943 LNCS
ISSN(印刷版)0302-9743
ISSN(电子版)1611-3349

会议

会议28th International Conference on Database Systems for Advanced Applications, DASFAA 2023
国家/地区中国
Tianjin
时期17/04/2320/04/23

指纹

探究 'Fine-Grained Tuple Transfer for Pipelined Query Execution on CPU-GPU Coprocessor' 的科研主题。它们共同构成独一无二的指纹。

引用此