DocumentCode :
2213430
Title :
Cilk vs MPI: comparing two very different parallel programming styles
Author :
Tham, Sonny ; Morris, John
Author_Institution :
Sch. of Electr., Electron. & Comput. Eng., Western Australia Univ., Nedlands, WA
fYear :
2003
fDate :
9-9 Oct. 2003
Firstpage :
143
Lastpage :
152
Abstract :
We measured the relative performance of two support systems for parallel programming on networks of workstations: Cilk - an extension of C with dataflow semantics - and MPI - a commonly used library for message passing. Although the two systems present significantly different parallel processing models, we attempted to code the benchmark problems in similar ways. The problems selected were matrix multiplication, travelling salesman problem, quick sort, Gaussian elimination, fast Fourier transform and finite differencing. We compared run times, speed-ups and coding efficiency as measured by lines of code in our implementations of the problems. Cilk showed a speed advantage when smaller numbers of large messages are transferred in a computation, enabling it to gain more from the underlying active messages implementation. Cilk code for algorithms with natural dataflow solutions was more compact, whereas algorithms which have simple iterative ´update-in-place´ styles (Gaussian elimination and finite differencing) were more efficiently expressed when MPI was used
Keywords :
C language; message passing; parallel programming; programming language semantics; workstation clusters; C language; Gaussian elimination; MPI; dataflow semantics; fast Fourier transform; finite differencing; matrix multiplication; message passing interface; parallel processing; parallel programming; quick sort; travelling salesman problem; workstation clusters; Fast Fourier transforms; Finite difference methods; Iterative algorithms; Libraries; Message passing; Parallel processing; Parallel programming; Traveling salesman problems; Velocity measurement; Workstations;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Processing, 2003. Proceedings. 2003 International Conference on
Conference_Location :
Kaohsiung
ISSN :
0190-3918
Print_ISBN :
0-7695-2017-0
Type :
conf
DOI :
10.1109/ICPP.2003.1240575
Filename :
1240575
Link To Document :
بازگشت