- Abstract:
-
Parallel skeletons are a structured parallel programming abstraction that provide programmers with a predefined set of algorithmic templates that can be combined, nested and parameterized with sequential code to produce complex programs. The implementation of these skeletons is currently a manual process, requiring human expertise to choose suitable implementation parameters that provide good performance. This paper presents an empirical exploration of the optimization space of the FastFlow parallel skeleton framework. We performed this using a Monte Carlo search of a random subset of the space, for a representative set of platforms and programs. The results show that the space is program and platform dependent, non-linear, and that automatic search achieves a significant average speedup in program execution time of 1.6 over a human expert. An exploratory data analysis of the results shows a linear dependence between two of the parameters, and that another two parameters have little effect on performance. These properties are then used to reduce the size of the space by a factor of 6, reducing the cost of the search. This provides a starting point for automatically optimizing parallel skeleton programs without the need for human expertise, and with a large improvement in execution time compared to that achievable using human expert tuning.
- Copyright:
- World Scientific Publishing Company
- Electronic version of an article published as Parallel Processing Letters Vol. 22, No. 2 (2012) 1240005 (16 pages) DOI: 10.1142/S0129626412400051 c copyright World Scientific Publishing Company http://www.worldscientific.com/worldscinet/ppl
- Links To Paper
- 1st Link
- Bibtex format
- @Article{EDI-INF-RR-1413,
- author = {
Alexander Collins
and Chris Fensch
and Hugh Leather
},
- title = {Auto-tuning Parallel Skeletons},
- journal = {Parallel Processing Letters},
- publisher = {World Scientific Publishing Company},
- year = 2012,
- volume = {22(2)},
- doi = {10.1142/S0129626412400051},
- url = {http://dx.doi.org/10.1142/S0129626412400051},
- }
|