TCUDB:使用张量处理器加速数据库
TCUDB: Accelerating Database with Tensor Processors
摘要:
近年来,新型硬件加速器的出现推动了机器学习的巨大增长。这些加速器在处理大容量矩阵运算符方面提供了无与伦比的性能提升,特别是矩阵乘法,这是神经网络训练和推理的核心组件。在这项工作中,我们探索了使用NVIDIA的Tensor Core Units(TCU)加速数据库系统的机会。我们提出了TCUDB,TCU加速查询引擎处理一组查询运算符,包括自然连接和分组聚合TCU内的矩阵运算符。矩阵乘法在过去被认为是低效的;然而,在传统的基于GPU的数据库中,这种策略在很大程度上仍未被探索,这些数据库主要依赖于向量或标量处理。我们展示了TCUDB在一系列实际应用中的显着性能增益,包括实体匹配,图形查询处理和基于矩阵的数据分析。与基于GPU的基准查询引擎相比,TCUDB实现了高达288倍的加速。
英文摘要:
The emergence of novel hardware accelerators has powered the tremendous growth of machine learning in recent years. These accelerators deliver incomparable performance gains in processing high-volume matrix operators, particularly matrix multiplication, a core component of neural network training and inference. In this work, we explored opportunities of accelerating database systems using NVIDIA's Tensor Core Units (TCUs). We present TCUDB, a TCU-accelerated query engine processing a set of query operators including natural joins and group-by aggregates as matrix operators within TCUs. Matrix multiplication was considered inefficient in the past; however, this strategy has remained largely unexplored in conventional GPU-based databases, which primarily rely on vector or scalar processing. We demonstrate the significant performance gain of TCUDB in a range of real-world applications including entity matching, graph query processing, and matrix-based data analytics. TCUDB achieves up to 288x speedup compared to a baseline GPU-based query engine.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。