Search papers, labs, and topics across Lattice.
This paper repurposes the Embedded Trace Macrocell (ETM), a standard component in Arm's CoreSight architecture, as a hardware-assisted memory bandwidth regulator for real-time multicore systems. ETM2 offers a portable solution that balances the fine-grained control of MemPol with the portability of interrupt-based solutions like MemGuard. Evaluation on various Arm boards and comparison with existing methods using the San Diego Vision Benchmark Suite demonstrates ETM2's effectiveness in enforcing per-core memory bandwidth regulation and enabling new regulation options.
An existing debugging tool, the Arm Embedded Trace Macrocell (ETM), can be surprisingly repurposed to create a portable and effective hardware-assisted memory bandwidth regulator.
The Embedded Trace Macrocell (ETM) is a standard component of Arm's CoreSight architecture, present in a wide range of platforms and primarily designed for tracing and debugging. In this work, we demonstrate that it can be repurposed to implement a novel hardware-assisted memory bandwidth regulator, providing a portable and effective solution to mitigate memory interference in real-time multicore systems. ETM2 requires minimal software intervention and bridges the gap between the fine-grained microsecond resolution of MemPol and the portability and reaction time of interrupt-based solutions, such as MemGuard. We assess the effectiveness and portability of our design with an evaluation on a large number of 64-bit Arm boards, and we compare ETM2 with previous works using a setup based on the San Diego Vision Benchmark Suite on the AMD Zynq UltraScale+. Our results show the scalability of the approach and highlight the design trade-offs it enables. ETM2 is effective in enforcing per-core memory bandwidth regulation and unlocks new regulation options that were infeasible under MemGuard and MemPol.