Abstract
Today's big data query engines are constantly under pressure to keep up with the rapidly increasing demand for faster processing of more complex workloads. In the past few years, FPGA-based database acceleration efforts have demon-strated promising performance improvement with good energy efficiency. However, few studies target the programming and design automation support to leverage the FPGA accelerator benefits in query processing. Most of them rely on the SQL query plan generated by CPU query engines and manually map the query plan onto the FPGA accelerators, which is tedious and error-prone. Moreover, such CPU-oriented query plans do not consider the utilization of FPGA accelerators and could lose more optimization opportunities. In this paper, we present SQL2FPGA, an FPGA accelerator-aware compiler to automatically map SQL queries onto the heterogeneous CPU-FPGA platforms. Our SQL2FPGA front-end takes an optimized logical plan of a SQL query from a database query engine and transforms it into a unified operator-level intermediate representation. To generate an optimized FPGA-aware physical plan, SQL2FPGA implements a set of compiler optimization passes to 1) improve operator acceleration coverage by the FPGA, 2) eliminate redundant computation during physical execution, and 3) minimize data transfer overhead between operators on the CPU and FPGA. Finally, SQL2FPGA generates the associated query acceleration code for heterogeneous CPUFPGA system deployment. Compared to the widely used Apache Spark SQL framework running on the CPU, SQL2FPGA - using two AMD/Xilinx HBM-based Alveo U280 FPGA boards - achieves an average performance speedup of 10.1x and 13.9x across all 22 TPC-H benchmark queries in a scale factor of 1GB (SF1) and 30GB (SF30), respectively.
| Original language | English (US) |
|---|---|
| Title of host publication | Proceedings - 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 184-194 |
| Number of pages | 11 |
| ISBN (Electronic) | 9798350312058 |
| DOIs | |
| State | Published - 2023 |
| Externally published | Yes |
| Event | 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 - Marina Del Rey, United States Duration: May 8 2023 → May 11 2023 |
Publication series
| Name | Proceedings - 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 |
|---|
Conference
| Conference | 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 |
|---|---|
| Country/Territory | United States |
| City | Marina Del Rey |
| Period | 5/8/23 → 5/11/23 |
Bibliographical note
Publisher Copyright:© 2023 IEEE.
UN SDGs
This output contributes to the following UN Sustainable Development Goals (SDGs)
-
SDG 7 Affordable and Clean Energy
Keywords
- FPGA acceleration
- heterogenous CPU-FPGA platform
- high-level synthesis
- HLS overlay accelerator
- SQL query compilation
Fingerprint
Dive into the research topics of 'SQL2FPGA: Automatic Acceleration of SQL Query Processing on Modern CPU-FPGA Platforms'. Together they form a unique fingerprint.Cite this
- APA
- Standard
- Harvard
- Vancouver
- Author
- BIBTEX
- RIS