Data cache organization for accurate timing analysis

被引:0
|
作者
Martin Schoeberl
Benedikt Huber
Wolfgang Puffitsch
机构
[1] Technical University of Denmark,Department of Informatics and Mathematical Modeling
[2] Vienna University of Technology,Institute of Computer Engineering
来源
Real-Time Systems | 2013年 / 49卷
关键词
WCET analysis; Data caches; Time-predictable computer architecture;
D O I
暂无
中图分类号
学科分类号
摘要
Caches are essential to bridge the gap between the high latency main memory and the fast processor pipeline. Standard processor architectures implement two first-level caches to avoid a structural hazard in the pipeline: an instruction cache and a data cache. For tight worst-case execution times it is important to classify memory accesses as either cache hit or cache miss. The addresses of instruction fetches are known statically and static cache hit/miss classification is possible for the instruction cache. The access to data that is cached in the data cache is harder to predict statically. Several different data areas, such as stack, global data, and heap allocated data, share the same cache. Some addresses are known statically, other addresses are only known at runtime. With a standard cache organization all those different data areas must be considered by worst-case execution time analysis. In this paper we propose to split the data cache for the different data areas. Data cache analysis can be performed individually for the different areas. Access to an unknown address in the heap does not destroy the abstract cache state for other data areas. Furthermore, we propose to use a small, highly associative cache for the heap area. We designed and implemented a static analysis for this cache, and integrated it into a worst-case execution time analysis tool.
引用
收藏
页码:1 / 28
页数:27
相关论文
共 50 条
  • [41] Power supply selective mapping for accurate timing analysis
    Graziano, M
    Forzan, C
    Pandini, D
    INTEGRATED CIRCUIT AND SYSTEM DESIGN: POWER AND TIMING MODELING, OPTIMIZATION AND SIMULATION, 2005, 3728 : 267 - 276
  • [42] The Involution Tool for Accurate Digital Timing and Power Analysis
    Öhlinger, Daniel
    Maier, Jürgen
    Függer, Matthias
    Schmid, Ulrich
    Integration, 2021, 76 : 87 - 98
  • [43] A Novel Cache Bank Timing Attack
    Jiang, Zhen Hang
    Fei, Yunsi
    2017 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD), 2017, : 139 - 146
  • [44] Timing Penalties Associated with Cache Sharing
    Babka, Vlastimil
    Libic, Peter
    Tuma, Petr
    2009 IEEE INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS & SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS), 2009, : 583 - 586
  • [45] Pinpointing Cache Timing Attacks on AES
    Rebeiro, Chester
    Mondal, Mainack
    Mukhopadhyay, Debdeep
    23RD INTERNATIONAL CONFERENCE ON VLSI DESIGN, 2010, : 306 - 311
  • [46] An improved data cache timing attack against RSA based on hidden Markov model
    Chen, Cai-sen
    Xiang, Yang-xia
    Du, Jia-xing
    Cheng, Zhiwei
    Journal of Computers (Taiwan), 2019, 30 (01) : 87 - 95
  • [47] Timing predictability of cache replacement policies
    Reineke, Jan
    Grund, Daniel
    Berg, Christoph
    Wilhelm, Reinhard
    REAL-TIME SYSTEMS, 2007, 37 (02) : 99 - 122
  • [48] Cache Timing Attacks on Recent Microarchitectures
    Andreou, Alexandros
    Bogdanov, Andrey
    Tischhauser, Elmar
    2017 IEEE INTERNATIONAL SYMPOSIUM ON HARDWARE ORIENTED SECURITY AND TRUST (HOST), 2017, : 155 - 155
  • [49] Cache-Timing Template Attacks
    Brumley, Billy Bob
    Hakala, Risto M.
    ADVANCES IN CRYPTOLOGY - ASIACRYPT 2009, 2009, 5912 : 667 - 684
  • [50] Timing predictability of cache replacement policies
    Jan Reineke
    Daniel Grund
    Christoph Berg
    Reinhard Wilhelm
    Real-Time Systems, 2007, 37 : 99 - 122