...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >CASTLE: Fast Concurrent Internal Binary Search Tree using Edge-Based Locking
【24h】

CASTLE: Fast Concurrent Internal Binary Search Tree using Edge-Based Locking

机译:CASTLE:使用基于边缘的锁定的快速并发内部二进制搜索树

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

摘要

We present a new lock-based algorithm for concurrent manipulation of a binary search tree in an asynchronous shared memory system that supports search, insert and delete operations. Some of the desirable characteristics of our algorithm are: (i) a search operation uses only read and write instructions, (ii) an insert operation does not acquire any locks, and (iii) a delete operation only needs to lock up to four edges in the absence of contention. Our algorithm is based on an internal representation of a search tree and it operates at edge-level (locks edges) rather than at node-level (locks nodes); this minimizes the contention window of a write operation and improves the system throughput. Our experiments indicate that our lock-based algorithm outperforms existing algorithms for a concurrent binary search tree for medium-sized and larger trees, achieving up to 59% higher throughput than the next best algorithm.
机译:我们提出了一种新的基于锁的算法,用于在异步共享内存系统中并发操作二进制搜索树,该系统支持搜索,插入和删除操作。我们算法的一些理想特性是:(i)搜索操作仅使用读和写指令,(ii)插入操作不获取任何锁定,并且(iii)删除操作仅需要锁定四个边缘在没有争用的情况下。我们的算法基于搜索树的内部表示,并且它在边缘级别(锁定边缘)而不是节点级别(锁定节点)运行;这样可以最小化写操作的竞争窗口并提高系统吞吐量。我们的实验表明,基于锁的算法优于针对中型和大型树的并发二进制搜索树的现有算法,与次优算法相比,吞吐量提高了59%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号