| 本文已被:浏览 5016次 下载 6478次 |
 码上扫一扫! |
|
|
| PC机群上共享存储与消息传递的比较 |
|
章隆兵1, 吴少刚2, 蔡飞1, 胡伟武1
|
|
1.中国科学院,计算技术研究所,北京,100080;2.石油大学,华东,计算机与通信工程学院,山东,东营,257061
|
|
| 摘要: |
| 共享存储和消息传递是目前两种主流的并行编程模型.一般认为,消息传递的可编程性不及共享存储友好.OpenMP是目前共享存储编程的实际工业标准.机群OpenMP系统在机群上提供了OpenMP编程环境,具有易编程和可扩展的特点,但是其性能如何一直是关注的热点.以机群OpenMP系统OpenMP/JIAJIA和典型的消息传递系 |
| 关键词: OpenMP 消息传递 PC机群 并行编程模型 共享存储 软件分布式共享存储系统 |
| DOI: |
| 分类号: |
| 基金项目:Supported bv the National Natural Science Foundation of China under Grant No.60303016(国家自然科学基金);the Foundation for the Author of National Excellent Doctoral Dissertation of the Chinese Academy of Sciences(中国科学院全国首届优秀博士学位论文作者基金);the Youth Lnnovation Founda |
|
| Shared-Memory Versus Message-Passing on PC Cluster |
|
ZHANG Long-Bing,WU Shao-Gang,CAI Fei,HU Wei-Wu
|
| Abstract: |
| Two parallel programming models of shared-memory and message-passing are widely adopted. The programmability of message-passing is poor, while that of shared-memory is good. The OpenMP Application Programming Interface is an emerging standard for shared-memory. OpenMP on cluster supplies an OpenMP computing environment on cluster of workstations or PCs, which combines the friendly programmability of shared-memory with the fine scalability of cluster. Taking 7 well-known parallel applications on a cluster of PCs, this paper compares the performance of OpenMP/JIAJIA, an OpenMP system on cluster, with that of MPI, a typical message passing system. Experimental results show that the performance of OpenMP is averagely equal to 81% of MPI for the 7 applications running on 8-nodes, but the former is easier to use than the latter. |
| Key words: OpenMP message passing interface PC cluster parallel programming model shared-memory software distributed shared memory system |