A Study of Data Partitioning on OpenCL-based FPGAs

被引:0
|
作者
Wang, Zeke [1 ]
He, Bingsheng [1 ]
Zhang, Wei [2 ]
机构
[1] Nanyang Technol Univ, Singapore, Singapore
[2] Hong Kong Univ Sci & Technol, Hong Kong, Hong Kong, Peoples R China
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A lot of research efforts have been devoted to accelerating relational database applications on FPGAs, due to their high energy efficiency and high throughput. Most of the existing studies are based on hardware description languages (HDLs). Recently, FPGA vendors have started to develop OpenCL SDKs for much better programmability. In this paper, we investigate the performance of relational database applications on OpenCL-based FPGAs. As a start, we study the performance of data partitioning, a core operation widely used in relational databases. Due to random memory accesses, data partitioning is time-consuming and can become a major bottleneck for database operators such as hash join. We start with the state-of-theart OpenCL implementation which was originally designed for CPUs/GPUs, and find that it suffers from lock overheads and memory bandwidth overheads. To reduce lock overheads, we develop a simple yet efficient multi-kernel approach to leverage two emerging features of Altera OpenCL SDK, namely task kernel and channel. Moreover, on-chip buckets are employed to reduce the number of memory transactions. We further develop a cost model to guide the parameter configuration. We evaluate the proposed design on a recent Altera Stratix V FPGA. Our results demonstrate 1) our cost model can accurately predict the performance of data partitioning under different parameter settings; 2) our proposed multi-kernel approach can achieve 10.7X speedup over the existing OpenCL implementation. Also, the experiments with three case studies show that the optimized implementations can achieve 4-12X performance improvement over the original implementations.
引用
收藏
页数:8
相关论文
共 50 条
  • [21] Improved OpenCL-Based Implementation of Social Field Pedestrian Model
    Yu, Bin
    Zhu, Ke
    Wu, Kaiteng
    Zhang, Michael
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2020, 21 (07) : 2828 - 2839
  • [22] OpenCL-based design of an FPGA accelerator for quantum annealing simulation
    Hasitha Muthumala Waidyasooriya
    Masanori Hariyama
    Masamichi J. Miyama
    Masayuki Ohzeki
    The Journal of Supercomputing, 2019, 75 : 5019 - 5039
  • [23] OpenCL-based GPU acceleration of ISPH simulation for incompressible flows
    Qiu, Liuchao
    ADVANCES IN COMPUTATIONAL MODELING AND SIMULATION, PTS 1 AND 2, 2014, 444-445 : 380 - 384
  • [24] AIWC: OpenCL-based Architecture-Independent Workload Characterization
    Johnston, Beau
    Milthorpe, Josh
    PROCEEDINGS OF LLVM-HPC 2018: IEEE/ACM 5TH WORKSHOP ON THE LLVM COMPILER INFRASTRUCTURE IN HPC (LLVM-HPC), 2018, : 81 - 91
  • [25] OpenCL-based design of an FPGA accelerator for quantum annealing simulation
    Waidyasooriya, Hasitha Muthumala
    Hariyama, Masanori
    Miyama, Masamichi J.
    Ohzeki, Masayuki
    JOURNAL OF SUPERCOMPUTING, 2019, 75 (08): : 5019 - 5039
  • [26] An OpenCL-Based FPGA Accelerator for Compressed YOLOv2
    Yang, Anrong
    Li, Yuanhui
    Shu, Hongqiao
    Deng, Jianlin
    Ma, Chuanzhao
    Li, Zheng
    Wang, Qigang
    2019 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (ICFPT 2019), 2019, : 235 - 238
  • [27] Discretization and OpenCL-based implementation of social field pedestrian model
    Yu, Bin
    Wu, Kaiteng
    Zhu, Ke
    Ji, Yuhan
    Zhang, Michael
    Yang, Xinwen
    NEUROCOMPUTING, 2018, 315 : 299 - 309
  • [28] Acceleration of stochastic seismic inversion in OpenCL-based heterogeneous platforms
    Ferreirinha, Tomas
    Nunes, Ruben
    Azevedo, Leonardo
    Soares, Amilcar
    Pratas, Frederico
    Tomas, Pedro
    Roma, Nuno
    COMPUTERS & GEOSCIENCES, 2015, 78 : 26 - 36
  • [29] Studying OpenCL-based Number Theoretic Transform for heterogeneous platforms
    Haleplidis, Evangelos
    Tsakoulis, Thanasis
    El-Kady, Alexander
    Dimopoulos, Charis
    Koufopavlou, Odysseas
    Fournaris, Apostolos P.
    2021 24TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2021), 2021, : 339 - 346
  • [30] Toward In-System Monitoring of OpenCL-Based Designs on FPGA
    Bensalem, Hachem
    Blaquiere, Yves
    Savaria, Yvon
    2019 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2019,