首页> 外文会议>Real-Time Systems Symposium, 1996., 17th IEEE >Optimizing a FIFO, scalable spin lock using consistent memory
【24h】

Optimizing a FIFO, scalable spin lock using consistent memory

机译:使用一致的内存优化FIFO,可扩展的自旋锁

获取原文

摘要

The paper presents a FIFO queue based, scalable spin lock (FSSL) that: (1) uses only one atomic swap operation; (2) is scalable as it requires a constant amount of communication; (3) runs without a coherent cache support; and (4) provides a timing guarantee suitable for real time applications. The algorithm is optimal in the number of atomic operations required to solve the scalable mutual exclusion problem in NUMA architectures, improving on T. Craig's (1993) spin lock that uses four atomic swap operations. The FSSL algorithm minimizes the number of atomic operations by replacing them with non atomic read and write operations, and takes good advantage of recent multiprocessors where non atomic memory operations are much more optimized than atomic operations. The algorithm runs correctly in various weakly consistent memories, providing a potentially significant speedup over algorithms with more atomic operations.
机译:本文提出了一种基于FIFO队列的可扩展自旋锁(FSSL),它:(1)仅使用一个原子交换操作; (2)具有可伸缩性,因为它需要恒定的通信量; (3)运行时没有一致的缓存支持; (4)提供适合实时应用的时序保证。该算法在解决NUMA体系结构中的可伸缩互斥问题所需的原子操作数量上是最佳的,这是对T. Craig(1993)使用四个原子交换操作的自旋锁进行了改进。 FSSL算法通过用非原子读和写操作代替原子操作来最大程度地减少原子操作的数量,并充分利用了最新的多处理器,其中非原子内存操作比原子操作更加优化。该算法可在各种弱一致性存储器中正确运行,从而比具有更多原子操作的算法可能具有显着的提速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号