Title :
Accurate timing analysis by modeling caches, speculation and their interaction
Author :
Li, Xianfeng ; Mitra, Tulika ; Roychoudhury, Abhik
Author_Institution :
Sch. of Comput., Nat. Univ., Singapore, Singapore
Abstract :
Schedulability analysis of real-time embedded systems requires worst case timing guarantees of embedded software performance. This involves not only language level program analysis, but also modeling the effects of complex micro-architectural features in modern processors. Speculative execution and caching are very common in current processors. Hence one needs to model the effects of these features on the Worst Case Execution (WCET) of a program. Even though the individual effects of these features have been studied recently, their combined effects have not been investigated. We do so in this paper. This is a non-trivial task because speculative execution can indirectly affect cache performance (e.g., speculatively executed blocks can cause additional cache misses). Our technique starts from the control flow graph of the embedded program, and uses integer linear programming to estimate the program´s WCET. The accuracy of our modeling is illustrated by tight estimates obtained on realistic benchmarks.
Keywords :
cache storage; computational complexity; embedded systems; flow graphs; integer programming; linear programming; performance evaluation; timing; accurate timing analysis; branch prediction; cache performance; control flow graph; integer linear programming; language level program analysis; microarchitectural features; real-time embedded system; realistic benchmark; schedulability analysis; speculative execution; tight estimate; worst case execution time; Embedded computing; Embedded software; Embedded system; Integer linear programming; Permission; Pipelines; Predictive models; Prefetching; Scheduling; Timing;
Conference_Titel :
Design Automation Conference, 2003. Proceedings
Print_ISBN :
1-58113-688-9
DOI :
10.1109/DAC.2003.1219046