Journal of Systems Engineering and Electronics ›› 2009, Vol. 31 ›› Issue (9): 2254-2259.

• 软件、算法与仿真 • 上一篇    下一篇

可配置的热点路径动态剖析器的硬件实现

张惠臻1,2, 周学海1,2, 纪金松1, 陈香兰1,2, 马宏星1   

  1. 1. 中国科学技术大学计算机科学与技术学院, 安徽, 合肥, 23002;
    2. 中国科学技术大学苏州研究院, 江苏, 苏州, 215123
  • 收稿日期:2008-08-12 修回日期:2009-04-10 出版日期:2009-09-20 发布日期:2010-01-03
  • 作者简介:张惠臻(1983- ),男,博士研究生,主要研究方向为可重构计算、软件重定向.E-mail:zhanghz@mail.ustc.edu.cn
  • 基金资助:
    国家高技术研究发展计划(863计划)资助(2008AA01Z101);高等学校博士学科点专项科研基金(20050358040)资助课题

Configurable hardware profiler for dynamic hot path detection

ZHANG Hui-zhen1,2, ZHOU Xue-hai1,2, JI Jin-song1, CHEN Xiang-lan1,2, MA Hong-xing1   

  1. 1. Dept. of Computer Science and Technology, Univ. of Science and Technology of China, Hefei 230027, China;
    2. Suzhou Inst. for Advanced Study of Univ. of Science and Technology of China, Suzhou 215123, China
  • Received:2008-08-12 Revised:2009-04-10 Online:2009-09-20 Published:2010-01-03

摘要: 动态路径剖析技术能够在程序运行时识别其中频繁执行的代码块,从而指导程序的性能优化,在指令集扩展和动态二进制翻译等研究中都有着重要的应用。在对路径优化技术研究的基础上,提出一种适用于不同体系结构的简单高效的剖析器硬件实现方案(configurable hardware dynamic path profiler,CHDPP)。CHDPP能够与目标处理器低耦合地工作,通过识别程序中的分支指令来完成路径剖析并存储热点路径信息。实验结果表明,该方案在占用少量硬件资源的情况下能够高效地完成路径剖析,获得准确度高达94.1%的热点路径数和97.7%的热点路径相关信息。

Abstract: Dynamic path profiling technology can identify the frequent code segments,thus guiding performance optimization.It is very important and widely used in instruction sets extension,dynamic binary translation and so on.Based on the study of path optimization technology,a simple but efficient hardware path profiler(CHDPP) is proposed.CHDPP can be programmed to match several kinds of architectures.It catches the branch instructions,executes path profiling and stores the result information.Experiments show that the profiler is capable of obtaining high accuracy with few hardware resources,up to 94.1% for hot path number and 97.7% for relative information.

中图分类号: