Title :
Pacman: Tolerating asymmetric data races with unintrusive hardware
Author :
Qi, Shanxiang ; Otsuki, Norimasa ; Nogueira, Lois Orosa ; Muzahid, Abdullah ; Torrellas, Josep
Author_Institution :
Univ. of Illinois at Urbana-Champaign, Urbana, IL, USA
Abstract :
Data races are a major contributor to parallel software unreliability. A type of race that is both common and typically harmful is the Asymmetric data race. It occurs when at least one of the racing threads is inside a critical section. Current proposals that target them are software-based. They slow down execution and require significant compiler, operating system (OS), or application changes. This paper proposes the first scheme to tolerate asymmetric data races in production runs with negligible execution overhead. The scheme, called Pacman, exploits cache coherence hardware to temporarily protect the variables that a thread accesses in a critical section from other threads´ requests. Unlike previous schemes, Pacman induces negligible slowdown, needs no support from the compiler or (in the baseline design) from the OS, and requires no application source code changes. In addition, its hardware is relatively unintrusive. We test Pacman with the SPLASH-2, PARSEC, Sphinx 3, and Apache codes, and discover two unreported asymmetric data races.
Keywords :
cache storage; operating systems (computers); parallel processing; program compilers; program debugging; software reliability; Apache code; PARSEC code; SPLASH-2 code; Sphinx 3 code; application changes; asymmetric data races tolerance; cache coherence hardware; compiler; concurrency bug; operating system; pacman; parallel software unreliability; racing threads; thread accesses; threads requests; unintrusive hardware; Coherence; Hardware; Instruction sets; Message systems; Protocols; Synchronization; System recovery;
Conference_Titel :
High Performance Computer Architecture (HPCA), 2012 IEEE 18th International Symposium on
Conference_Location :
New Orleans, LA
Print_ISBN :
978-1-4673-0827-4
Electronic_ISBN :
1530-0897
DOI :
10.1109/HPCA.2012.6169039