首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Formal automatic verification of cache coherence in multiprocessors with relaxed memory models
【24h】

Formal automatic verification of cache coherence in multiprocessors with relaxed memory models

机译:带有宽松内存模型的多处理器中缓存一致性的正式自动验证

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

摘要

State-based, formal methods have been successfully applied to the automatic verification of cache coherence in sequentially consistent systems. However, coherence in shared memory multiprocessors under a relaxed memory model is much more complex to verify automatically. With relaxed memory models, incoming invalidations and outgoing updates can be delayed in each cache while processors are allowed to race ahead. This buffering of memory accesses considerably increases the amount of state in each cache and the complexity of protocol interactions. Moreover, because caches can hold inconsistent copies of the same data for long periods of time, coherence cannot be verified by simply checking that cached copies are identical at all times. This paper makes two major contributions. First, we demonstrate how to model and verify cache coherence under a relaxed memory model in the context of state-based verification methods. Frameworks for modeling the hardware and for generating correct memory access sequences driving the hardware model are developed. We also show correctness properties which must be verified on the hardware model. Second, we demonstrate a successful application of a state-based verification tool called SSM for the verification of the delayed protocol, an aggressive protocol for relaxed memory models. SSM is based on an abstraction technique preserving the properties to verify. We show that with classical, explicit approaches the verification of cache coherence is realistically unfeasible because of the state space explosion problem, whereas SSM is able to verify protocols both at both behavioral and message-passing levels.
机译:基于状态的形式化方法已成功地应用于顺序一致的系统中缓存一致性的自动验证。但是,在宽松内存模型下的共享内存多处理器中的一致性要自动验证要复杂得多。使用宽松的内存模型,传入的无效和传出的更新可以在每个高速缓存中延迟,同时允许处理器提前竞争。内存访问的这种缓冲大大增加了每个缓存中的状态数量,并增加了协议交互的复杂性。此外,由于缓存可以长时间保存相同数据的不一致副本,因此无法通过简单地检查缓存副本始终相同来验证一致性。本文做出了两个主要贡献。首先,我们演示如何在基于状态的验证方法的上下文中,在宽松的内存模型下对缓存一致性进行建模和验证。开发了用于对硬件进行建模并用于生成驱动硬件模型的正确内存访问序列的框架。我们还显示了必须在硬件模型上验证的正确性属性。其次,我们演示了一种称为SSM的基于状态的验证工具的成功应用,该工具用于验证延迟协议,这是用于宽松内存模型的积极协议。 SSM基于保留技术以进行验证的抽象技术。我们显示,由于状态空间爆炸问题,使用经典的显式方法验证高速缓存一致性实际上是不可行的,而SSM能够在行为和消息传递级别上验证协议。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号