Volition: Scalable and Precise Sequential Consistency Violation Detection

被引:7
|
作者
Qian, Xuehai [1 ]
Torrellas, Josep [1 ]
Sahelices, Benjamin [2 ]
Qian, Depei [3 ]
机构
[1] Univ Illinois, Chicago, IL 60680 USA
[2] Univ Valladolid, E-47002 Valladolid, Spain
[3] Beihang Univ, Beijing, Peoples R China
关键词
Memory Consistency; Sequential Consistency; Parallel Programming; Shared-Memory Multiprocessors;
D O I
10.1145/2499368.2451174
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Sequential Consistency (SC) is the most intuitive memory model, and SC Violations (SCVs) produce unintuitive, typically incorrect executions. Most prior SCV detection schemes have used data races as proxies for SCVs, which is highly imprecise. Other schemes that have targeted data-race cycles are either too conservative or are designed only for two-processor cycles and snoopy-based systems. This paper presents Volition, the first hardware scheme that detects SCVs in a relaxed-consistency machine precisely, in a scalable manner, and for an arbitrary number of processors in the cycle. Volition leverages cache coherence protocol transactions to dynamically detect cycles in memory-access orders across threads. When a cycle is about to occur, an exception is triggered. Volition can be used in both directory-and snoopy-based coherence protocols. Our simulations of Volition in a 64-processor multicore with directory-based coherence running SPLASH-2 and Parsec programs shows that Volition induces negligible traffic and execution overhead. In addition, it can detect SCVs with several processors. Volition is suitable for on-the-fly use.
引用
收藏
页码:535 / 548
页数:14
相关论文
共 50 条
  • [41] Dynamic verification of sequential consistency
    Meixner, A
    Sorin, DJ
    [J]. 32ND INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, PROCEEDINGS, 2005, : 482 - 493
  • [42] CONSISTENCY OF CERTAIN SEQUENTIAL ESTIMATORS
    LOYNES, RM
    [J]. ANNALS OF MATHEMATICAL STATISTICS, 1969, 40 (02): : 568 - &
  • [43] Scalable Sequential Spectral Clustering
    Li, Yeqing
    Huang, Junzhou
    Liu, Wei
    [J]. THIRTIETH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2016, : 1809 - 1815
  • [44] Precise and Efficient Atomicity Violation Detection for Interrupt-Driven Programs via Staged Path Pruning
    Li, Chao
    Chen, Rui
    Wang, Boxiang
    Yu, Tingting
    Gao, Dongdong
    Yang, Mengfei
    [J]. PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 506 - 518
  • [45] Efficient Scalable Thread-Safety-Violation Detection Finding thousands of concurrency bugs during testing
    Li, Guangpu
    Lu, Shan
    Musuvathi, Madanlal
    Nath, Suman
    Padhye, Rohan
    [J]. PROCEEDINGS OF THE TWENTY-SEVENTH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES (SOSP '19), 2019, : 162 - 180
  • [46] KUBO: Precise and Scalable Detection of User-triggerable Undefined Behavior Bugs in OS Kernel
    Liu, Changming
    Chen, Yaohui
    Lu, Long
    [J]. 28TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2021), 2021,
  • [47] A precise approach for the analysis of the UML models consistency
    Martínez, FJL
    Alvarez, AT
    [J]. PERSPECTIVES IN CONCEPTUAL MODELING, 2005, 3770 : 74 - 84
  • [48] Some extensions of the precise consistency consensus matrix
    Teresa Escobar, Maria
    Aguaron, Juan
    Maria Moreno-Jimenez, Jose
    [J]. DECISION SUPPORT SYSTEMS, 2015, 74 : 67 - 77
  • [49] A precise measurement of the direct CP violation parameter Re(ε′/ε)
    Lai, A
    Marras, D
    Bevan, A
    Dosanjh, RS
    Gershon, TJ
    Hay, B
    Kalmus, GE
    Lazzeroni, C
    Munday, DJ
    Needham, MD
    Olaiya, E
    Parker, MA
    White, TO
    Wotton, SA
    Barr, G
    Bocquet, G
    Ceccucci, A
    Cuhadar-Dönszelmann, T
    Cundy, D
    D'Agostini, G
    Doble, N
    Falaleev, V
    Funk, W
    Gatignon, L
    Gonidec, A
    Gorini, B
    Govi, G
    Grafström, P
    Kubischta, W
    Lacourt, A
    Lenti, M
    Luitz, S
    Matheys, JP
    Mikulec, I
    Norton, A
    Palestini, S
    Panzer-Steindel, B
    Schinzel, D
    Tatishvili, G
    Taureg, H
    Velasco, M
    Vossnack, O
    Wahl, H
    Cheshkov, C
    Gaponenko, A
    Hristov, P
    Kekelidze, V
    Madigojine, D
    Molokanova, N
    Potrebenikov, Y
    [J]. EUROPEAN PHYSICAL JOURNAL C, 2001, 22 (02): : 231 - 254
  • [50] Recovering accuracy methods for scalable consistency library
    Llados, Jordi
    Guirado, Fernando
    Cores, Fernando
    Lluis Lerida, Josep
    Notredame, Cedric
    [J]. JOURNAL OF SUPERCOMPUTING, 2015, 71 (05): : 1833 - 1845