FAST PARALLEL SORTING UNDER LOGP - EXPERIENCE WITH THE CM-5

Citation
Ac. Dusseau et al., FAST PARALLEL SORTING UNDER LOGP - EXPERIENCE WITH THE CM-5, IEEE transactions on parallel and distributed systems, 7(8), 1996, pp. 791-805
Citations number
26
Categorie Soggetti
System Science","Engineering, Eletrical & Electronic","Computer Science Theory & Methods
ISSN journal
10459219
Volume
7
Issue
8
Year of publication
1996
Pages
791 - 805
Database
ISI
SICI code
1045-9219(1996)7:8<791:FPSUL->2.0.ZU;2-G
Abstract
In this paper, we analyze four parallel sorting algorithms (bitonic, c olumn, radix, and sample sort) with the LogP model. LogP characterizes the performance of modern parallel machines with a small set of param eters: the communication latency (L), overhead (o), bandwidth (g), and the number of processors (P). We develop implementations of these alg orithms in Split-C, a parallel extension to C, and compare the perform ance predicted by LogP to actual performance on a CM-5 of 32 to 512 pr ocessors for a range of problem sizes. We evaluate the robustness of t he algorithms by varying the distribution and ordering of the key valu es. We also briefly examine the sensitivity of the algorithms to the c ommunication parameters. We show that the LogP model is a valuable gui de in the development of parallel algorithms and a good predictor of i mplementation performance. The model encourages the use of data layout s which minimize communication and balanced communication schedules wh ich avoid contention. With an empirical model of local processor perfo rmance, LogP predictions closely match observed execution times on uni formly distributed keys across a broad range of problem and machine si zes. We find that communication performance is oblivious to the distri bution of the key values, whereas the local processor performance is n ot; some communication phases are sensitive to the ordering of keys du e to contention. Finally, our analysis shows that overhead is the most critical communication parameter in the sorting algorithms.