About

Log in?

DTU users get better search results including licensed content and discounts on order fees.

Anyone can log in and get personalized features such as favorites, tags and feeds.

Log in as DTU user Log in as non-DTU user No thanks

DTU Findit

Conference paper

Lazy Spilling for a Time-Predictable Stack Cache: Implementation and Analysis

Edited by Falk, Heiko

From

Department of Applied Mathematics and Computer Science, Technical University of Denmark1

Embedded Systems Engineering, Department of Applied Mathematics and Computer Science, Technical University of Denmark2

Mines Paris - PSL3

The growing complexity of modern computer architectures increasingly complicates the prediction of the run-time behavior of software. For real-time systems, where a safe estimation of the program's worst-case execution time is needed, time-predictable computer architectures promise to resolve this problem.

A stack cache, for instance, allows the compiler to efficiently cache a program's stack, while static analysis of its behavior remains easy. Likewise, its implementation requires little hardware overhead. This work introduces an optimization of the standard stack cache to avoid redundant spilling of the cache content to main memory, if the content was not modified in the meantime.

At first sight, this appears to be an average-case optimization. Indeed, measurements show that the number of cache blocks spilled is reduced to about 17% and 30% in the mean, depending on the stack cache size. Furthermore, we show that lazy spilling can be analyzed with little extra effort, which benefits the worst-case spilling behavior that is relevant for a real-time system.

Language: English
Publisher: OASICS
Year: 2014
Pages: 83-92
Proceedings: 14th International Workshop on Worst-Case Execution Time AnalysisInternational workshop on Worst-Case Execution Time Analysis
Series: Open Access Series in Informatics
Journal subtitle: Wcet 2014
ISBN: 3939897698 and 9783939897699
ISSN: 21906807
Types: Conference paper

DTU users get better search results including licensed content and discounts on order fees.

Log in as DTU user

Access

Analysis