Verifying Linearizability on TSO Architectures

被引:0
|
作者
Derrick, John [1 ]
Smith, Graeme [2 ]
Dongol, Brijesh [1 ]
机构
[1] Univ Sheffield, Dept Comp, Sheffield, S Yorkshire, England
[2] Univ Queensland, Sch Informat Technol & Elect Engn, Brisbane, Qld, Australia
来源
基金
英国工程与自然科学研究理事会;
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Linearizability is the standard correctness criterion for fine-grained, non-atomic concurrent algorithms, and a variety of methods for verifying linearizability have been developed. However, most approaches assume a sequentially consistent memory model, which is not always realised in practice. In this paper we define linearizability on a weak memory model: the TSO (Total Store Order) memory model, which is implemented in the x86 multicore architecture. We also show how a simulation-based proof method can be adapted to verify linearizability for algorithms running on TSO architectures. We demonstrate our approach on a typical concurrent algorithm, spinlock, and prove it linearizable using our simulation-based approach. Previous approaches to proving linearizabilty on TSO architectures have required a modification to the algorithm's natural abstract specification. Our proof method is the first, to our knowledge, for proving correctness without the need for such modification.
引用
收藏
页码:341 / 356
页数:16
相关论文
共 50 条
  • [31] Formalizing and verifying stochastic system architectures using Monterey Phoenix
    Song, Songzheng
    Zhang, Jiexin
    Liu, Yang
    Auguston, Mikhail
    Sun, Jun
    Dong, Jin Song
    Chen, Tieming
    [J]. SOFTWARE AND SYSTEMS MODELING, 2016, 15 (02): : 453 - 471
  • [32] Parallel Methods for Verifying the Consistency of Weakly-Ordered Architectures
    McLaughlin, Adam
    Merrill, Duane
    Garland, Michael
    Bader, David A.
    [J]. 2015 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION (PACT), 2015, : 51 - 62
  • [33] Semantics of Remote Direct Memory Access: Operational and Declarative Models of RDMA on TSO Architectures
    Ambal, Guillaume
    Dongol, Brijesh
    Eran, Haggai
    Klimis, Vasileios
    Lahav, Ori
    Raad, Azalea
    [J]. Proceedings of the ACM on Programming Languages, 2024, 8 (OOPSLA2)
  • [34] A generic model for formally verifying NoC communication architectures: A case study
    Borrione, Dominique
    Helmy, Amr
    Pierre, Laurence
    Schmaltz, Julien
    [J]. NOCS 2007: FIRST INTERNATIONAL SYMPOSIUM ON NETWORKS-ON-CHIP, PROCEEDINGS, 2007, : 127 - +
  • [35] Speculative Linearizability
    Guerraoui, Rachid
    Kuncak, Viktor
    Losa, Giuliano
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (06) : 55 - 66
  • [36] On the complexity of linearizability
    Hamza, Jad
    [J]. COMPUTING, 2019, 101 (09) : 1227 - 1240
  • [37] Testing for linearizability
    Lowe, Gavin
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2017, 29 (04):
  • [38] On the complexity of linearizability
    Jad Hamza
    [J]. Computing, 2019, 101 : 1227 - 1240
  • [39] Linearizability and Causality
    Doherty, Simon
    Derrick, John
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS: 14TH INTERNATIONAL CONFERENCE, SEFM 2016, 2016, 9763 : 45 - 60
  • [40] Modeling and verifying SDN under Multi-controller architectures using CSP
    Xiao, Lili
    Zhu, Huibiao
    Xiang, Shuangqing
    Cong Vinh, Phan
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2021, 33 (02):