首页> 外文期刊>Operating systems review >Scalable Concurrent Hash Tables via Relativistic Programming
【24h】

Scalable Concurrent Hash Tables via Relativistic Programming

机译:通过相对论编程可扩展的并发哈希表

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

摘要

This paper presents a novel concurrent hash table implementation which supports wait-free, near-linearly scalable lookup, even in the presence of concurrent modifications. In particular, this hash table implementation supports concurrent moves of hash table elements between buckets, for purposes such as renames.rnImplementation of this algorithm in the Linux kernel demonstrates its performance and scalability. Benchmarks on a 64-way POWER system showed a 6x scalability improvement versus fine-grained locking, and a 1.5x improvement versus the current state of the art in Linux.rnTo achieve these scalability improvements, the hash table implementation uses a new concurrent programming technique known as relativistic programming. This approach uses a copy-based update strategy to allow readers and writers to run concurrently without conflicts, avoiding many of the non-scalable costs of synchronization, inter-processor communication, and cache coherence. New techniques such as the proposed hash-table move algorithm allow readers to tolerate the resulting weak memory-ordering behavior that arises from allowing one version of a structure to be read concurrently with updates to a different version of the same structure. Relativistic programming techniques provide performance and scalability advantages over traditional synchronization, as demonstrated through several benchmarks.
机译:本文提出了一种新颖的并发哈希表实现,即使在存在并发修改的情况下,该实现也支持无等待,近线性可扩展查找。特别是,此哈希表实现支持在存储桶之间并发移动哈希表元素,例如重命名。rn在Linux内核中该算法的实现证明了其性能和可伸缩性。在64路POWER系统上的基准测试表明,与细粒度锁定相比,可伸缩性提高了6倍,与Linux的最新技术相比,提高了1.5倍。为了实现这些可伸缩性的提高,哈希表实现使用一种新的并发编程技术被称为相对论编程。这种方法使用基于副本的更新策略,以允许读取器和写入器在没有冲突的情况下并发运行,从而避免了同步,处理器间通信和缓存一致性的许多不可扩展的成本。诸如建议的哈希表移动算法之类的新技术使读者可以忍受由此导致的弱存储顺序行为,该行为是由于允许在读取结构的一个版本的同时更新同一结构的不同版本而引起的。相对论编程技术提供了优于传统同步的性能和可伸缩性优势,如通过多个基准测试所证明的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号