Transparent adaptive parallelism on NOWs using OpenMP

Citation
A. Scherer et al., Transparent adaptive parallelism on NOWs using OpenMP, ACM SIGPL N, 34(8), 1999, pp. 96-106
Citations number
21
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
34
Issue
8
Year of publication
1999
Pages
96 - 106
Database
ISI
SICI code
1523-2867(199908)34:8<96:TAPONU>2.0.ZU;2-#
Abstract
We present a system that allows OpenMP programs to execute on a network of workstations with a variable number of nodes. The ability to adapt to a var iable number of nodes allows a program to take advantage of additional node s that become available after it starts execution, or to gracefully scale d own when the number of available nodes is reduced. We demonstrate that the cost of adaptation,is modest; the system allows a program to adapt at a mod erate rate without much performance loss. Two ideas underlie the efficiency of our design. First, we recognize that O penMP programs exhibit convenient adaptation points during their execution, points at which the cost of adaptation can be much reduced. Second, by all owing a process a certain grace period before it must leave a node, we insu re that most adaptations can occur at these adaptation points, and thus at low cost. Migration of a process, a much more expensive method for providin g adaptivity, is used only as a back-up solution, when the process cannot r each an adaptation point within the grace period. Our implementation consists of an OpenMP pre-processor that generates Tread Marks distributed shared memory (DSM) programs, and a version of TreadMarks modified to adapt to a variable number of nodes. Using a DSM as the underl ying substrate facilitates the data (re-)distribution necessary after an ad aptation.