DocumentCode :
3220448
Title :
Minimizing WCET for Real-Time Embedded Systems via Static Instruction Cache Locking
Author :
Liu, Tiantian ; Li, Minming ; Xue, Chun Jason
Author_Institution :
Dept. of Comput. Sci., City Univ. of Hong Kong, Hong Kong
fYear :
2009
fDate :
13-16 April 2009
Firstpage :
35
Lastpage :
44
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 over-estimation of the real-time application´s WCET. A lot of modern processors provide cache locking capability. Static I-Cache 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.
Keywords :
cache storage; computational complexity; linear programming; polynomials; NP-hard problem; execution flow tree; instruction miss/hit behavior; linear programming model; polynomial time optimal algorithms; program execution; real-time embedded systems; static instruction cache locking; worst-case execution time; Application software; Computer science; Costs; Councils; Embedded system; Hardware; Linear programming; NP-hard problem; Polynomials; Real time systems;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Real-Time and Embedded Technology and Applications Symposium, 2009. RTAS 2009. 15th IEEE
Conference_Location :
San Francisco, CA
ISSN :
1545-3421
Print_ISBN :
978-0-7695-3636-1
Type :
conf
DOI :
10.1109/RTAS.2009.11
Filename :
4840565
Link To Document :
بازگشت