Journal of South China University of Technology(Natural Science Edition) ›› 2012, Vol. 40 ›› Issue (4): 49-56.

• Computer Science & Technology • Previous Articles     Next Articles

GBLHT: a GPU-Accelerated Linear Hash Table with Batch Insertion

Huang Yu-long1  Xi Jian-qing2  Zhang Ping-jian2  Fang Xiao-lin2  Liu Yong1   

  1. 1.School of Computer Science and Engineering,South China University of Technology,Guangzhou 510006,Guangdong,China; 2.School of Software Engineering,South China University of Technology,Guangzhou 510006,Guangdong,China
  • Received:2011-09-27 Revised:2011-12-21 Online:2012-04-25 Published:2012-03-01
  • Contact: 黄玉龙(1979-) ,男,博士生,主要从事高性能计算、物联网研究. E-mail:p3vsea2002@yahoo.com.cn
  • About author:黄玉龙(1979-) ,男,博士生,主要从事高性能计算、物联网研究.
  • Supported by:

    国家自然科学基金资助项目( 61103038) ; 广东省科技计划项目( 2009B050700008) ; 广东省产学研合作项目( 2008B090500193) ; 广东省专业镇建设项目( 2011B080202035)

Abstract:

In order to improve the insertion performance of linear Hash table known as an effective index structure,the existing insertion methods are analyzed,and a linear Hash table GBLHT with batch records insertion,which is combined with the CUDA parallel programming model,is designed and implemented. With the help of the atomic function atomicAdd,GBLHT takes full advantage of the high parallel throughput of graphic processing unit ( GPU) to implement the lock-free batch insertion of massive records. Some experiments are then carried out to compare the insertion performances of the traditional serial insertion method,the CPU-based batch insertion method and GBLHT. The results show that,under various parameter conditions,the insertion performance of GBLHT is 7~14 times higher than that of the traditional serial method,and is 3~6 times higher than that of the CPU-based batch insertion method with four threads.

Key words: linear Hash table, graphics processor, general-purpose computing on GPU, lock-free batch insertion, in-memory data index structure, atomic function atomicAdd

CLC Number: