arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1911.03028cs.DCcs.DS
收藏

无锁跳房子散列

Lock-Free Hopscotch Hashing

Robert Kelly, Barak A. Pearlmutter, Phil Maguire

摘要:

在本文中,我们提出了一个无锁版本的跳房子散列。Hopscotch Hashing是一种开放寻址算法,最初由Herlihy,Saught和Tzafrir提出,以快速性能和出色的缓存局部性而闻名。该算法允许表的用户跳过或跳过不相关的条目,允许快速搜索、插入和删除条目。与传统的线性探测不同,Hopscotch Hashing能够在高负载系数下运行,因为探测数仍然很小。我们的无锁版本在速度、缓存位置和进度保证方面都比原来的版本有了改进,它是两个并发哈希表的嵌合体。我们比较我们的数据结构,其他各种无锁和阻塞哈希算法,并表明其性能在许多情况下优于现有的策略。所提出的无锁版本克服了与原始阻塞版本相关的一些缺点,从而大大提高了可扩展性,同时保持了物理删除或探测链压缩等有吸引力的功能。

英文摘要:

In this paper we present a lock-free version of Hopscotch Hashing. Hopscotch Hashing is an open addressing algorithm originally proposed by Herlihy, Shavit, and Tzafrir, which is known for fast performance and excellent cache locality. The algorithm allows users of the table to skip or jump over irrelevant entries, allowing quick search, insertion, and removal of entries. Unlike traditional linear probing, Hopscotch Hashing is capable of operating under a high load factor, as probe counts remain small. Our lock-free version improves on both speed, cache locality, and progress guarantees of the original, being a chimera of two concurrent hash tables. We compare our data structure to various other lock-free and blocking hashing algorithms and show that its performance is in many cases superior to existing strategies. The proposed lock-free version overcomes some of the drawbacks associated with the original blocking version, leading to a substantial boost in scalability while maintaining attractive features like physical deletion or probe-chain compression.

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

↑