资源描述:
《pc机群上共享存储与消息传递的比较》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、1000-9825/2004/15(06)0842©2004JournalofSoftware软件学报Vol.15,No.6∗PC机群上共享存储与消息传递的比较1+211章隆兵,吴少刚,蔡飞,胡伟武1(中国科学院计算技术研究所,北京100080)2(石油大学(华东)计算机与通信工程学院,山东东营257061)Shared-MemoryVersusMessage-PassingonPCCluster1+211ZHANGLong-Bing,WUShao-Gang,CAIFei,HUWei-Wu1(InstituteofComputingTechn
2、ology,TheChineseAcademyofSciences,Beijing100080,China)2(CollegeofComputerandCommunicationEngineering,UniversityofPetroleum(EastChina),Dongying257061,China)+Correspondingauthor:Phn:+86-10-62559641,Fax:+86-10-62564342,E-mail:lbzhang@ict.ac.cn,http://www.ict.ac.cnReceived2003-
3、09-08;Accepted2004-03-01ZhangLB,WuSG,CaiF,HuWW.Shared-Memoryversusmessage-passingonPCcluster.JournalofSoftware,2004,15(6):842~849.http://www.jos.org.cn/1000-9825/15/842.htmAbstract:Twoparallelprogrammingmodelsofshared-memoryandmessage-passingarewidelyadopted.Theprogrammabil
4、ityofmessage-passingispoor,whilethatofshared-memoryisgood.TheOpenMPApplicationProgrammingInterfaceisanemergingstandardforshared-memory.OpenMPonclustersuppliesanOpenMPcomputingenvironmentonclusterofworkstationsorPCs,whichcombinesthefriendlyprogrammabilityofshared-memorywitht
5、hefinescalabilityofcluster.Taking7well-knownparallelapplicationsonaclusterofPCs,thispapercomparestheperformanceofOpenMP/JIAJIA,anOpenMPsystemoncluster,withthatofMPI,atypicalmessagepassingsystem.ExperimentalresultsshowthattheperformanceofOpenMPisaveragelyequalto81%ofMPIforth
6、e7applicationsrunningon8-nodes,buttheformeriseasiertousethanthelatter.Keywords:OpenMP;messagepassinginterface;PCcluster;parallelprogrammingmodel;shared-memory;softwaredistributedsharedmemorysystem摘要:共享存储和消息传递是目前两种主流的并行编程模型.一般认为,消息传递的可编程性不及共享存储友好.OpenMP是目前共享存储编程的实际工业标准.机群Ope
7、nMP系统在机群上提供了OpenMP编程环境,具有易编程和可扩展的特点,但是其性能如何一直是关注的热点.以机群OpenMP系统OpenMP/JIAJIA和典型的消息传递系∗SupportedbytheNationalNaturalScienceFoundationofChinaunderGrantNo.60303016(国家自然科学基金);theFoundationfortheAuthorofNationalExcellentDoctoralDissertationoftheChineseAcademyofSciences(中国科学院全国首届
8、优秀博士学位论文作者基金);theYouthInnovationFoundationoftheInstituteofComputingTechnology,theC