Replay for concurrent non-deterministic shared-memory applications

被引:14
|
作者
Russinovich, M
Cogswell, B
机构
[1] Department of Computer Science, University of Oregon, Eugene
关键词
non-determinism; shared memory; repeatable execution; instruction counter;
D O I
10.1145/249069.231432
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Replay of shared-memory program execution is desirable in many domains including cyclic debugging, fault tolerance and performance monitoring. Past approaches to repeatable execution have focused on the problem of reexecuting the shared-memory access patterns in parallel programs. With the proliferation of operating system supported threads and shared memory for uniprocessor programs, there is a clear need for efficient replay of concurrent applications. The solutions for parallel systems can be performance prohibitive when applied to the uniprocessor case. We present an algorithm, called the repeatable scheduling algorithm, combining scheduling and instruction counts to provide an invariant for efficient, language independent replay of concurrent shared-memory applications. The approach is shown to have trace overheads that are independent of the amount of sharing that takes place. An implementation for cyclic debugging on Mach 3.0 is evaluated and benchmarks show typical performance overheads of around 10%. The algorithm implemented is compared with optimal event-based tracing and shown to do better with respect to the number of events monitored or number of events logged, in most cases by several orders of magnitude.
引用
收藏
页码:258 / 266
页数:9
相关论文
共 50 条
  • [1] DMP: DETERMINISTIC SHARED-MEMORY MULTIPROCESSING
    Devietti, Joseph
    Lucia, Brandon
    Ceze, Luis
    Oskin, Mark
    IEEE MICRO, 2010, 30 (01) : 40 - 49
  • [2] Semantics of deterministic shared-memory systems
    Morin, Remi
    CONCUR 2008 - CONCURRENCY THEORY, PROCEEDINGS, 2008, 5201 : 36 - 51
  • [3] EXECUTION REPLAY WITH COMPACT LOGS FOR SHARED-MEMORY PROGRAMS
    LEVROUW, LJ
    AUDENAERT, KMR
    VANCAMPENHOUT, JM
    APPLICATIONS IN PARALLEL AND DISTRIBUTED COMPUTING, 1994, 44 : 125 - 134
  • [4] Clock Delta Compression for Scalable Order-Replay of Non-Deterministic Parallel Applications
    Sato, Kento
    Ahn, Dong H.
    Laguna, Ignacio
    Lee, Gregory L.
    Schulz, Martin
    PROCEEDINGS OF SC15: THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, 2015,
  • [5] Safe Optimisations for Shared-Memory Concurrent Programs
    Sevcik, Jaroslav
    PLDI 11: PROCEEDINGS OF THE 2011 ACM CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, 2011, : 306 - 316
  • [6] Safe Optimisations for Shared-Memory Concurrent Programs
    Sevcik, Jaroslav
    ACM SIGPLAN NOTICES, 2011, 46 (06) : 306 - 316
  • [7] Non-deterministic approach to allay replay attack on iris biometric
    Richa Gupta
    Priti Sehgal
    Pattern Analysis and Applications, 2019, 22 : 717 - 729
  • [8] Non-deterministic approach to allay replay attack on iris biometric
    Gupta, Richa
    Sehgal, Priti
    PATTERN ANALYSIS AND APPLICATIONS, 2019, 22 (02) : 717 - 729
  • [9] Practical constructive schemes for deterministic shared-memory access
    A. Pietracaprina
    F. P. Preparata
    Theory of Computing Systems, 1997, 30 : 3 - 37
  • [10] Practical constructive schemes for deterministic shared-memory access
    Pietracaprina, A
    Preparata, FP
    THEORY OF COMPUTING SYSTEMS, 1997, 30 (01) : 3 - 37