On-the-fly Verification of Memory Consistency with Concurrent Relaxed Scoreboards

被引:0
|
作者
Freitas, Leandro S. [1 ]
Rambo, Eberle A. [1 ]
dos Santos, Luiz C. V. [1 ]
机构
[1] Univ Fed Santa Catarina, Comp Sci Dept, Florianopolis, SC, Brazil
关键词
SYSTEMS;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Parallel programming requires the definition of shared-memory semantics by means of a consistency model, which affects how the parallel hardware is designed. Therefore, verifying the hardware compliance with a consistency model is a relevant problem, whose complexity depends on the observability of memory events. Post-silicon checkers analyze a single sequence of events per core and so do most pre-silicon checkers, although one reported method samples two sequences per core. Besides, most are post-mortem checkers requiring the whole sequence of events to be available prior to verification. On the contrary, this paper describes a novel on-the-fly technique for verifying memory consistency from an executable representation of a multicore system. To increase efficiency without hampering verification guarantees, three points are monitored per core. The sampling points are selected to be largely independent from the core's microarchitecture. The technique relies on concurrent relaxed scoreboards to check for consistency violations in each core. To check for global violations, it employs a linear order of events induced by a given test case. We prove that the technique neither indicates false negatives nor false positives when the test case exposes an error that affects the sampled sequences, making it the first on-the-fly checker with full guarantees. We compare our technique with two post-mortem checkers under 2400 scenarios for platforms with 2 to 8 cores. The results show that our technique is at least 100 times faster than a checker sampling a single sequence per processor and it needs approximately 1/4 to 3/4 of the overall verification effort required by a post-mortem checker sampling two sequences per processor.
引用
收藏
页码:631 / 636
页数:6
相关论文
共 50 条
  • [1] BOUNDED-MEMORY ALGORITHMS FOR VERIFICATION ON-THE-FLY
    JARD, C
    JERON, T
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 575 : 192 - 202
  • [2] Efficient Verification of Out-of-Order Behaviors with Relaxed Scoreboards
    Freitas, Leandro S.
    Andrade, Gabriel A. G.
    dos Santos, Luiz C. V.
    [J]. 2012 IEEE 30TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2012, : 510 - 511
  • [3] CheckFence: Checking consistency of concurrent data types on relaxed memory models
    Burckhardt, Sebastian
    Alur, Rajeev
    Martin, Milo M. K.
    [J]. ACM SIGPLAN NOTICES, 2007, 42 (06) : 12 - 21
  • [4] CheckFence: Checking Consistency of Concurrent Data Types on Relaxed Memory Models
    Burckhardt, Sebastian
    Alur, Rajeev
    Martin, Milo M. K.
    [J]. PLDI'07: PROCEEDINGS OF THE 2007 ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2007, : 12 - 21
  • [5] A note on on-the-fly verification algorithms
    Schwoon, S
    Esparza, J
    [J]. TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2005, 3440 : 174 - 190
  • [6] Pre-silicon verification of multiprocessor SoCs: the case for on-the-fly coherence/consistency checking
    Henschel, Olav P.
    dos Santos, Luiz C. V.
    [J]. 2013 IEEE 20TH INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS, AND SYSTEMS (ICECS), 2013, : 843 - 846
  • [7] Observation-Based Concurrent Program Logic for Relaxed Memory Consistency Models
    Abe, Tatsuya
    Maeda, Toshiyuki
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2016, 2016, 10017 : 63 - 84
  • [8] Bounded Verification with On-the-Fly Discrepancy Computation
    Fan, Chuchu
    Mitra, Sayan
    [J]. AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS, ATVA 2015, 2015, 9364 : 446 - 463
  • [9] On-the-fly verification of linear temporal logic
    Couvreur, JM
    [J]. FM'99-FORMAL METHODS, 1999, 1708 : 253 - 271
  • [10] Incremental Verification for On-the-Fly Controller Synthesis
    Musliner, David J.
    Pelican, Michael J. S.
    Goldman, Robert P.
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 149 (02) : 71 - 90