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 条
  • [41] Cache-oblivious High-performance Similarity Join
    Perdacher, Martin
    Plant, Claudia
    Boehm, Christian
    SIGMOD '19: PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2019, : 87 - 104
  • [42] ACDC: Small, Predictable and High-Performance Data Cache
    Segarra, Juan
    Rodriguez, Clemente
    Gran, Ruben
    Aparicio, Luis C.
    Vinals, Victor
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2015, 14 (02) : 38
  • [43] SCP: Shared Cache Partitioning for High-Performance GEMM
    Su, Xing
    Liao, Xiangke
    Jiang, Hao
    Yang, Canqun
    Xue, Jingling
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2019, 15 (04)
  • [44] Flash-Aware High-Performance and Endurable Cache
    Xia, Qianbin
    Xiao, Weijun
    2015 IEEE 23RD INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS, AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS 2015), 2015, : 47 - 50
  • [45] High-Performance with an In-GPU Graph Database Cache
    Morishima, Shin
    Matsutani, Hiroki
    IT PROFESSIONAL, 2017, 19 (06) : 58 - 64
  • [46] Multivac Marking & Inspection High-performance Marking
    不详
    FLEISCHWIRTSCHAFT, 2022, 102 (07): : 64 - 64
  • [47] SLAM: High Performance and Energy Efficient Hybrid Last Level Cache Architecture for Multicore Embedded Systems
    Bhosale, Swapnil
    Pasricha, Sudeep
    2019 IEEE INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS (ICESS), 2019,
  • [48] MEDUSA: A Predictable and High-Performance DRAM Controller for Multicore based Embedded Systems
    Valsan, Prathap Kumar
    Yun, Heechul
    2015 IEEE 3RD INTERNATIONAL CONFERENCE ON CYBER-PHYSICAL SYSTEMS, NETWORKS, AND APPLICATIONS CPSNA 2015, 2015, : 86 - 93
  • [49] A High-performance DAG Task Scheduling Algorithm for Heterogeneous Networked Embedded Systems
    Xie, Guoqi
    Li, Renfa
    Xiao, Xiongren
    Chen, Yuekun
    2014 IEEE 28TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS (AINA), 2014, : 1011 - 1016
  • [50] A High-Performance Pedestrian Detector and Its Implementation on Embedded Systems for Hypermarket Environment
    Chen, Kuan-Hung
    Deng, Jesse Der-Chian
    Hwang, Yin-Tsung
    2019 INTERNATIONAL SOC DESIGN CONFERENCE (ISOCC), 2019, : 154 - 155