arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.09337cs.DB
收藏

RTCUDB: 利用RT处理器构建数据库

RTCUDB: Building Databases with RT Processors

Xuri Shi, Kai Zhang, X. Sean Wang, Xiaodong Zhang, Rubao Lee

AI总结:

针对现有基于CUDA核心的GPU数据库查询引擎性能受内存带宽限制的问题,提出首个利用GPU光线追踪核心的查询引擎RTCUDB,通过将查询转换为三维光线追踪任务优化访存,性能较现有最优GPU方案最高提升18.3倍。

摘要:

过去十年间,学界已研究了一系列新型硬件以加速数据库系统。具体而言,CUDA核心得益于GPU的快速发展,实现了显著的性能提升。当前最先进的基于GPU的实现即Crystal,性能最高可达基于CPU实现的61倍。然而实验表明,该方法几乎已耗尽GPU的全部内存带宽,意味着进一步提升性能的空间极小。我们推出RTCUDB,这是首个利用GPU中的光线追踪(RT)核心加速数据库查询处理的查询引擎。RTCUDB可将查询求值过程高效转换为三维空间中的光线追踪任务。通过大幅减少数据访问量,并借助光线追踪机制优化数据访问模式,RTCUDB的性能不再像基于CUDA的实现那样受内存带宽限制。实验结果显示,RTCUDB性能比当前最先进的基于GPU的查询引擎最高高出18.3倍,同时内存带宽使用率平均仅降至36.7%。

英文摘要:

A spectrum of new hardware has been studied to accelerate database systems in the past decade. Specifically, CUDA cores are known to benefit from the fast development of GPUs and make notable performance improvements. The state-of-the-art GPU-based implementation, i.e., Crystal, can achieve up to 61 times higher performance than CPU-based implementations. However, experiments show that the approach has already saturated almost all GPU memory bandwidth, which means there is little room left for further performance improvements. We introduce RTCUDB, the first query engine that leverages ray tracing (RT) cores in GPUs to accelerate database query processing. RTCUDB efficiently transforms the evaluation of a query into a ray-tracing job in a three-dimensional space. By dramatically reducing the amount of accessed data and optimizing the data access pattern with the ray tracing mechanism, the performance of RTCUDB is no longer limited by the memory bandwidth as in CUDA-based implementations. Experimental results show that RTCUDB outperforms the state-of-the-art GPU-based query engine by up to 18.3 times while the memory bandwidth usage drops to only 36.7% on average.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑