首页> 外文期刊>International Journal on Software Tools for Technology Transfer >A general model checking framework for various memory consistency models
【24h】

A general model checking framework for various memory consistency models

机译:用于各种内存一致性模型的通用模型检查框架

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Relaxed memory consistency models are common and essential when multiple processes share a single global address space, such as when using multicore CPUs, distributed shared-memory programming languages, and so forth. Programming within these models is difficult and error prone, because of non-intuitive behaviors that could not occur in a strict consistency model. In addition, because the memory consistency models vary from language to language, and CPU to CPU, a program that may work correctly on one system may not work on another. To address the problem, this paper describes a model checking framework in which users are able to check their programs under various memory consistency models. More specifically, our framework provides a base model that exhibits very relaxed behaviors, and users are able to define various consistency models by adding constraints to the base model. This paper also describes McSPIN, a prototype implementation of a model checker based on the proposed framework. McSPIN can take a memory consistency model as an input, as well as a program and a property to be checked. We have specified the necessary constraints for three practical existing memory consistency models (Unified Parallel C, Coarray Fortran, and Itanium). McSPIN verified some example programs correctly, and confirmed the expected differences among the three models.
机译:当多个进程共享一个全局地址空间时,例如使用多核CPU,分布式共享内存编程语言等时,宽松的内存一致性模型是常见且必不可少的。在这些模型中进行编程非常困难且容易出错,因为在严格一致性模型中不可能发生非直觉的行为。另外,由于内存一致性模型因语言而异,并且因CPU而异,因此可能在一个系统上正常运行的程序可能在另一个系统上无法运行。为了解决这个问题,本文描述了一个模型检查框架,在该模型中,用户可以在各种内存一致性模型下检查其程序。更具体地说,我们的框架提供了一个表现出非常宽松行为的基本模型,并且用户能够通过向基本模型添加约束来定义各种一致性模型。本文还介绍了McSPIN,它是基于所提出的框架的模型检查器的原型实现。 McSPIN可以将内存一致性模型作为输入,以及要检查的程序和属性。我们已经为三个实用的现有内存一致性模型(统一并行C,Coarray Fortran和Itanium)指定了必要的约束。 McSPIN正确验证了一些示例程序,并确认了这三种模型之间的预期差异。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号