• DocumentCode
    2086531
  • Title

    A Small and Effective Data Cache for Real-Time Multitasking Systems

  • Author

    Segarra, Juan ; Rodríguez, Clemente ; Gran, Rubén ; Aparicio, Luis C. ; Viñals, Víctor

  • Author_Institution
    Dept. Inf. e Ing. de Sist., Univ. de Zaragoza, Zaragoza, Spain
  • fYear
    2012
  • fDate
    16-19 April 2012
  • Firstpage
    45
  • Lastpage
    54
  • Abstract
    In multitasking real-time systems, the WCET of each task and also the effects of interferences between tasks in the worst-case scenario need to be calculated. This is especially complex with data caches. In this paper, we propose a small instruction-driven data cache (256 bytes) that effectively exploits locality. It works by preselecting a subset of memory instructions that will have data cache replacement permission. Selection of such instructions is based on data reuse theory. Since each selected memory instruction replaces its own data cache line, it prevents pollution and performance in tasks becomes independent of the size of the associated data structures. We have modeled several memory configurations using the Lock-MS WCET analysis method. Our results show that, on average, our data cache effectively services 88% of program data. Such results translate into doubling the performance of the tested real-time multitasking experiments, which (increasing from 75 to 89%) approaches the ideal case of always hitting in instruction and data caches. Additionally, we show that using partitioning on our proposed hardware only provides marginal benefits.
  • Keywords
    cache storage; data structures; real-time systems; storage management; Lock-MS WCET analysis; data cache replacement permission; data reuse theory; data structures; instruction-driven data cache; memory configurations; memory instructions; real-time multitasking systems; worst-case scenario; Arrays; Context; Hardware; Memory management; Pollution; Real time systems; data cache; wcet;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time and Embedded Technology and Applications Symposium (RTAS), 2012 IEEE 18th
  • Conference_Location
    Beijing
  • ISSN
    1080-1812
  • Print_ISBN
    978-1-4673-0883-0
  • Type

    conf

  • DOI
    10.1109/RTAS.2012.11
  • Filename
    6200077