首页 | 本学科首页   官方微博 | 高级检索  
     检索      

共享内存并行编程最优同步方法的研究
引用本文:王凯,杨剑锋,郭成城,于银菠.共享内存并行编程最优同步方法的研究[J].科学技术与工程,2015,15(8):99-102,110.
作者姓名:王凯  杨剑锋  郭成城  于银菠
作者单位:武汉大学电子信息学院,武汉,430072
基金项目:国家高技术研究发展863计划(2012AA010904);四川省教育厅项目(13ZA0296)
摘    要:共享内存并行编程是并行编程开发与研究的标准之一,为了保证程序运行的准确性和线程执行的高效率,对共享内存同步机制的研究具有重要意义。互斥锁与事件同步是Open MP标准中的混合同步机制,而斯坦福大学的Baek等人扩展Open MP提出的面向事务存储的Open TM应用编程接口,事务内存同步是其突出特点。通过研究发现混合同步存在部分互斥锁同步会严重消耗系统空间资源、线程资源利用率有待提高等问题,而事务同步忽视不可恢复行为的影响。因此,提出一种基于共享内存的最优同步方法,即优化后的混合同步和事务内存同步的结合体,实验论证此优化方法的可行性,程序运行更加高效。

关 键 词:混合同步  事务内存  同步优化  OpenTM
收稿时间:2014/10/30 0:00:00
修稿时间:2014/11/18 0:00:00

RESEARCH OF THE MOST OPTIMAL SYNCHRONIZATION METHOD IN SHARED-MEMORY PARALLEL PROGRAMMING
WANG Kai , YANG Jian-feng , GUO Cheng-cheng , YU Yin-bo.RESEARCH OF THE MOST OPTIMAL SYNCHRONIZATION METHOD IN SHARED-MEMORY PARALLEL PROGRAMMING[J].Science Technology and Engineering,2015,15(8):99-102,110.
Authors:WANG Kai  YANG Jian-feng  GUO Cheng-cheng  YU Yin-bo
Institution:School of Electronic Information,Wuhan University,School of Electronic Information, Wuhan University, Wuhan 430072,china
Abstract:Shared-memory parallel programming is one standard of the parallel development and research, in order to ensure the accuracy of program and high efficiency thread of execution, the research of synchronization mechanisms has important significance. Hybrid synchronization composed of mutex lock and events is the synchronization mechanisms in OpenMP standard. And transactional memory is the salient features of the transaction-oriented storage OpenTM application programming interface, expanded OpenMP interface proposed by Beak of Stanford University. There are some problems in these two synchronization mechanisms, for example some mutex synchronization consumes system storage resource serious and the utilization of thread needs to be improved in hybrid synchronization. And transaction synchronization ignore unrecoverable behavior. Therefore, this paper presents an optimal synchronization method based on shared memory, the combination method of hybrid synchronization and transaction memory mechanisms. The feasibility of this optimization method is demonstrated by experiments, and the program run more efficiently.
Keywords:Mixed Synchronous  Transactional Memory  Simultaneous optimization  OpenTM
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《科学技术与工程》浏览原始摘要信息
点击此处可从《科学技术与工程》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号