首页> 外文会议>International Parallel and Distributed Processing Symposium >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 system's overall performance. Non-blocking algorithms avoid blocking, and are either lock-free or wait-free. 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 some of the most efficient implementations of priority queues known. The experimental results clearly show that our lock-free implementation outperforms the other lock-based implementations in all cases for 3 threads and more, both on fully concurrent as well as on pre-emptive systems.
机译:我们介绍了一个适用于完全并发(大型多处理器)系统的并发优先级队列的有效和实际的锁定实现,以及先发制人的(多过程)系统。同时优先级队列的许多算法基于相互排除。然而,相互排除导致阻塞,这具有几个缺点并降低了系统的整体性能。非阻塞算法避免阻塞,无锁或无等待。以前已知的优先级队列的非阻塞算法在实践中没有表现良好,并且它们通常基于非可用原子同步基元。我们的算法基于随机顺序列表结构,称为Skiplist,还描述了我们算法的实时扩展。在我们的性能评估中,我们将算法与已知优先级队列的一些最有效的实现进行比较。实验结果清楚地表明,我们的锁定实现优于3个线程的所有情况下的其他基于锁的实现,也可以在完全并发和预先发布系统上。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号