Architecture-Aware Real-Time Compression of Execution Traces

Author:

Mihajlović Bojan1,Žilić Željko1,Gross Warren J.1

Affiliation:

1. McGill University, Quebec, Canada

Abstract

In recent years, on-chip trace generation has been recognized as a solution to the debugging of increasingly complex software. An execution trace can be seen as the most fundamentally useful type of trace, allowing the execution path of software to be determined post hoc. However, the bandwidth required to output such a trace can be excessive. Our architecture-aware trace compression (AATC) scheme adds an on-chip branch predictor and branch target buffer to reduce the volume of execution trace data in real time through on-chip compression. Novel redundancy reduction strategies are employed, most notably in exploiting the widespread use of linked branches and the compiler-driven movement of return addresses between link register, stack, and program counter. In doing so, the volume of branch target addresses is reduced by 52%, whereas other algorithmic improvements further decrease trace volume. An analysis of spatial and temporal redundancy in the trace stream allows a comparison of encoding strategies to be made for systematically increasing compression performance. A combination of differential, Fibonacci, VarLen, and Move-to-Front encodings are chosen to produce two compressor variants: a performance-focused xAATC that encodes 56.5 instructions/bit using 24,133 gates and an area-efficient fAATC that encodes 48.1 instructions/bit using only 9,854 gates.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Software

Reference28 articles.

1. ARM. 2011a. Embedded Trace Macrocell Architecture Specification. http://infocenter.arm.com/help/topic/com.arm.doc.ihi0014q/IHI0014Q_etm_architecture_spec.pdf. ARM. 2011a. Embedded Trace Macrocell Architecture Specification. http://infocenter.arm.com/help/topic/com.arm.doc.ihi0014q/IHI0014Q_etm_architecture_spec.pdf.

2. ARM. 2011b. RealView Debugger User Guide—Version 4.1.2. http://infocenter.arm.com/help/index.jsp? topic=/com.arm.doc.dui0153n/Babdjcjf.html. ARM. 2011b. RealView Debugger User Guide—Version 4.1.2. http://infocenter.arm.com/help/index.jsp? topic=/com.arm.doc.dui0153n/Babdjcjf.html.

3. The VPC Trace-Compression Algorithms

4. High-Level Design and Validation of the BlueSPARC Multithreaded Processor

Cited by 3 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Enabling On-the-Fly Hardware Tracing of Data Reads in Multicores;ACM Transactions on Embedded Computing Systems;2019-07-31

2. Dynamic Analysis of Multi-threaded Embedded Software to Expose Atomicity Violations;2016 13th International Conference on Embedded Software and Systems (ICESS);2016-08

3. On-the-fly load data value tracing in multicores;Proceedings of the International Conference on Compilers, Architectures and Synthesis for Embedded Systems - CASES '16;2016

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3