Efficient parallel execution of irregular recursive programs
Lutz Prechelt, Stefan U. Hänßgen · IEEE Transactions on Parallel and Distributed Systems · 2002
Programs whose parallelism stems from multiple recursion form an interesting subclass of parallel programs with many practical applications. The highly irregular shape of many recursion trees makes it difficult to obtain good load balancing with small overhead. We present a system, called REAPAR, that executes recursive C programs in parallel on SMP machines. Based on data from a single profiling run of the program, REAPAR selects a load-balancing strategy that is both effective and efficient and it generates parallel code implementing that strategy. The performance obtained by REAPAR on a diverse set of benchmarks matches that published for much more complex systems requiring high-level problem-oriented explicitly parallel constructs. A case study even found REAPAR to be competitive to handwritten (low-level, machine-oriented) thread-parallel code.
Cited by 14 works. doi:10.1109/71.983944
Authors
References
- A hierarchical O(N log N) force-calculation algorithm
- Optimizing supercompilers for supercomputers
- Parallel programming in Split-C
- Programming parallel algorithms
- Compiling Fortran D for MIMD distributed-memory machines
- Optimizing dynamically-dispatched calls with run-time type feedback
- Olden: parallelizing programs with dynamic data structures on distributed-memory machines
- Retire Fortran?
- Concurrency and distribution in object-oriented programming
- The Cilk system for parallel multithreaded computing