Section-based program analysis to reduce overhead of detecting unsynchronized thread communication

2Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.

Abstract

Most systems that test and verify parallel programs, such as deterministic execution engines, data race detectors, and software transactional memory systems, require instrumenting loads and stores in an application. This can cause a very significant runtime and memory overhead compared to executing uninstrumented code. Multithreaded programming typically allows any thread to perform loads and stores to any location in the process's address space independently, and such tools monitor all these memory accesses. However, many of the addresses in these unsynchronized memory accesses are only used by a single thread and do not affect other executing threads. We propose Section-Based Program Analysis (SBPA), a novel way to decompose the program into disjoint code sections to identify and eliminate instrumenting such loads and stores during program compilation so that the program runtime overhead is significantly reduced. Our analysis includes improvements to pointer analysis and uses a few user directives to increase the effectiveness of SBPA further. We implemented SBPA foradeterministic execution runtime environment and were abletoeliminate 51% ofdynamic memory access instrumentations. When combined with directives, such reduction increased to 63%. We also integrated SBPA with ThreadSanitizer, a state-of-the-art dynamic race detector, and achieved a speedup of 2.43 (2.74 with directives) on a geometric mean basis.

References Powered by Scopus

Time, Clocks, and the Ordering of Events in a Distributed System

5950Citations
N/AReaders
Get full text

Evaluating MapReduce for multi-core and multiprocessor systems

774Citations
N/AReaders
Get full text

Software transactional memory

751Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Barrierfinder: Recognizing Ad Hoc Barriers

2Citations
N/AReaders
Get full text

BarrierFinder: recognizing ad hoc barriers

0Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Das, M., Southern, G., & Renau, J. (2015). Section-based program analysis to reduce overhead of detecting unsynchronized thread communication. ACM Transactions on Architecture and Code Optimization, 12(2). https://doi.org/10.1145/2766451

Readers over time

‘16‘19‘20‘21‘2200.751.52.253

Readers' Seniority

Tooltip

PhD / Post grad / Masters / Doc 6

86%

Lecturer / Post doc 1

14%

Readers' Discipline

Tooltip

Computer Science 5

71%

Mathematics 1

14%

Psychology 1

14%

Save time finding and organizing research with Mendeley

Sign up for free
0