首页> 外文期刊>ACM Transactions on Parallel Computing >Concurrent Hash Tables: Fast and General(?)!
【24h】

Concurrent Hash Tables: Fast and General(?)!

机译:并发哈希表:快速和常规(?)!

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

摘要

Concurrent hash tables are one of the most important concurrent data structures, which are used in numerous applications. For some applications, it is common that hash table accesses dominate the execution time. To efficiently solve these problems in parallel, we need implementations that achieve speedups in highly concurrent scenarios. Unfortunately, currently available concurrent hashing libraries are far away from this requirement, in particular, when adaptively sized tables are necessary or contention on some elements occurs. Our starting point for better performing data structures is a fast and simple lock-free concurrent hash table based on linear probing that is, however, limited to word-sized key-value types and does not support dynamic size adaptation. We explain how to lift these limitations in a provably scalable way and demonstrate that dynamic growing has a performance overhead comparable to the same generalization in sequential hash tables. We perform extensive experiments comparing the performance of our implementations with six of the most widely used concurrent hash tables. Ours are considerably faster than the best algorithms with similar restrictions and an order of magnitude faster than the best more general tables. In some extreme cases, the difference even approaches four orders of magnitude. All our implementations discussed in this publication can be found on github [17].
机译:并发哈希表是最重要的并发数据结构之一,在许多应用程序中使用。对于某些应用程序,哈希表访问通常会占据执行时间,这很常见。为了有效地并行解决这些问题,我们需要在高度并发的场景中实现加速的实现。不幸的是,当前可用的并发哈希库离此要求还很远,特别是当需要自适应大小的表或某些元素发生争用时。为了使数据结构更好地执行,我们的出发点是基于线性探测的快速,简单的无锁并发哈希表,但是该表仅限于字大小的键值类型,并且不支持动态大小自适应。我们将说明如何以可证明的可扩展方式消除这些限制,并说明动态增长具有可与顺序哈希表中的相同概括相媲美的性能开销。我们进行了广泛的实验,将实现的性能与六个使用最广泛的并发哈希表进行了比较。我们的算法比具有类似限制的最佳算法要快得多,并且比最佳的通用表要快一个数量级。在某些极端情况下,差异甚至接近四个数量级。我们在出版物中讨论的所有实现都可以在github [17]上找到。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号