检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]国防科学技术大学计算机学院,长沙410073
出 处:《计算机科学》2013年第9期35-37,60,共4页Computer Science
基 金:国家自然科学基金项目(61170046;61170045);国家863计划项目(2012AA010903)资助
摘 要:硬件锁用简单的取数指令实现"取并加一"或"取并减一"的原子操作。首先介绍了通用多核多线程FT处理器实现的硬件锁机制,并和软件锁机制进行了比较,之后介绍了使用硬件锁机制实现多线程同步的方法,然后在GNU OpenMP运行库中设计并实现了利用硬件锁的多线程同步机制,最后采用典型OpenMP测试程序对使用硬件锁和使用软件锁的同步操作性能进行了评估和分析。Hardware locks provide the atomic operation mechanism of "load and add one" or "load and subtract one" by simple load instructions. Firstly, we introduced the implementation of hardware locks in general purpose multi-core multi-threaded FT processors, and compared with the software lock mechanism, then described the method for synchro-nization of multi-threading using hardware locks. In the GNU OpenMP runtime library, we designed and implemented the synchronization mechanism based on hardware locks for FT processors. Finally, we evaluated the performance of typical OpenMP programs using hardware locks versus using software locks and gave some valuable analysis.
关 键 词:硬件锁 同步 FT处理器 GNU OpenMP运行库
分 类 号:TP314[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.200