首页> 外文期刊>Concurrency, practice and experience >Mutable locks: Combining the best of spin and sleep locks
【24h】

Mutable locks: Combining the best of spin and sleep locks

机译:可变锁:结合最好的旋转和睡眠锁

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

摘要

In this article, we present mutable locks, a synchronization construct with the same semantic of traditional locks (such as spin locks or sleep locks), but with a self-tuned optimized trade-off between responsiveness and CPU-time usage during threads' wait phases. Mutable locks tackle the need for efficient synchronization supports in the era of multicore machines, where the run-time performance should be optimized while reducing resource usage. This goal should be achieved with no intervention by the programmers. Our proposal is intended for exploitation in generic concurrent applications, where scarce or no knowledge is available about the underlying software/hardware stack and the workload. This is an adverse scenario for static choices between spinning and sleeping, which is tackled by our mutable locks thanks to their hybrid waiting phase and self-tuning capabilities.
机译:在本文中,我们呈现可变锁,具有相同语义的传统锁(如旋转锁或睡眠锁)的同步构造,但在线程期间响应性和CPU时间使用之间的自我调整优化权衡之间阶段。可变锁定解决多核机器时代的有效同步支持的需要,其中应在降低资源使用情况下优化运行时性能。该目标应通过程序员无干预来实现。我们的提案旨在用于通用并发应用程序的利用,其中稀缺或无知识可用于底层软件/硬件堆栈和工作负载。这是旋转和睡眠之间的静态选择的不利场景,这归功于我们的混合等待阶段和自调整能力,由我们的可变锁具解决。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号