Skip to main navigation Skip to search Skip to main content

Minimizing WCET for real-time embedded systems via static instruction cache locking

  • Tiantian Liu*
  • , Minming Li
  • , Chun Jason Xue
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Cache is effective in bridging the gap between processor and memory speed. It is also a source of unpredictability because of its dynamic and adaptive behavior. Worst-case execution time (WCET) of an application is one of the most important criteria for real-time embedded system design. The unpredictability of instruction miss/hit behavior in the instruction cache (I-Cache) leads to an unnecessary overestimation of the real-time application's WCET. A lot of modern processors provide cache locking capability. Static ICache locking locks function/instruction blocks of a program into the I-Cache before program execution. In this way, a more precise estimation of WCET can be achieved. The selection of functions/instructions to be locked in the I-Cache has dramatic influence on the performance of the real-time application. This paper focuses on the static I-Cache locking problem to minimize WCET for real-time embedded systems. We formulate the problem using an Execution Flow Tree (EFT) and a linear programming model. For a subset of the problems with certain properties, corresponding polynomial time optimal algorithms are proposed. We prove that the general problem is an NP-Hard problem. We also show that for a subset of the general problem with certain patterns, optimal solutions can be achieved in polynomial time. Experimental results show that our algorithms can reduce the WCET of applications further compared to current best known techniques.

Original languageEnglish
Title of host publicationProceedings - 15th IEEE Real-Time and Embedded Technology and Application Symposium, RTAS 2009
Pages35-44
Number of pages10
DOIs
StatePublished - 2009
Externally publishedYes
Event15th IEEE Real-Time and Embedded Technology and Application Symposium, RTAS 2009 - San Francisco, CA, United States
Duration: 14 Apr 200916 Apr 2009

Publication series

NameProceedings of the IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS
ISSN (Print)1545-3421

Conference

Conference15th IEEE Real-Time and Embedded Technology and Application Symposium, RTAS 2009
Country/TerritoryUnited States
CitySan Francisco, CA
Period14/04/0916/04/09

Fingerprint

Dive into the research topics of 'Minimizing WCET for real-time embedded systems via static instruction cache locking'. Together they form a unique fingerprint.

Cite this