Bounding Preemption Delay within Data Cache Reference Patterns for Real-Time Tasks
- 10 December 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
Abstract
Caches have become invaluable for higher-end architectures to hide, in part, the increasing gap between processor speed and memory access times. While the effect of caches on timing predictability of single real-time tasks has been the focus of much research, bounding the overhead of cache warm-ups after preemptions remains a challenging problem, particularly for data caches. In this paper, we bound the penalty of cache interference for real-time tasks by providing accurate predictions of the data cache behavior across preemptions. For every task, we derive data cache reference patterns for all scalar and non-scalar references. Partial timing of a task is performed up to a preemption point using these patterns. The effects of cache interference are then analyzed using a settheoretic approach, which identifies the number and location of additional misses due to preemption. A feedback mechanism provides the means to interact with the timing analyzer, which subsequently times another interval of a task bounded by the next preemption. Our experimental results demonstrate that it is sufficient to consider the n most expensive preemption points, where n is the maximum possible number of preemptions. Further, it is shown that such accurate modeling of data cache behavior in preemptive systems significantly improves the WCET predictions for a task. To the best of our knowledge, our work of bounding preemption delay for data caches is unprecedented.Keywords
This publication has 18 references indexed in Scilit:
- Scheduling Analysis of Real-Time Systems with Precise Modeling of Cache Related Preemption DelayPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2006
- Bounding Worst-Case Data Cache Behavior by Analytically Deriving Cache Reference PatternsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- Multiple process execution in cache related preemption delay analysisPublished by Association for Computing Machinery (ACM) ,2004
- Let's study whole-program cache behaviour analyticallyPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2004
- Low-complexity algorithms for static cache locking in multitasking hard real-time systemsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- The rate monotonic scheduling algorithm: exact characterization and average case behaviorPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- Accurate estimation of cache-related preemption delayPublished by Association for Computing Machinery (ACM) ,2003
- Cache modeling for real-time software: beyond direct mapped instruction cachesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2002
- Bounding cache-related preemption delay for real-time systemsIEEE Transactions on Software Engineering, 2001
- A Fast and Accurate Approach to Analyze Cache Memory BehaviorPublished by Springer Nature ,2000