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

更好的GPU哈希表

Better GPU Hash Tables

Muhammad A. Awad, Saman Ashkiani, Serban D. Porumbescu, Martín Farach-Colton, John D. Owens

摘要:

我们重新审视了在GPU上构建静态哈希表的问题,并设计和构建了三个使用不同探测方案的桶式哈希表。我们的实现是无锁的,并提供有效的内存访问模式,因此,只有探测方案是影响哈希表的不同操作的性能的因素。我们的研究结果表明,使用三个哈希函数(BCHT)的桶布谷鸟哈希表优于使用2的幂选择,冰山哈希和布谷鸟哈希表,使用桶大小1的替代方法。在高达0.99的高负载因子下,BCHT在插入期间享有1.43的平均探针计数。仅使用三个散列函数,正查询和负查询分别需要每个键最多1.39和2.8个平均探测器。

英文摘要:

We revisit the problem of building static hash tables on the GPU and design and build three bucketed hash tables that use different probing schemes. Our implementations are lock-free and offer efficient memory access patterns; thus, only the probing scheme is the factor affecting the performance of the hash table's different operations. Our results show that a bucketed cuckoo hash table that uses three hash functions (BCHT) outperforms alternative methods that use power-of-two choices, iceberg hashing, and a cuckoo hash table that uses a bucket size one. At high load factors as high as 0.99, BCHT enjoys an average probe count of 1.43 during insertion. Using three hash functions only, positive and negative queries require at most 1.39 and 2.8 average probes per key, respectively.

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

↑