期刊文献+

基于硬件的内存trace工具--MTT的设计与实现 被引量:2

The Design and Implementation of MTT——A Hardware-based Memory Trace Tool
下载PDF
导出
摘要 本文提出了一种全新的获得访存trace的方式,并设计实现了基于硬件的零开销多平台实时访存Trace工具——MTT(Memory Trace Tool).详细介绍了MTT在采样配置、地址识别t、race输出等方面的设计细节,以及接收端配合MTT高效接收分析trace的流程,实现了一个通过MTT获得程序访存trace的完整方案.相比已有方法,MTT具有许多特点:(1)对程序透明;(2)零开销,无内存污染问题;(3)实时获取完整的全系统访存Trace;(4)可实时配置的多种在线Trace分析手段;(5)具有操作系统平台无关性. We propose a new approach to track memory reference trace and present a hardware-based Memory Trace Tool (MTY) for real systems. This paper details the design of MTT, including sampling configure, translating address, outputting trace and analysis of memory trace, which implement a complete solution to acquire and analyze memory reference trace. Compared to existing methods, MTT has several features: (1) be transparent to applications and system software; (2) be nearly zero-overhead and no pollutions; (3)be available to obtain fuU-system trace on real systems; (4)provide various online analysis approaches; and (5) be independent of system platform, support different CPU and OS platform.
出处 《电子学报》 EI CAS CSCD 北大核心 2008年第8期1519-1525,共7页 Acta Electronica Sinica
基金 国家自然科学基金(No.60633040)
关键词 访存轨迹 插桩 访存行为分析 现场可编程门阵列(FPGA) memory reference trace profiling memory access behavior analysis field-programmable gate array(FPGA)
  • 相关文献

参考文献19

  • 1Win A Wulf, Sally A McKee. Hitting the Memory Wall: implicalious of the obvious[ J ]. Computer Architecture News, 1995,23(1):20- 24.
  • 2SPEC CPU2000 V 1.2, http://www.spec. org/cpu2000/.2001 - 10 - 22.
  • 3Timothy Sherwood, Suleyman Sair, Brad Calder. Phase tracking and prediction[ A ]. Proceedings of the 30th International Symposium on Computer Architecture[C]. San Diego: IEEE Computer Society,2003. 336- 347.
  • 4Suleyman Sair, Mark Chamey. Memory Behavior of the SPEC2000 Benchmark Suite [ R ]. IBM TJ Watson Research Center Technical Report RC 21852,2000.
  • 5M Rosenblum, E Bugnion, etc. The impact of architectural trends on operating system performance [ A ]. Proceedings of the 17th International Symposium on Operating System principles[ C ]. USA: ACM, 1995.285 - 298.
  • 6A Srivastava, A Eustace. ATOM: A system for building customized program analysis tools[ A]. Proceedings of the Conference on Programming Language Design and Implementation [ C]. Orlando: ACM, 1994. 196 - 205.
  • 7Pin. http://rogue. colorado. edu/Pin/docs/11889/Doc/Pin/ html/.2007 - 05 - 13.
  • 8M Burrows, U Erlingson, etc. Efficient and flexible value sampiing[ A ]. Proceedings of the 9th International Conference on Architectural Support for Programming Languages and Operating Systems[ C]. Cambridge,2000. 160- 167.
  • 9Marty Itzkowitz, Brian J N, Wylie Christopher, Nicolai Kosche. Memory profiling using hardware counters[ A]. Proceedings of Supercomputing [ C ]. Phoenix: ACM, 2003.
  • 10Jeffrey Dean, James E Hicks, etc. ProfileMe: Hardware support for instruction level profiling on out of order processors[ A ]. proceedings of the 33rd International Symposium on Micro architecture[C]. USA: ACM/IEEE, 1997. 292 - 302.

同被引文献18

  • 1杨浩,唐锋,谢海斌,武成岗,冯晓兵.二进制翻译中的库函数处理[J].计算机研究与发展,2006,43(12):2174-2179. 被引量:9
  • 2Onur M, Thomas M. Parallelism-aware batch scheduling: Enhancing both performance and fairness of shared DRAM systems[C] //Proc of the 35th Annual Int Symp on Computer Architecture. Los Alamitos, CA: IEEE Computer Society, 2008:63-74.
  • 3Bao Yungang, Chen Mingyu, Ruan Yuan, et al. HMTT: A platform independent full-system memory trace monitoring system [C]//Proc of the 2008 ACM SIGMETRICS Int Conf on Measurement and Modeling of Computer Systems. New York: ACM, 2008:229-240.
  • 4Chi K L, Robert C, Robert M, et al. Pin: Building customized program analysis tools with dynamic instrumentation [C] //Proc of the 2005 ACM SIGPLAN Conf on Programming Language Design and Implementation. New York: ACM, 2005:190-200.
  • 5Derek L B. Efficient, transparent, and comprehensive runtime code manipulation [D]. Cambridge, MA : Massachusetts Institute of Technology, 2004.
  • 6TIS Committee. Tool Interface Standard (TIS) Executable and Linking Format (ELF) Specification, Version 1.2 lOLl. [2012-02-07]. http://refspees, linuxbase, orgelfel, pdf.
  • 7Asim S. A system for process checkpointing and restarting ( using a core dump ) lOLl. [ 2012-02-07 ]. http:// geocitiessites, com/asimshankar/checkpointing/report, pdf.
  • 8Silvio C, Matrix Z. Shared library call redirection using ELF PLT infection [OL]. [-2012-02-07]. http://vxheavens, corn/ lib/vsc06, html.
  • 9Susanta N, Wei L, Lap C L, et al. BIRD: Binary interpretation using runtime disassembly [C]//Proc of the Int Symp on Code Generation and Optimization. Los Alamitos, CA: IEEE Computer Society, 2006:358-370.
  • 10Vivek T. Udis86 disassembler library for x86 and x86-64 [CP/OL]. [2012-02-07]. http://udis86, sourceforge, net/.

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部