...
首页> 外文期刊>Journal of Parallel and Distributed Computing >Fast and lock-free concurrent priority queues for multi-thread systems
【24h】

Fast and lock-free concurrent priority queues for multi-thread systems

机译:用于多线程系统的快速且无锁的并发优先级队列

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

摘要

We present an efficient and practical lock-free implementation of a concurrent priority queue that is suitable for both fully concurrent (large multi-processor) systems as well as pre-emptive (multi-process) systems. Many algorithms for concurrent priority queues are based on mutual exclusion. However, mutual exclusion causes blocking which has several drawbacks and degrades the overall performance of the system. Non-blocking algorithms avoid blocking, and several implementations have been proposed. Previously known non-blocking algorithms of priority queues did not perform well in practice because of their complexity, and they are often based on non-available atomic synchronization primitives. Our algorithm is based on the randomized sequential list structure called Skiplist, and a real-time extension of our algorithm is also described. In our performance evaluation we compare our algorithm with a well-representable set of earlier known implementations of priority queues. The experimental results clearly show that our lock-free implementation outperforms the other lock-based implementations in practical scenarios for 3 threads and more, both on fully concurrent as well as on pre-emptive systems. (c) 2005 Elsevier Inc. All rights reserved.
机译:我们提出了一种有效且实用的并发优先级队列的无锁实现方式,该方法适用于完全并发(大型多处理器)系统以及抢占式(多进程)系统。并发优先级队列的许多算法都基于互斥。但是,互斥导致阻塞,这有几个缺点,并降低了系统的整体性能。非阻塞算法避免阻塞,并且已经提出了几种实现方式。先前已知的优先级队列的非阻塞算法由于其复杂性而在实践中表现不佳,并且它们通常基于不可用的原子同步原语。我们的算法基于称为Skiplist的随机顺序列表结构,并且还描述了我们算法的实时扩展。在性能评估中,我们将算法与优先级队列的一组可很好代表的较早的已知实现方式进行比较。实验结果清楚地表明,在完全并发以及抢占式系统上,在3个线程及更多线程的实际情况下,我们的无锁实现优于其他基于锁的实现。 (c)2005 Elsevier Inc.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号