【24h】

Relational query processing on OpenCL-based FPGAs

机译:基于OpenCL的FPGA的关系查询处理

获取原文

摘要

The release of OpenCL support for FPGAs represents a significant improvement in extending database applications to the reconfigurable domain. Taking advantage of the programmability offered by the OpenCL HLS tool, an OpenCL database can be easily ported and re-designed for FPGAs. A single SQL query in these database systems usually consists of multiple operators, and each one of these operators in turn consists of multiple OpenCL kernels. Due to the specific properties of FPGAs, each OpenCL kernel can have different FPGA-specific optimization combinations, in terms of CU (compute unit) and SIMD (kernel vectorization), which are critical to the overall performance of query processing. Due to the resource limitation of an FPGA image, our query plan also considers the possibility of using multiple FPGA images. In this paper, we propose an FPGA-specific cost model to determine the optimal query plan in less than one minute. In particular, the FPGA synthesis time is significantly reduced by avoiding the need to evaluate all the feasible query plans on real FPGAs. Our cost model has two components: unit cost and optimal query plan generation. The first component generates multiple (unit cost, resource utilization) pairs for each kernel. The second component employs a dynamic programming approach to generate the optimal query plan which considers the possibility of using multiple FPGA images. The experiments show that 1) our cost model can accurately predict the performance of each feasible query plan for the input query, and can guide the optimal query plan generation, 2) our optimized query plan achieves a performance speedup 1.5×-4× over the state-of-the-art query processing on OpenCL-based FPGAs.
机译:对FPGA的OpenCL的支持,发布代表在数据库应用延伸到可重构域显著的改善。以通过OpenCL的HLS工具提供的可编程性的优势,在OpenCL数据库可以很容易地移植和重新设计的FPGA。在这些数据库系统的一个单个SQL查询通常由多个运营商的,并且反过来这些运营商中的每一个由多个OpenCL内核的。由于FPGA中的特定属性,每个属性的OpenCL内核可以具有不同的FPGA的特定优化组合,在CU(计算单元)和SIMD(内核矢量)而言,这是对查询处理的整体性能至关重要。由于FPGA图像的资源限制,我们的查询计划还考虑使用多个FPGA图像的可能性。在本文中,我们提出了一个FPGA,具体的成本模型,以确定在不到一分钟的最优查询计划。特别是,FPGA综合时间显著通过避免需要评估所有真实的FPGA可行的查询计划减少。我们的成本模型有两个组成部分:单位成本和最佳的查询计划生成。第一组件生成多个(单位成本,资源利用率)对用于每个内核。第二组件采用一种动态编程方法来生成它参考使用多个FPGA图像的可能性最佳的查询计划。实验结果表明,1)我们的成本模型能够准确地预测所述输入查询的每个可行的查询计划的性能,并能指导最优查询计划代,2)我们的优化查询计划实现了性能加速1.5×-4×比状态的最先进的查询处理基于的OpenCL的FPGA。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号