【24h】

High Performance Dynamic Lock-Free Hash Tables and List-Based Sets

机译:高性能动态无锁哈希表和基于列表的集

获取原文
获取原文并翻译 | 示例

摘要

Lock-free (non-blocking) shared data structures promise more robust performance and reliability than conventional lock-based implementations. However, all prior lock-free algorithms for sets and hash tables suffer from serious drawbacks that prevent or limit their use in practice. These drawbacks include size inflexibility, dependence on atomic primitives not supported on any current processor architecture, and dependence on highly-inefficient or blocking memory management techniques. Building on the results of prior researchers, this paper presents the first CAS-based lock-free list-based set algorithm that is compatible with all lock-free memory management methods. We use it as a building block of an algorithm for lock-free hash tables. In addition to being lock-free, the new algorithm is dynamic, linearizable, and space-efficient. Our experimental results show that the new algorithm outperforms the best known lock-free as well as lock-based hash table implementations by significant margins, and indicate that it is the algorithm of choice for implementing shared hash tables.
机译:与传统的基于锁的实现相比,无锁(非阻塞)共享数据结构有望实现更强大的性能和可靠性。但是,所有现有的用于集和哈希表的无锁算法都存在严重的缺陷,这些缺陷会阻止或限制其在实践中的使用。这些缺点包括大小不灵活,依赖于任何当前处理器体系结构不支持的原子图元以及依赖于效率低下或阻塞的内存管理技术。在先前研究人员的研究成果基础上,本文提出了首个与所有无锁内存管理方法兼容的基于CAS的无锁基于列表的集合算法。我们将其用作无锁哈希表算法的构建块。除了免锁之外,新算法还具有动态,线性化和节省空间的功能。我们的实验结果表明,该新算法比已知的无锁和基于锁的哈希表实现有明显的提高,并且表明它是实现共享哈希表的首选算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号