Efficient thread labeling for monitoring programs with nested parallelism

1Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

Abstract

It is difficult and cumbersome to detect data races occurred in an execution of parallel programs. Any on-the-fly race detection techniques using Lamport's happened-before relation needs a thread labeling scheme for generating unique identifiers which maintain logical concurrency information for the parallel threads. NR labeling is an efficient thread labeling scheme for the fork-join program model with nested parallelism, because its efficiency depends only on the nesting depth for every fork and join operation. This paper presents an improved NR labeling, called e-NR labeling, in which every thread generates its label by inheriting the pointer to its ancestor list from the parent threads or by updating the pointer in a constant amount of time and space. This labeling is more efficient than the NR labeling, because its efficiency does not depend on the nesting depth for every fork and join operation. Some experiments were performed with OpenMP programs having nesting depths of three or four and maximum parallelisms varying from 10,000 to 1,000,000. The results show that e-NR is 5 times faster than NR labeling and 4.3 times faster than OS labeling in the average time for creating and maintaining the thread labels. In average space required for labeling, it is 3.5 times smaller than NR labeling and 3 times smaller than OS labeling. © 2010 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Ha, O. K., Kim, S. S., & Jun, Y. K. (2010). Efficient thread labeling for monitoring programs with nested parallelism. In Communications in Computer and Information Science (Vol. 120 CCIS, pp. 227–237). https://doi.org/10.1007/978-3-642-17604-3_27

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free