WHERE IS TIME SPENT IN MESSAGE-PASSING AND SHARED-MEMORY PROGRAMS

被引:0
|
作者
CHANDRA, S [1 ]
LARUS, JR [1 ]
ROGERS, A [1 ]
机构
[1] PRINCETON UNIV,DEPT COMP SCI,PRINCETON,NJ 08544
来源
SIGPLAN NOTICES | 1994年 / 29卷 / 11期
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
下载
收藏
页码:61 / 73
页数:13
相关论文
共 50 条
  • [21] A Message-Passing Microcoded Synchronization for Distributed Shared Memory Architectures
    Tasoulas, Zois-Gerasimos
    Anagnostopoulos, Iraklis
    Papadopoulos, Lazaros
    Soudris, Dimitrios
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2019, 38 (05) : 975 - 979
  • [22] Packetization of Shared-Memory Traces for Message Passing Oriented NoC Simulation
    Catania, Vincenzo
    Salvatore, Monteleone
    Palesi, Maurizio
    Patti, Davide
    HIGH PERFORMANCE COMPUTING, ISC HIGH PERFORMANCE 2018, 2018, 10876 : 311 - 325
  • [23] Verification of message-passing uninterpreted programs
    Hong, Weijiang
    Chen, Zhenbang
    Zhang, Yufeng
    Yu, Hengbiao
    Du, Yide
    Wang, Ji
    SCIENCE OF COMPUTER PROGRAMMING, 2024, 234
  • [24] Modular Reasoning for Message-Passing Programs
    Lei, Jinjiang
    Qiu, Zongyan
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8687 : 277 - 294
  • [25] Modular Reasoning for Message-Passing Programs
    Lei, Jinjiang
    Qiu, Zongyan
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2014, 2014, 8687 : 277 - 294
  • [26] SHARED-MEMORY AND MESSAGE QUEUES
    LAM, RB
    DR DOBBS JOURNAL, 1995, 20 (05): : 28 - &
  • [27] Reliable Shared Memory Abstraction on Top of Asynchronous Byzantine Message-Passing Systems
    Imbs, Damien
    Rajsbaum, Sergio
    Raynal, Michel
    Stainer, Julien
    STRUCTURAL INFORMATION AND COMMUNICATION COMPLEXITY, SIROCCO 2014, 2014, 8576 : 37 - 53
  • [28] Scalable CFD computations using message-passing and distributed shared memory algorithms
    Plazek, J
    Banas, K
    Kitowski, J
    RECENT ADVANCES IN PARALLEL VIRTUAL MACHINE AND MESSAGE PASSING INTERFACE, PROCEEDINGS, 2000, 1908 : 282 - 288
  • [29] Comparison of message-passing and shared memory implementations of the GMRES method on MIMD computers
    Plazek, Joanna
    Banaś, Krzysztof
    Kitowski, Jacek
    Scientific Programming, 2001, 9 (04) : 195 - 209
  • [30] Distributed Breakpoint Detection in Message-Passing Programs
    De, Drummond, L. M. A.
    Barbosa, V. C.
    Journal of Parallel and Distributed Computing, 39 (02):