• DocumentCode
    602632
  • Title

    Rainbow: Efficient memory dependence recording with high replay parallelism for relaxed memory model

  • Author

    Xuehai Qian ; He Huang ; Sahelices, B. ; Depei Qian

  • Author_Institution
    Univ. of Illinois Urbana-Champaign, Urbana, IL, USA
  • fYear
    2013
  • fDate
    23-27 Feb. 2013
  • Firstpage
    554
  • Lastpage
    565
  • Abstract
    Architectures for record-and-replay (R&R) of multithreaded applications ease program debugging, intrusion analysis and fault-tolerance. Among the large body of previous works, Strata enables efficient memory dependence recording with little hardware overhead and can be applied smoothly to snoopy protocols. However, Strata records imprecise happens-before relations and assumes Sequential Consistency (SC) machines that execute memory operations in order. This paper proposes Rainbow, which is based on Strata but records near-precise happens-before relations, reducing the number of logs and increasing the replay parallelism. More importantly, it is the first R&R scheme that supports any relaxed memory consistency model. These improvements are achieved by two key techniques: (1) To compact logs, we propose expandable spectrum (the region between two logs). It allows younger non-conflict memory operations to be moved into older spectrum, increasing the chance of reusing existing logs. (2) To identify the overlapped and incompatible spectra due to reordered memory operations, we propose an SC violation detection mechanism based on the existing logs and the extra information can be recorded to reproduce the violations when they occur. Our simulation results with 10 SPLASH-2 benchmarks show that Rainbow reduces the log size by 26.6% and improves replay speed by 26.8% compared to Strata. The SC violations are few but do exist in the applications evaluated.
  • Keywords
    benchmark testing; multi-threading; parallel architectures; program debugging; software fault tolerance; R&R; Rainbow; SC; SPLASH-2 benchmarks; Strata; expandable spectrum; fault-tolerance; high replay parallelism; intrusion analysis; memory dependence recording; memory operations; multithreaded applications; near-precise happens-before relations; nonconfiict memory operations; program debugging; record-and-replay architectures; relaxed memory model; replay parallelism; sequential consistency machines; snoopy protocols; Abstracts; Europe;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computer Architecture (HPCA2013), 2013 IEEE 19th International Symposium on
  • Conference_Location
    Shenzhen
  • ISSN
    1530-0897
  • Print_ISBN
    978-1-4673-5585-8
  • Type

    conf

  • DOI
    10.1109/HPCA.2013.6522349
  • Filename
    6522349