HMTT:一种用于弥合记忆轨迹语义鸿沟的软硬件混合跟踪系统
HMTT: A Hybrid Hardware/Software Tracing System for Bridging Memory Trace's Semantic Gap
摘要:
内存跟踪分析是体系结构研究的重要技术,系统软件(即,操作系统、编译器)优化和应用程序性能改进。硬件监听是一种有效的内存跟踪方法。与基于软件的方法相比,基于硬件的方法所收集的内存轨迹通常缺少进程/函数/循环标识符、虚拟地址和I/O访问等语义信息。在本文中,我们提出了一种混合的硬件/软件机制,它能够收集内存引用跟踪以及语义信息。在此基础上,设计并实现了一个原型系统HMTT(Hybrid Memory Trace Tool),该系统采用DIMMsnooping机制监听内存总线,采用软件控制的跟踪机制将语义信息注入到正常的内存跟踪中。据我们所知,HMTT系统是第一个能够将内存跟踪与高级事件相关联的硬件跟踪系统。全面的验证和评估表明,HMTT系统具有两个硬件(例如,没有失真或污染)和软件的优点(例如,灵活性和更多信息)。
英文摘要:
Memory trace analysis is an important technology for architecture research, system software (i.e., OS, compiler) optimization, and application performance improvements. Hardware-snooping is an effective and efficient approach to monitor and collect memory traces. Compared with software-based approaches, memory traces collected by hardware-based approaches are usually lack of semantic information, such as process/function/loop identifiers, virtual address and I/O access. In this paper we propose a hybrid hardware/software mechanism which is able to collect memory reference trace as well as semantic information. Based on this mechanism, we designed and implemented a prototype system called HMTT (Hybrid Memory Trace Tool) which adopts a DIMMsnooping mechanism to snoop on memory bus and a software-controlled tracing mechanism to inject semantic information into normal memory trace. To the best of our knowledge, the HMTT system is the first hardware tracing system capable of correlating memory trace with high-level events. Comprehensive validations and evaluations show that the HMTT system has both hardware's (e.g., no distortion or pollution) and software's advantages (e.g., flexibility and more information).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。