Title: A Synergetic Approach to Accurate Analysis of Cache-Related Preemption Delay. <em>In Proceedings of the International Conference on Embedded Software (EMSOFT)</em>
Written by: Jan C. Kleinsorge, Heiko Falk and Peter Marwedel
in: October (2011).
Volume: Number:
on pages: 329-338
Series: 20111012-emsoft-kleinsorge.pdf
Address: Taipei / Taiwan
ISBN: 10.1145/2038642.2038693
how published: 11-30 KFM11 EMSOFT

Note: hfalk, ESD, WCC

Abstract: The worst-case execution time (WCET) of a task denotes the largest possible execution time for all possible inputs and thus, hardware states. For non-preemptive multitask scheduling, techniques for the static estimation of safe upper bounds have been subject to industrial practice for years. For preemptive scheduling however, the isolated analysis of tasks becomes imprecise as interferences among tasks cannot be considered with sufficient precision. For such scenarios, the cache-related preemption delay (CRPD) denotes a key metric as it reflects the effects of preemptions on the execution behavior of a single task. Until recently, proposals for CRPD analyses were often limited to direct mapped caches or comparably imprecise for k-way set-associative caches.<br /> In this paper, we propose how the current best techniques for CRPD analysis, which have only been proposed separately and for different aspects of the analysis can be brought together to construct an efficient CRPD analysis with unique properties. Moreover, along the construction, we propose several different enhancements to the methods employed. We also exploit that in a complete approach, analysis steps are synergetic and can be combined into a single analysis pass solving all formerly separate steps at once. In addition, we argue that it is often sufficient to carry out the combined analysis on basic block bounds, which further lowers the overall complexity. The result is a proposal for a fast CRPD analysis of very high accuracy.