首页> 外文会议>Computer aided verification >Software Transactional Memory on Relaxed Memory Models
【24h】

Software Transactional Memory on Relaxed Memory Models

机译:松弛内存模型上的软件事务性内存

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

摘要

Pseudo-code descriptions of STMs assume sequentially consistent program execution and atomicity of high-level STM operations like read, write, and commit. These assumptions are often violated in realistic settings, as STM implementations run on relaxed memory models, with the atomicity of operations as provided by the hardware. This paper presents the first approach to verify STMs under relaxed memory models with atomicity of 32 bit loads and stores, and read-modify-write operations. We present RML, a new high-level language for expressing concurrent algorithms with a hardware-level atomicity of instructions, and whose semantics is parametrized by various relaxed memory models. We then present our tool, FOIL, which takes as input the RML description of an STM algorithm and the description of a memory model, and automatically determines the locations of fences, which if inserted, ensure the correctness of the STM algorithm under the given memory model. We use FOIL to verify DSTM, TL2, and McRT STM under the memory models of sequential consistency, total store order, partial store order, and relaxed memory order.
机译:STM的伪代码描述假定程序顺序执行一致,并且具有高级STM操作(如读取,写入和提交)的原子性。这些假设在实际设置中经常被违反,因为STM实现在宽松的内存模型上运行,并且操作的原子性由硬件提供。本文提出了一种在松弛的内存模型下验证STM的第一种方法,该模型具有32位加载和存储的原子性以及读-修改-写操作。我们介绍RML,这是一种新的高级语言,用于表达具有硬件级指令原子性的并发算法,并且其语义由各种宽松的内存模型参数化。然后,我们介绍我们的工具FOIL,该工具将STM算法的RML描述和内存模型的描述作为输入,并自动确定围栅的位置,如果插入该栅栏,则可以确保给定内存下STM算法的正确性模型。我们使用FOIL在顺序一致性,总存储顺序,部分存储顺序和宽松的存储顺序的内存模型下验证DSTM,TL2和McRT STM。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号