Title :
Computing long- and short-range interactions with ring-based algorithms on homogeneous and heterogeneous systems
Author_Institution :
IEIIT, Nat. Res. Council, Genova, Italy
Abstract :
We analyze a ring algorithm for the computation of long-range interactions, and a modified version, which uses a box-assisted approach with linked lists, for the computation of short-range interactions. The general problem is exemplified considering the computation and the histogram of distances between points in a set. The algorithms, originally developed for homogeneous parallel systems, where they yield a nearly linear speed-up, are moved to heterogeneous systems (e.g. NOW). The main part of our work analyzes performance obtainable on such systems using a virtual ring of processes and assigning to each node a number of processes proportional to its relative speed. Following our analysis, we implemented a computer simulator which allows to investigate some interesting properties of ring algorithms and to predict with a good accuracy the experimental results. Simulations and trials show that the use of multiple processes per node greatly reduces load unbalancing, which is the major cause of performance loss, without a significant context switching overhead, allowing good performance even on highly heterogeneous systems. The short-range interaction problem is interesting, since by varying the neighbour size we are able to vary the computation to communication ratio of the algorithms The proposed analysis is general and applies to any regular data-parallel ring-based application.
Keywords :
parallel algorithms; resource allocation; virtual machines; workstation clusters; box-assisted approach; computation communication ratio; computer simulator; context switching overhead; data-parallel ring-based application; heterogeneous systems; histogram; homogeneous parallel systems; linked lists; load balancing; long range interactions; neighbour size; performance; point distances; ring algorithm; short range interactions; speed-up; virtual process ring; workstation networks; Algorithm design and analysis; Analytical models; Computational modeling; Computer simulation; Context modeling; Histograms; Performance analysis; Performance loss; Prediction algorithms; Predictive models;
Conference_Titel :
Parallel, Distributed and Network-Based Processing, 2003. Proceedings. Eleventh Euromicro Conference on
Conference_Location :
Genova, Italy
Print_ISBN :
0-7695-1875-3
DOI :
10.1109/EMPDP.2003.1183611