【24h】

Fast and Scalable, Lock-Free k-FIFO Queues

机译:快速且可扩展的无锁k-FIFO队列

获取原文
获取外文期刊封面目录资料

摘要

We introduce fast and scalable algorithms that implement bounded- and unbounded-size lock-free κ-FIFO queues on parallel, shared memory hardware. Logically, a κ-FIFO queue can be understood as queue where elements may be dequeued out-of-order up to κ - 1, or as pool where the oldest element is dequeued within at most k dequeue operations. The presented algorithms enable up to κ enqueue and κ dequeue operations to be performed in parallel. Unlike previous designs, however, the algorithms also implement linearizable emptiness (and full) checks without impairing scalability. We show experimentally that there exist optimal and robust κ that result in best access performance and scalability. We then demonstrate that our algorithms outperform and outscale all state-of-the-art concurrent pool and queue algorithms that we considered in all micro- and most macrobenchmarks. Moreover, we demonstrate a prototypical controller which identifies optimal κ automatically at runtime achieving better performance than with any statically configured κ.
机译:我们介绍了快速且可扩展的算法,这些算法在并行共享内存硬件上实现有界和无界大小的无锁κ-FIFO队列。从逻辑上讲,可以将κ-FIFO队列理解为其中元素可以无序出队直到κ-1的队列,也可以理解为在最多k个出队操作中将最旧的元素出队的池。提出的算法可以并行执行多达κ个入队和κ个出队操作。但是,与以前的设计不同,这些算法还实现了可线性化的空度(和完整)检查,而不会损害可伸缩性。我们通过实验证明,存在最佳且健壮的κ,可导致最佳的访问性能和可伸缩性。然后,我们证明了我们的算法优于并超越了我们在所有微观基准和大多数宏观基准中考虑的所有最新并发池和队列算法。此外,我们演示了一种原型控制器,该控制器可在运行时自动识别最佳κ,从而获得比任何静态配置κ更好的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号