...
首页> 外文期刊>情報処理学会論文誌 >Efficient Lock Algorithm for Shared Objects in SMP Environments
【24h】

Efficient Lock Algorithm for Shared Objects in SMP Environments

机译:SMP环境中共享对象的高效锁定算法

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

摘要

We propose a new algorithm that is effective for objects that are shared among threads but are not contended for in SMP environments. We can remove the overhead of the serialization between lock and other non-lock operations and avoid the latency of complex atomic operations in most cases. We established the safety of the algorithm by using a software tool called Spin. The experimental results from our benchmarking on an SMP machine using Intel Xeon processors revealed that our algorithm could significantly improve efficiency by 80% on average compared to using complex atomic instruction.
机译:我们提出了一种新算法,该算法对于线程间共享但在SMP环境中不争用的对象有效。我们可以消除锁定和其他非锁定操作之间序列化的开销,并且在大多数情况下避免了复杂原子操作的延迟。我们使用称为Spin的软件工具确定了算法的安全性。我们在使用Intel Xeon处理器的SMP机器上进行基准测试的实验结果表明,与使用复杂的原子指令相比,我们的算法平均可将效率平均提高80%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号