Observing the Invisible: Live Cache Inspection for High-Performance Embedded Systems

被引:3
|
作者
Tarapore, Dharmesh [1 ]
Roozkhosh, Shahin [1 ]
Brzozowski, Steven [1 ]
Mancuso, Renato [1 ]
机构
[1] Boston Univ, Boston, MA 02215 USA
基金
美国国家科学基金会;
关键词
Hardware; Software; Program processors; Central Processing Unit; Random access memory; Phasor measurement units; Analytical models; Cache; cache snapshotting; ramindex; cacheflow; cache debugging; SIMULATION;
D O I
10.1109/TC.2021.3060650
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The vast majority of high-performance embedded systems implement multi-level CPU cache hierarchies. But the exact behavior of these CPU caches has historically been opaque to system designers. Absent expensive hardware debuggers, an understanding of cache makeup remains tenuous at best. This enduring opacity further obscures the complex interplay among applications and OS-level components, particularly as they compete for the allocation of cache resources. Notwithstanding the relegation of cache comprehension to proxies such as static cache analysis, performance counter-based profiling, and cache hierarchy simulations, the underpinnings of cache structure and evolution continue to elude software-centric solutions. In this article, we explore a novel method of studying cache contents and their evolution via snapshotting. Our method complements extant approaches for cache profiling to better formulate, validate, and refine hypotheses on the behavior of modern caches. We leverage cache introspection interfaces provided by vendors to perform live cache inspections without the need for external hardware. We present CacheFlow, a proof-of-concept Linux kernel module which snapshots cache contents on an NVIDIA Tegra TX1 system on chip and a Hardkernel Odroid XU4.
引用
收藏
页码:559 / 572
页数:14
相关论文
共 50 条
  • [1] On the characterization of data cache vulnerability in high-performance embedded microprocessors
    Wang, Shuai
    Hu, Jie
    Ziavras, Sotirios G.
    2006 INTERNATIONAL CONFERENCE ON EMBEDDED COMPUTER SYSTEMS: ARCHITECTURES, MODELING AND SIMULATION, PROCEEDINGS, 2006, : 14 - +
  • [2] Design Considerations for Scalable High-Performance Vision Systems Embedded in Industrial Print Inspection Machines
    Fuertler, Johannes
    Roessler, Peter
    Brodersen, Joerg
    Nachtnebel, Herbert
    Mayer, Konrad J.
    Cadek, Gerhard
    Eckel, Christian
    EURASIP JOURNAL ON EMBEDDED SYSTEMS, 2007, (01)
  • [3] On tools for modeling high-performance embedded systems
    Nambiar, A
    Chaudhary, V
    EMBEDDED AND UBIQUITOUS COMPUTING - EUC 2005, 2005, 3824 : 360 - 370
  • [4] MICROPROCESSORS KOMDIV FOR HIGH-PERFORMANCE EMBEDDED SYSTEMS
    Bobkov, S. G.
    INFORMATION TECHNOLOGY IN INDUSTRY, 2019, 7 (03): : 5 - 9
  • [5] Specializing cache structures for high performance and energy conservation in embedded systems
    Geiger, Michael J.
    Mckee, Sally A.
    Tyson, Gary S.
    TRANSACTIONS ON HIGH-PERFORMANCE EMBEDDED ARCHITECTURES AND COMPILERS I, 2007, 4050 : 54 - +
  • [6] Observing the performance of distribution systems with embedded generators
    Ciric, RM
    Padilha-Feltrin, A
    Denis, IFED
    EUROPEAN TRANSACTIONS ON ELECTRICAL POWER, 2004, 14 (06): : 347 - 359
  • [7] Scalable Embedded Systems: Towards the Convergence of High-Performance and Embedded Computing
    Giorgi, Roberto
    PROCEEDINGS IEEE/IFIP 13TH INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING 2015, 2015, : 148 - 153
  • [8] QoS for high-performance smt processors in embedded systems
    Cazorla, FJ
    Ramirez, A
    Valero, M
    Knijnenburg, PMW
    Sakellariou, R
    Fernández, E
    IEEE MICRO, 2004, 24 (04) : 24 - 31
  • [9] Implementation of Java Accelerator for High-Performance Embedded Systems
    Kimura, Motoki
    Miki, Morgan Hirosuke
    Onoye, Takao
    Shirakawa, Isao
    IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences, 2003, E86-A (12) : 3079 - 3088
  • [10] Modeling and Formal Validation of High-Performance Embedded Systems
    Gamatic, Abdoulaye
    Rutten, Eric
    Yu, Huafeng
    Boulet, Pierre
    Dekeyser, Jean-Luc
    PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, 2008, : 215 - +