Title :
Do inputs matter?: using data-dependence profiling to evaluate thread level speculation in BG/Q
Author :
Gottschlich, Justin ; Pokam, Gilles ; Pereira, Cristiano ; Youfeng Wu
Author_Institution :
Intel Corp., Hillsboro, OR, USA
Abstract :
To reduce the complexity of debugging multithreaded programs, researchers have developed many techniques that automatically detect bugs that arise from shared memory errors. These techniques can identify a wide range of bugs, but it can be challenging for a programmer to reproduce a specific bug that he or she is interested in using such techniques. This is because these techniques were not intended for individual bug reproduction but rather an exploratory search for possible bugs. To address this concern we present concurrent predicates (CPs) and concurrent predicate expressions (CPEs), which allow programmers to single out a specific bug by specifying the schedule and program state that must be satisfied for the bug to be reproduced. We present the recipes, that is, the mechanical processes, we use to reproduce data races, atomicity violations, and deadlocks with CP and CPE. We then show how these recipes apply to the diagnosis and reproduction of bugs from 13 handcrafted bugs, five real-world application bugs from RADBench, and three previously unresolved bugs from TBoost.STM, which now includes the fixes we generated using CP and CPE.
Keywords :
formal specification; multi-threading; parallel processing; program debugging; CPE; RADBench; bug detection; bug specification; concurrent predicate expressions; debugging technique; mechanical processes; multithreaded program debugging complexity; parallel programmer; shared memory errors; Complexity theory; Compounds; Computer bugs; Concurrent computing; Debugging; Instruction sets; Interference; combined profiling; systems; thread level speculation;
Conference_Titel :
Parallel Architectures and Compilation Techniques (PACT), 2013 22nd International Conference on
Conference_Location :
Edinburgh
Print_ISBN :
978-1-4799-1018-2
DOI :
10.1109/PACT.2013.6618829