In:
ACM SIGPLAN Notices, Association for Computing Machinery (ACM), Vol. 29, No. 11 ( 1994-11), p. 61-73
Abstract:
Message passing and shared memory are two techniques parallel programs use for coordination and communication. This paper studies the strengths and weaknesses of these two mechanisms by comparing equivalent, well-written message-passing and shared-memory programs running on similar hardware. To ensure that our measurements are comparable, we produced two carefully tuned versions of each program and measured them on closely-related simulators of a message-passing and a shared-memory machine, both of which are based on same underlying hardware assumptions. We examined the behavior and performance of each program carefully. Although the cost of computation in each pair of programs was similar, synchronization and communication differed greatly. We found that message-passing's advantage over shared-memory is not clear-cut. Three of the four shared-memory programs ran at roughly the same speed as their message-passing equivalent, even though their communication patterns were different.
Type of Medium:
Online Resource
ISSN:
0362-1340
,
1558-1160
DOI:
10.1145/195470.195501
Language:
English
Publisher:
Association for Computing Machinery (ACM)
Publication Date:
1994
detail.hit.zdb_id:
2079194-X
detail.hit.zdb_id:
282422-X
Permalink