Title :
Static Prediction of Worst-Case Data Cache Performance in the Absence of Base Address Information
Author :
Andrade, Diego ; Fraguela, Basilio B. ; Doallo, Ramón
Author_Institution :
Univ. of A Coruna, Coruna
Abstract :
While caches are essential to reduce execution time and power consumption, they complicate the estimation of the worst-case execution time (WCET), crucial for many real-time systems (RTS). Most research on static worst-case cache behavior prediction has focused on hard RTS, which need complete information on the access patterns and addresses of the data to guarantee the predicted WCET is a safe upper bound of any execution time. Access patterns are available in those codes that have a steady state of access patterns after the first iteration of a loop (in the following regular codes), however, the addresses of the data are not always known at compile time for many reasons: stack variables, dynamically allocated memory, modules compiled separately, etc. Even when available, their usefulness to predict cache behavior in systems with virtual memory decreases in the presence of physically-indexed caches. In this paper we present a model that predicts a reasonable bound of the worst-case behavior of data caches during the execution of regular codes without information on the base address of the data structures. In 99.7% of our tests the number of misses performed below the boundary predicted by the model. This turns the model into a valuable tool, particularly for non-RTS and soft RTS, which tolerate a percentage of the runs exceeding their deadlines.
Keywords :
cache storage; data structures; base address information; data structures; physically-indexed caches; real-time systems; static worst-case cache behavior prediction; worst-case data cache; worst-case execution time; Analytical models; Data structures; Degradation; Equations; Information analysis; Pathology; Pattern analysis; Predictive models; Programming profession; Upper bound; WCET; analytical modeling; cache performance; scheduling;
Conference_Titel :
Real-Time and Embedded Technology and Applications Symposium, 2009. RTAS 2009. 15th IEEE
Conference_Location :
San Francisco, CA
Print_ISBN :
978-0-7695-3636-1
DOI :
10.1109/RTAS.2009.23