Root Causing Linearizability Violations

被引:1
|
作者
Cirisci, Berk [1 ]
Enea, Constantin [1 ]
Farzan, Azadeh [2 ]
Mutluergil, Suha Orhun [1 ]
机构
[1] Univ Paris, IRIF, CNRS, F-75013 Paris, France
[2] Univ Toronto, Toronto, ON, Canada
基金
欧洲研究理事会;
关键词
SYNCHRONIZATION; ATOMICITY;
D O I
10.1007/978-3-030-53288-8_17
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Linearizability is the de facto correctness criterion for concurrent data type implementations. Violation of linearizability is witnessed by an error trace in which the outputs of individual operations do not match those of a sequential execution of the same operations. Extensive work has been done in discovering linearizability violations, but little work has been done in trying to provide useful hints to the programmer when a violation is discovered by a tester tool. In this paper, we propose an approach that identifies the root causes of linearizability errors in the form of code blocks whose atomicity is required to restore linearizability. The key insight of this paper is that the problem can be reduced to a simpler algorithmic problem of identifying minimal root causes of conflict serializability violation in an error trace combined with a heuristic for identifying which of these are more likely to be the true root cause of non-linearizability. We propose theoretical results outlining this reduction, and an algorithm to solve the simpler problem. We have implemented our approach and carried out several experiments on realistic concurrent data types demonstrating its efficiency.
引用
收藏
页码:350 / 375
页数:26
相关论文
共 50 条
  • [1] Flint: Fixing Linearizability Violations
    Liu, Peng
    Tripp, Omer
    Zhang, Xiangyu
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (10) : 543 - 560
  • [2] Analyzing linearizability violations in the presence of read-modify-write operations
    Fan, Hua
    Golab, Wojciech
    [J]. INFORMATION PROCESSING LETTERS, 2018, 138 : 57 - 60
  • [3] DECOUPLED RANKING OF BRANCH OUTAGES CAUSING LIMIT VIOLATIONS
    BUDDHI, KLP
    BIJWE, PR
    NANDA, J
    [J]. ELECTRIC MACHINES AND POWER SYSTEMS, 1990, 18 (02): : 123 - 136
  • [4] Speculative Linearizability
    Guerraoui, Rachid
    Kuncak, Viktor
    Losa, Giuliano
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (06) : 55 - 66
  • [5] Diagnosing Root Causes of System Level Performance Violations
    Liu, Lingyi
    Zhong, Xuanyu
    Chen, Xiaotao
    Vasudevan, Shobha
    [J]. 2013 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD), 2013, : 295 - 302
  • [6] Enforcement - CMA, EPA identify root cause for violations
    Sissell, K
    [J]. CHEMICAL WEEK, 1999, 161 (27) : 15 - 15
  • [7] On the complexity of linearizability
    Hamza, Jad
    [J]. COMPUTING, 2019, 101 (09) : 1227 - 1240
  • [8] Testing for linearizability
    Lowe, Gavin
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2017, 29 (04):
  • [9] On the complexity of linearizability
    Jad Hamza
    [J]. Computing, 2019, 101 : 1227 - 1240
  • [10] Linearizability and Causality
    Doherty, Simon
    Derrick, John
    [J]. SOFTWARE ENGINEERING AND FORMAL METHODS: 14TH INTERNATIONAL CONFERENCE, SEFM 2016, 2016, 9763 : 45 - 60