程序执行的精确重现技术及其在体系结构模拟中的应用  

Exactly Reproducible Program Execution and Its Application in Computer Architecture Simulation

在线阅读下载全文

作  者:赵天磊[1] 唐遇星[1] 徐炜遐[1] 付桂涛[1] 齐树波[1] 贾小敏[1] 张民选[1] 

机构地区:[1]国防科学技术大学计算机学院,长沙410073

出  处:《计算机学报》2011年第11期2073-2083,共11页Chinese Journal of Computers

基  金:国家自然科学基金(60970036);教育部博士点基金(20094307120007)资助

摘  要:近年来有研究提出利用动态二进制翻译技术(Dynamic Binary Translation,DBT)加速程序代表性模拟点的提取,然而这些研究并未考虑DBT方法对模拟结果准确度的影响.实验发现,对于某些程序,DBT加速方法会带来将近20%的误差.经分析,误差的根源在于程序在DBT执行和模拟执行时执行踪迹有巨大差异,即程序执行踪迹的不可重现性.本文系统地分析了引起程序执行踪迹不可重现的原因,提出了解决方法.实验证实,利用文中提出的方法,可以在不影响性能的情况下,实现程序执行踪迹的精确重现,从而保证DBT方法与传统模拟方法具有完全相同的精确度.Recently,dynamic binary translation(DBT) technique has been proposed to accelerate the extraction of representative simulation points of programs.However,the accuracy implications of the DBT method have not been studied.It is observed that for some programs,the DBT method can incur a nearly 20% error in the simulation results.Careful analysis shows that the error is caused by the mismatch between the execution traces of programs under DBT environment and simulation environment.The cause of the execution trace mismatch is studied carefully.Several methods are proposed to overcome the problem.Experimental results show that with the proposed methods,the execution traces of programs can be matched accurately between different execution environments.Therefore,the accuracy of the DBT method can be guaranteed.

关 键 词:应用程序行为分析 模拟误差 可重现模拟 执行踪迹 二进制翻译 SimPoint BBVProfile 

分 类 号:TP314[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象