Implementing and Evaluating a Model Checker for Transactional Memory Systems

被引:0
|
作者
Baek, Woongki [1 ]
Bronson, Nathan [1 ]
Kozyrakis, Christos [1 ]
Olukotun, Kunle [1 ]
机构
[1] Stanford Univ, Comp Syst Lab, Stanford, CA 94305 USA
来源
2010 15TH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS 2010) | 2010年
基金
美国国家科学基金会;
关键词
COHERENCE;
D O I
10.1109/ICECCS.2010.21
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Transactional Memory (TM) is a promising technique that addresses the difficulty of parallel programming. Since TM takes responsibility for all concurrency control, TM systems are highly vulnerable to subtle correctness errors. Due to the difficulty of fully proving the correctness of TM systems, many of them are used without any formal correctness guarantees. This paper presents ChkTM, a flexible model checking environment to verify the correctness of various TM systems. ChkTM aims to model TM systems close to the implementation level to reveal as many potential bugs as possible. For example, ChkTM accurately models the version control mechanism in timestamp-based software TMs (STMs). In addition, ChkTM can flexibly model TM systems that use additional hardware components or support nested parallelism. Using ChkTM, we model several TM systems including a widely-used industrial STM (TL2), a hybrid TM (SigTM) that uses hardware signatures, and an STM (NesTM) that supports nested parallel transactions. We then demonstrate how ChkTM can be used to find a previously unreported correctness bug in the current implementation of eager-versioning TL2. We also verify the serializability of TL2 and SigTM and strong isolation guarantees of SigTM. Finally, we quantitatively analyze ChkTM to understand the practical issues and motivate further research in model checking TM systems.
引用
收藏
页码:117 / 126
页数:10
相关论文
共 50 条
  • [41] ParaMoC: A Parallel Model Checker for Pushdown Systems
    Wei, Hansheng
    Ye, Xin
    Shi, Jianqi
    Huang, Yanhong
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2019, PT II, 2020, 11945 : 305 - 312
  • [42] A transactional systems model of autism services
    Anthony J. Cuvo
    Lori R. Vallelunga
    The Behavior Analyst, 2007, 30 : 161 - 180
  • [43] Energy-aware Scheduling in Transactional Memory Systems
    Marques Junior, Ademir
    Baldassin, Alexandro
    2016 29TH SYMPOSIUM ON INTEGRATED CIRCUITS AND SYSTEMS DESIGN (SBCCI), 2016,
  • [44] A transactional systems model of autism services
    Cuvo, Anthony J.
    Vallelunga, Lori R.
    BEHAVIOR ANALYST, 2007, 30 (02): : 161 - 180
  • [45] A practical comparison of cluster operating systems implementing sequential and transactional consistency
    Frenz, S
    Lottiaux, R
    Schoettner, M
    Morin, C
    Goeckelmann, R
    Schulthess, P
    DISTRIBUTED AND PARALLEL COMPUTING, 2005, 3719 : 23 - 33
  • [46] Transactional memory
    Grahn, Hakan
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2010, 70 (10) : 993 - 1008
  • [47] Transactional memory
    Larus, James
    Kozyrakis, Christos
    COMMUNICATIONS OF THE ACM, 2008, 51 (07) : 80 - 88
  • [48] TRANSACTIONAL SYSTEMS-MODEL OF COMMUNICATION - IMPLICATIONS FOR TRANSACTIONAL-ANALYSIS
    BASKIN, O
    BRUNO, SJ
    JOURNAL OF BUSINESS COMMUNICATION, 1977, 15 (01): : 65 - 73
  • [49] Implementing a CTL Model Checker with μG, a Language for Programming Graph Neural Networks
    Belenchia, Matteo
    Corradini, Flavio
    Quadrini, Michela
    Loreti, Michele
    FORMAL TECHNIQUES FOR DISTRIBUTED OBJECTS, COMPONENTS, AND SYSTEMS, FORTE 2023, 2023, 13910 : 37 - 54
  • [50] RSMC:A Safety Model Checker for Concurrency and Memory Safety of Rust
    YAN Fei
    WANG Qizhong
    ZHANG Liqiang
    CHEN Yasha
    WuhanUniversityJournalofNaturalSciences, 2020, 25 (02) : 129 - 138