Efficient load balancing for wide-area divide-and-conquer applications
Authors:
Open Access
- 18 June 2001
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 36 (7) , 34-43
Abstract
Divide-and-conquer programs are easily parallelized by letting the programmer annotate potential parallelism in the form of spawn and sync constructs. To achieve efficient program execution, the generated work load has to be balanced evenly among the available CPUs. For single cluster systems, Random Stealing (RS) is known to achieve optimal load balancing. However, RS is inefficient when applied to hierarchical wide-area systems where multiple clusters are connected via wide-area networks (WANs) with high latency and low bandwidth. In this paper, we experimentally compare RS with existing load-balancing strategies that are believed to be efficient for multi-cluster systems, Random Pushing and two variants of Hierarchical Stealing . We demonstrate that, in practice, they obtain less than optimal results. We introduce a novel load-balancing algorithm, Cluster-aware Random Stealing (CRS) which is highly efficient and easy to implement. CRS adapts itself to network conditions and job granularities, and does not require manually-tuned parameters. Although CRS sends more data across the WANs, it is faster than its competitors for 11 out of 12 test applications with various WAN configurations. It has at most 4% overhead in run time compared to RS on a single, large cluster, even with high wide-area latencies and low wide-area bandwidths. These strong results suggest that divide-and-conquer parallelism is a useful model for writing distributed supercomputing applications on hierarchical wide-area systems.Keywords
This publication has 20 references indexed in Scilit:
- Parallel application experience with replicated method invocationConcurrency and Computation: Practice and Experience, 2001
- A Java fork/join framework2000
- MagPIe1999
- Performance evaluation of the Orca shared-object systemACM Transactions on Computer Systems, 1998
- User-level network interface protocolsComputer, 1998
- A TLAS1996
- Cilk1995
- The influence of different workload descriptions on a heuristic load balancing schemeIEEE Transactions on Software Engineering, 1991
- A comparison of receiver-initiated and sender-initiated adaptive load sharingPerformance Evaluation, 1986
- ALICE a multi-processor reduction machine for the parallel evaluation CF applicative languages1981