利用动态二进制翻译加速应用程序行为特征分析  被引量:6

Accelerating Program Behavior Analysis with Dynamic Binary Translation

在线阅读下载全文

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

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

出  处:《计算机研究与发展》2012年第1期35-43,共9页Journal of Computer Research and Development

基  金:国家自然科学基金项目(60970036;61103011);高等学校博士学科点专项科研基金项目(20094307120007)

摘  要:应用程序运行时典型行为特征分析的一种重要方法是SimPoint,但是为SimPoint生成基本块向量剖析(basic block vector profile,BBV profile)文件非常耗时.首先提出了一个利用动态二进制翻译技术生成BBVprofile的通用框架DBT-BBV,然后详细分析了几种降低开销的优化技术,最后基于DBT-BBV和提出的优化技术设计实现了一个高效的BBVProfile收集工具QPoint.利用SPEC2006测试程序集评估了所提出的优化技术和QPoint的性能和开销.与现有工具相比,QPoint有两个优势:①QPoint的性能高于现有工具,在普通PC机上最高速度为292MIPS,平均速度为109MIPS,BBV Profile收集的平均开销小于4%,在同类工具中最低;②QPoint支持众多体系结构平台,包括x86/x86_64,ARM,POWER,SPARC,MIPS等,并且可跨指令集收集BBVProfile.结果显示,动态二进制翻译技术在应用程序行为特征分析加速方面具有非常好的效果.SimPoint methodology is one of the important methods for program runtime behavior analysis.BBV(basic block vector) profiles for SimPoint are usually gathered with functional simulators.However,BBV profile gathering is very time consuming since the speed of functional simulation is very slow.To solve this problem,this paper proposes using dynamic binary translation to accelerate BBV profile gathering.Firstly,a general framework on BBV profile gathering with dynamic binary translation,DBT-BBV,is presented.Then several optimization techniques for reducing the overhead of BBV gathering are discussed.Lastly,a highly efficient BBV profiler,QPoint,is designed and implemented based on the proposed DBT-BBV framework and optimization techniques.The performance and overhead of QPoint is evaluated with the SPEC2006 benchmarks.Compared with existing tools,QPoint has two advantages.Firstly,the performance of QPoint is much better,with a speed of up to 292 MIPS,on average 109 MIPS,on an ordinary PC.The overhead is less than 4%,which is the lowest among similar tools.Secondly,QPoint supports most architectures,including x86/x86_64,ARM,POWER,SPARC,MIPS,etc.,and can be used to generate cross-platform BBV profiles.Experimental results show that dynamic binary translation technique can be well adapted to program behavior analysis acceleration.

关 键 词:应用程序行为分析 二进制翻译 SimPoint BBV PROFILE QPoint 

分 类 号:TP368[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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