首页> 外文会议>International conference on networked systems >Locality and Singularity for Store-Atomic Memory Models
【24h】

Locality and Singularity for Store-Atomic Memory Models

机译:存储原子内存模型的局部性和奇异性

获取原文

摘要

Robustness is a correctness notion for concurrent programs running under relaxed consistency models. The task is to check that the relaxed behavior coincides (up to traces) with sequential consistency (SC). Although computationally simple on paper (robustness has been shown to be PSPACE-complete for TSO, PGAS, and Power), building a practical robustness checker remains a challenge. The problem is that the various relaxations lead to a dramatic number of computations, only few of which violate robustness. In the present paper, we set out to reduce the search space for robustness checkers. We focus on store-atomic consistency models and establish two completeness results. The first result, called locality, states that a non-robust program always contains a violating computation where only one thread delays commands. The second result, called singularity, is even stronger but restricted to programs without lightweight fences. It states that there is a violating computation where a single store is delayed. As an application of the results, we derive a linear-size source-to-source translation of robustness to SC-reachability. It applies to general programs, regardless of the data domain and potentially with an unbounded number of threads and with unbounded buffers. We have implemented the translation and verified, for the first time, PGAS algorithms in a fully automated fashion. For TSO, our analysis outperforms existing tools.
机译:健壮性是在宽松的一致性模型下运行的并发程序的正确性概念。任务是检查松弛行为与顺序一致性(SC)是否重合(最多跟踪)。尽管在纸上计算简单(对于TSO,PGAS和Power,鲁棒性已证明是PSPACE完整的),但构建实用的鲁棒性检查器仍然是一个挑战。问题在于,各种松弛导致大量的计算,只有极少数的计算违反了鲁棒性。在本文中,我们着手减少鲁棒性检查器的搜索空间。我们专注于存储原子一致性模型,并建立两个完整性结果。第一个结果称为局部性(locality),它表示一个非健壮的程序总是包含一个违规计算,其中只有一个线程会延迟命令。第二个结果称为奇点,它甚至更强大,但仅限于没有轻量围栏的程序。它指出,有一个违规计算,其中单个存储被延迟。作为结果的应用,我们得出了鲁棒性对SC可达性的线性大小的源到源转换。它适用于通用程序,而与数据域无关,并且可能具有无限制的线程数和无限制的缓冲区。我们已经实现了翻译,并首次以完全自动化的方式验证了PGAS算法。对于TSO,我们的分析优于现有工具。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号