DocumentCode :
177337
Title :
Pacifier: Record and replay for relaxed-consistency multiprocessors with distributed directory protocol
Author :
Xuehai Qian ; Sahelices, B. ; Depei Qian
Author_Institution :
Univ. of California Berkeley, Berkeley, CA, USA
fYear :
2014
fDate :
14-18 June 2014
Firstpage :
433
Lastpage :
444
Abstract :
Record and Deterministic Replay (R&R) of multithreaded programs on relaxed-consistency multiprocessors with distributed directory protocol has been a long-standing open problem. The independently developed RelaxReplay [8] solves the problem by assuming write atomicity. This paper proposes Pacifier, the first R&R scheme to provide a solution without assuming write atomicity. R&R for relaxed-consistency multiprocessors needs to detect, record and replay Sequential Consistency Violations (SCV). Pacifier has two key components: (i) Relog, a general memory reordering logging and replay mechanism that can reproduce SCVs in relaxed memory models, and (ii) Granule, an SCV detection scheme in the record phase with good precision, that indicates whether to record with Relog. We show that Pacifier is a sweet spot in the design space with a reasonable trade-off between hardware and log overhead. An evaluation with simulations of 16, 32 and 64 processors with Release Consistency (RC) running SPLASH-2 applications indicates that Pacifier incurs 3.9% ~ 16% larger logs. The slowdown of Pacifier during replay is 10.1% ~ 30.5% compared to native execution.
Keywords :
multi-threading; multiprocessing programs; recording; Granule; Pacifier; R&R; Relog; SCV; SPLASH-2; distributed directory protocol; general memory reordering logging and replay mechanism; multithreaded programs; record and deterministic replay; relaxed-consistency multiprocessors; release consistency; sequential consistency violations; Buffer storage; Coherence; Hardware; Memory management; Program processors; Protocols; Tin;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Architecture (ISCA), 2014 ACM/IEEE 41st International Symposium on
Conference_Location :
Minneapolis, MN
Print_ISBN :
978-1-4799-4396-8
Type :
conf
DOI :
10.1109/ISCA.2014.6853225
Filename :
6853225
Link To Document :
بازگشت