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

Robin Hood Hashing

Concurrent Robin Hood Hashing

Robert Kelly, Barak A. Pearlmutter, Phil Maguire

摘要:

在本文中,我们将研究在罗宾汉哈希表算法中添加并发所涉及的问题。我们提出了一个非阻塞的无障碍K-CAS罗宾汉算法,它只需要一个字的比较和交换原语,从而使它具有高度的可移植性。该实现保持了原始罗宾汉结构的吸引人的属性,如低预期的探针长度,在高负载因子和良好的高速缓存局部性下有效操作的能力,所有这些都是现代计算机体系结构上的高性能所必需的。我们将我们的数据结构与其他各种无锁和并发算法以及一个简单的硬件事务变体进行比较,并表明我们的实现在许多上下文中表现更好。

英文摘要:

In this paper we examine the issues involved in adding concurrency to the Robin Hood hash table algorithm. We present a non-blocking obstruction-free K-CAS Robin Hood algorithm which requires only a single word compare-and-swap primitive, thus making it highly portable. The implementation maintains the attractive properties of the original Robin Hood structure, such as a low expected probe length, capability to operate effectively under a high load factor and good cache locality, all of which are essential for high performance on modern computer architectures. We compare our data-structures to various other lock-free and concurrent algorithms, as well as a simple hardware transactional variant, and show that our implementation performs better across a number of contexts.

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

↑