Title :
Rethinking the pipeline as object-oriented states with transformations
Author :
MacDonald, Steve ; Szafron, Duane ; Schaeffer, Jonathan
Author_Institution :
Sch. of Comput. Sci., Waterloo Univ., Ont., Canada
Abstract :
The pipeline is a simple and intuitive structure to speed up many problems. Novice parallel programmers are usually taught this structure early on. However, expert parallel programmers typically eschew using the pipeline in coarse-grained applications because it has three serious problems that make it difficult to implement efficiently. First, processors are idle when the pipeline is not full. Second, load balancing is crucial to obtaining good speedup. Third, it is difficult to incrementally incorporate more processors into an existing pipeline. Instead, experts recast the problem as a master/slave structure which does not suffer from these problems. This paper details a transformation that allows programs written in a pipeline style to execute using the master/slave structure. Parallel programmers can benefit from both the intuitive simplicity of the pipeline and the efficient execution of a master/slave structure. This is demonstrated by performance results from two applications.
Keywords :
object-oriented programming; parallel programming; pipeline processing; resource allocation; coarse-grained applications; load balancing; master-slave structure; object-oriented states; parallel programming; pipeline structure; program transformation; Computer science; Concurrent computing; Decoding; Load management; Master-slave; Parallel programming; Pipelines; Production facilities; Programming profession; Yarn;
Conference_Titel :
High-Level Parallel Programming Models and Supportive Environments, 2004. Proceedings. Ninth International Workshop on
Print_ISBN :
0-7695-2151-7
DOI :
10.1109/HIPS.2004.1299186