Estimating and Exploiting Potential Parallelism by Source-Level Dependence Profiling
- Jonathan MakAffiliated withComputer Laboratory, University of Cambridge
- , Karl-Filip FaxénAffiliated withSwedish Institute of Computer Science
- , Sverker JansonAffiliated withSwedish Institute of Computer Science
- , Alan MycroftAffiliated withComputer Laboratory, University of Cambridge
Manual parallelization of programs is known to be difficult and error-prone, and there are currently few ways to measure the amount of potential parallelism in the original sequential code.
We present an extension of Embla, a Valgrind-based dependence profiler that links dynamic dependences back to source code. This new tool estimates potential task-level parallelism in a sequential program and helps programmers exploit it at the source level. Using the popular fork-join model, our tool provides a realistic estimate of potential speed-up for parallelization with frameworks like Cilk, TBB or OpenMP 3.0 . Estimates can be given for several different parallelization models, varying in programmer effort and capabilities required of the underlying implementation. Our tool also outputs source-level dependence information to aid the parallelization of programs with lots of inherent parallelism, as well as critical paths to suggest algorithmic rewrites of programs with little of it.
We validate our claims by running our tool over serial elisions of sample Cilk programs, finding additional inherent parallelism not exploited by the Cilk code, as well as over serial C benchmarks where the profiling results suggest parallelism-enhancing algorithmic rewrites.
- Estimating and Exploiting Potential Parallelism by Source-Level Dependence Profiling
- Book Title
- Euro-Par 2010 - Parallel Processing
- Book Subtitle
- 16th International Euro-Par Conference, Ischia, Italy, August 31 - September 3, 2010, Proceedings, Part I
- pp 26-37
- Print ISBN
- Online ISBN
- Series Title
- Lecture Notes in Computer Science
- Series Volume
- Series ISSN
- Springer Berlin Heidelberg
- Copyright Holder
- Springer-Verlag Heidelberg
- Additional Links
- Industry Sectors
- Editor Affiliations
- 16. ICAR-CNR
- 17. ICAR-CNR
- 18. ICAR-CNR
- Author Affiliations
- 19. Computer Laboratory, University of Cambridge, 15 JJ Thomson Avenue, Cambridge, CB3 0FD, United Kingdom
- 20. Swedish Institute of Computer Science, Box 1263, SE-164 29, Kista, Sweden
To view the rest of this content please follow the download PDF link above.