Publications of Heiko Falk

[176922]
Title: WCET-aware Static Locking of Instruction Caches. <em>In Proceedings of the International Symposium on Code Generation and Optimization (CGO)</em>
Written by: Sascha Plazar, Heiko Falk, Jan C. Kleinsorge and Peter Marwedel
in: April (2012).
Volume: Number:
on pages: 44-52
Chapter:
Editor:
Publisher:
Series: 20120402-cgo-plazar.pdf
Address: San Jose / USA
Edition:
ISBN: 10.1145/2259016.2259023
how published: 12-70 PKFM12 CGO
Organization:
School:
Institution:
Type:
DOI:
URL:
ARXIVID:
PMID:

Note: hfalk, ESD, emp2, WCC

Abstract: In the past decades, embedded system designers moved from simple, predictable system designs towards complex systems equipped with caches. This step was necessary in order to bridge the increasingly growing gap between processor and memory system performance. Static analysis techniques had to be developed to allow the estimation of the cache behavior and an upper bound of the execution time of a program. This bound is called worst-case execution time (WCET). Its knowledge is crucial to verify whether hard real-time systems satisfy their timing constraints, and the WCET is a key parameter for the design of embedded systems.<br /> In this paper, we propose a WCET-aware optimization technique for static I-cache locking which improves a program's performance and predictability. To select the memory blocks to lock into the cache and avoid time consuming repetitive WCET analyses, we developed a new algorithm employing integer-linear programming (ILP). The ILP models the worst-case execution path (WCEP) of a program and takes the influence of locked cache contents into account. By modeling the effect of locked memory blocks on the runtime of basic blocks, the overall WCET of a program can be minimized. We show that our optimization is able to reduce the estimated WCET (abbr. WCETest) of real-life benchmarks by up to 40.8%. At the same time, our proposed approach is able to outperform a regular cache by up to 23.8% in terms of WCETest.