首页> 外文期刊>ACM Transactions on Parallel Computing >Efficient Abortable-locking Protocol for Multi-level NUMA Systems: Design and Correctness
【24h】

Efficient Abortable-locking Protocol for Multi-level NUMA Systems: Design and Correctness

机译:用于多级NUMA系统的高效中止锁定协议:设计和正确性

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

摘要

The popularity of Non-Uniform Memory Access (NUMA) architectures has led to numerous locality-preserving hierarchical lock designs, such as HCLH, HMCS, and cohort locks. Locality-preserving locks trade fairness for higher throughput. Hence, some instances of acquisitions can incur long latencies, which can be intolerable for certain applications. Few locks allow a waiting thread to abort on a timeout. State-of-the-art abortable locks are not fully locality aware, introduce high overheads, and are unsuitable for frequent aborts. Enhancing locality-aware locks with lightweight timeout capability is critical for their adoption. In this article, we describe the design and implementation of the HMCS-T lock, a Hierarchical MCS (HMCS) lock variant that admits timeout. HMCS-T maintains the locality benefits of HMCS while ensuring aborts are lightweight. HMCS-T offers the progress guarantee missing in most abortable queuing locks. The resulting locking algorithm is complex and stateful. Proving the correctness of a complex, stateful synchronization algorithm is challenging. We prove the correctness of HMCS-T by first decomposing the problem via a novel technique that uses non-deterministic finite acceptors (NFAs). The decomposed problems become small enough to be mechanically model checked without a state-space explosion. Then, we generalize the correctness proof of any arbitrary lock configuration using a construction argument.
机译:非统一内存访问(NUMA)架构的普及导致了许多地方保留了分层锁定设计,例如HCLH,HMC和COHORT锁。地方保留锁定贸易公平,以获得更高的吞吐量。因此,一些收购实例可能会产生长期的延迟,这对于某些应用程序来说可以是无法忍受的。很少几个锁允许等待线程在超时中中止。最先进的无形锁不是完全局部性意识,引入高开销,并且不适合频繁中止。增强具有轻量级超时能力的位置感知锁对其采用至关重要。在本文中,我们描述了HMCS-T锁的设计和实现,即允许超时的分层MCS(HMCS)锁定变量。 HMCS-T维护HMCS的位置优势,同时确保中止是轻量级的。 HMCS-T提供大多数中移排队锁中缺失的进度保证。由此产生的锁定算法复杂和状态。证明了复杂的状态同步算法的正确性是具有挑战性的。首先通过使用非确定性有限受体(NFAS)的新技术分解问题,证明HMCS-T的正确性。在没有状态空间爆炸的情况下,分解问题足够小,以机械模型检查。然后,我们使用施工参数概括任何任意锁配置的正确性证明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号