大工至善|大学至真分享 http://blog.sciencenet.cn/u/lcj2212916

博文

[转载]【电子技术】【2012.08】面向数据库的可重构FPGA加速器

已有 1083 次阅读 2020-8-27 16:22 |系统分类:科研笔记|文章来源:转载

本文为挪威奥斯陆大学(作者:Jonas Julian Jensen)的硕士论文,共107页。

 

传统上,数据库管理系统完全是用软件实现的。但是,将硬件添加到数据库集群服务器以获得更高的速度是有代价的。首先是硬件本身的成本,其次是必须使用的众多处理器的功耗增加

 

本研究的目的是探讨如何利用FPGA的部分运行重构来加速数据库。旨在展示基于FPGA的查询处理器如何与常规软件数据库协同工作,以加速某些查询。本文提出了一种利用FPGA中的动态部分重构来处理硬件中任意查询的新方法。我们研究如何将SQL查询分解并转换为硬件模块,这些模块在运行时“缝合”在一起,形成流处理数据路径。因此,提出了一组可定制的硬件模块,每个模块都可以实现一系列的SQL操作符。此外,本文还提出了一种基于时隙的部分重配置的大容量FPGA布局方法。最后,通过一个案例分析,我们可以得出主要的瓶颈是与主机的接口。另一个有趣的发现是,与传统数据库不同的是,加速器不会因为更复杂的查询而减速。相反,过滤掉输出结果实际上会加快速度。

 

Database management systems havetraditionally been implemented entirely in software. However, adding hardwareto database cluster servers to gain more speed has its price. Firstly, the costof the hardware itself, secondly the increased power consumption from thenumerous processors that have to be used. The purpose of this study is toinvestigate how partial run-time reconfiguration in FPGAs can be used toaccelerate databases. It aims to show how an FPGA based query processor canwork in collaboration with a regular software database to accelerate certainqueries. This thesis proposes a novel way of using dynamic partialreconfiguration in FPGAs to process arbitrary queries in hardware. Weinvestigate how SQL queries can be decomposed and turned into hardware modulesthat are ’stitched’ together at runtime to form a stream processing datapath.Consequently, a set of customizable hardware modules that each can implement arange of SQL operators are presented. In addition, the thesis gives a methodfor floorplanning a high capacity FPGA for slot based partial reconfiguration.In the end, by the help of a case study we can conclude that the mainbottleneck is the interface to the host computer. Another interesting findingis that unlike conventional databases, the accelerator is not slowed down by amore complex query. On the contrary, filtering out results actually speeds itup.

 

1. 引言

2. Maxeler系统描述

3. 重配置

4. 概念与设计决定

5. 具体实现

6. 结果

7. 结论

附录 文件系统开销的Matlab脚本

附录 模块库的VHDL代码

附录 整数比较模块的VHDL代码

附录 简单模式匹配模块的VHDL代码

附录 长字符串模式匹配模块的VHDL代码

附录 生成静态系统的GoAhead脚本

附录 生成部分模块的GoAhead脚本



更多精彩文章请关注公众号:205328s611i1aqxbbgxv19.jpg




https://blog.sciencenet.cn/blog-69686-1248113.html

上一篇:[转载]【信息技术】【2015.09】运动蛋白颗粒检测与跟踪的自动化设计
下一篇:[转载]【雷达与对抗】【2012】449MHz模块化风廓线雷达系统
收藏 IP: 114.102.184.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-9-27 11:43

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部