【24h】

Hopscotch Hashing

机译:跳房子散列

获取原文

摘要

We present a new class of resizable sequential and concurrent hash map algorithms directed at both uni-processor and multicore machines. The new hopscotch algorithms are based on a novel hopscotch multi-phased probing and displacement technique that has the flavors of chaining, cuckoo hashing, and linear probing, all put together, yet avoids the limitations and overheads of these former approaches. The resulting algorithms provide tables with very low synchronization overheads and high cache hit ratios. In a series of benchmarks on a state-of-the-art 64-way Niagara II multicore machine, a concurrent version of hopscotch proves to be highly scalable, delivering in some cases 2 or even 3 times the throughput of today's most efficient concurrent hash algorithm, Lea's ConcurrentHashMap from java.concurr.util. Moreover, in tests on both Intel and Sun uniprocessor machines, a sequential version of hopscotch consistently outperforms the most effective sequential hash table algorithms including cuckoo hashing and bounded linear probing. The most interesting feature of the new class of hopscotch algorithms is that they continue to deliver good performance when the hash table is more than 90% full, increasing their advantage over other algorithms as the table density grows.
机译:我们展示了一类新的可调整大小的顺序和并发哈希地图算法,指向了一个Uni-Processor和Multicore Machines。新的跳闸算法基于新颖的跳过多相多相探测和位移技术,该探测和位移技术具有链接,杜鹃散列和线性探测的味道,并避免了这些前一种方法的局限性和开销。得到的算法提供具有非常低同步开销和高高缓存命中比的表。在一系列最先进的64路尼亚加拉II多核机器上的一系列基准中,并发版本的跳闸电池证明是高度可扩展的,在某些情况下提供2例甚至是今天最有效的并发哈希最有效的吞吐量的3倍algorithm,lea的java.concurr.util的concurrenthashmap。此外,在Intel和Sun Uniprocessor机器的测试中,跳闸电池的连续版本始终优于最有效的顺序哈希表算法,包括Cuckoo散列和有界线性探测。新类跳房子算法的最有趣特征是当哈希表满90%以上时,它们继续提供良好的性能,随着表密度的增长,将其优于其他算法的优势。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号