利用参数化缓存一致性协议的流规范实现无死锁的缓存
Using Flow Specifications of Parameterized Cache Coherence Protocols for Verifying Deadlock Freedom
摘要:
我们考虑的问题,验证对称缓存一致性协议的死锁自由。特别是,我们专注于一个特定形式的死锁,这是有用的缓存一致性协议域和一致的内部定义的死锁的Murphi模型检查器:我们把这种死锁作为一个系统范围的死锁(S-死锁)。在s-死锁中,整个系统被阻塞,无法进行任何转换。缓存一致性协议由N个对称缓存代理组成,其中N是一个无界参数,因此s-死锁自由度的验证自然是一个参数化验证问题.参数化验证技术通过使用合理的抽象来将无界模型减少到有界模型。对于工业规模协议来说,有效的抽象通常通过将大多数代理的状态替换为抽象环境来约束模型,同时只保留一个或两个代理。然而,利用这种有效的抽象成为s-死锁的挑战:违反s-死锁是一种状态,在这种状态下,所有无限数量的代理的转换都不能发生,因此像上面这样的简单抽象不会保留这种违反。在这项工作中,我们解决这一挑战,提出了一种技术,利用高层次的信息协议,在消息序列图的形式称为流,用于构建不变量,集体强于S-死锁。可以构造有效的抽象来验证这些不变量。我们成功地验证了德国和Flash协议使用我们的技术。
英文摘要:
We consider the problem of verifying deadlock freedom for symmetric cache coherence protocols. In particular, we focus on a specific form of deadlock which is useful for the cache coherence protocol domain and consistent with the internal definition of deadlock in the Murphi model checker: we refer to this deadlock as a system- wide deadlock (s-deadlock). In s-deadlock, the entire system gets blocked and is unable to make any transition. Cache coherence protocols consist of N symmetric cache agents, where N is an unbounded parameter; thus the verification of s-deadlock freedom is naturally a parameterized verification problem. Parametrized verification techniques work by using sound abstractions to reduce the unbounded model to a bounded model. Efficient abstractions which work well for industrial scale protocols typically bound the model by replacing the state of most of the agents by an abstract environment, while keeping just one or two agents as is. However, leveraging such efficient abstractions becomes a challenge for s-deadlock: a violation of s-deadlock is a state in which the transitions of all of the unbounded number of agents cannot occur and so a simple abstraction like the one above will not preserve this violation. In this work we address this challenge by presenting a technique which leverages high-level information about the protocols, in the form of message sequence dia- grams referred to as flows, for constructing invariants that are collectively stronger than s-deadlock. Efficient abstractions can be constructed to verify these invariants. We successfully verify the German and Flash protocols using our technique.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。