首页 | 官方网站   微博 | 高级检索  
     

一种基于硬件的快速确定性重放方法
引用本文:章隆兵,李磊,肖俊华,贺晓,王剑.一种基于硬件的快速确定性重放方法[J].高技术通讯,2017,27(6).
作者姓名:章隆兵  李磊  肖俊华  贺晓  王剑
作者单位:1. 计算机体系结构国家重点实验室(中国科学院计算技术研究所) 北京100190;中国科学院大学 北京100049;中国科学院计算技术研究所 北京100190;龙芯中科技术有限公司 北京100190;2. 华为技术有限公司 深圳518129
基金项目:国家"核高基"科技重大专项课题,国家自然科学基金,863计划
摘    要:针对多核处理器上并行程序执行不确定性所造成的并行调试难问题,提出了一种基于硬件的快速确定性重放方法——时间切割者。该方法采用面向并行的记录机制来区分出原执行中并行执行的访存指令块和非并行执行的指令块,并在重放执行中避免串行执行那些在原执行中并行执行的访存指令块,从而使得重放执行的性能开销小。在多核模拟器Sim-Godson上的仿真实验结果表明:该方法的重放速度快,其性能开销仅为2%左右。此外,该方法还具有硬件支持简单特点,未来有望应用于国产多核处理器研制中。

关 键 词:多核处理器  并行调试  确定性重放  多核模拟器  全局时钟

A fast deterministic replay based on hardware
Zhang Longbing,Li Lei,Xiao Junhua,He Xiao,Wang Jian.A fast deterministic replay based on hardware[J].High Technology Letters,2017,27(6).
Authors:Zhang Longbing  Li Lei  Xiao Junhua  He Xiao  Wang Jian
Abstract:To solve multicore processors ' difficulty in debug of parallel programs caused by the nondeterminacy in paral-lel program execution , a fast hardware based deterministic replay method , called Time Slicer , was proposed .Time slicer adopts the concurrency oriented recording mechanism to distinguish parallel execution memory instruction blocks(PEMIB) from serial execution memory instruction blocks (SEMIB) in the record execution period.In the replay execution period , time slicer runs the PEMIB in parallel , which makes the replay efficient .The time slice was implemented on Sim-Godson , a multiprocessor simulator , and the experiment results showed that the perform-ance cost of replay execution was only 2%.Since this method requires little hardware-support , it is expected to be a promising method applicable for domestic multi-core processors .
Keywords:multicore processor  parallel debug  deterministic replay  multicore simulator  global clock
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号