On the analysis of random replacement caches using static probabilistic timing methods for multi-path programs

Abstract : Probabilistic hard real-time systems, based on hardware architectures that use a random replacement cache, provide a potential means of reducing the hardware over-provision required to accommodate pathological scenarios and the associated extremely rare, but excessively long, worst-case execution times that can occur in deterministic systems. Timing analysis for probabilistic hard real-time systems requires the provision of probabilistic worst-case execution time (pWCET) estimates. The pWCET distribution can be described as an exceedance function which gives an upper bound on the probability that the execution time of a task will exceed any given execution time budget on any particular run. This paper introduces a more effective static probabilistic timing analysis (SPTA) for multi-path programs. The analysis estimates the temporal contribution of an evict-on-miss, random replacement cache to the pWCET distribution of multi- path programs. The analysis uses a conservative join function that provides a proper over-approximation of the possible cache contents and the pWCET distribution on path convergence, irrespective of the actual path followed during execution. Simple program transformations are introduced that reduce the impact of path indeterminism while ensuring sound pWCET estimates. Evaluation shows that the proposed method is efficient at capturing locality in the cache, and substantially outperforms the only prior approach to SPTA for multi-path programs based on path merging. The evaluation results show incomparability with analysis for an equivalent deterministic system using an LRU cache. For some benchmarks the performance of LRU is better, while for others, the new analysis techniques show that random replacement has provably better performance.
Document type :
Journal articles
Liste complète des métadonnées

Contributor : Liliana Cucu-Grosjean <>
Submitted on : Monday, December 18, 2017 - 9:44:12 AM
Last modification on : Friday, December 14, 2018 - 5:26:33 PM

Links full text




Benjamin Lesage, Sebastien Altmeyer, David Griffin, Liliana Cucu-Grosjean, Robert Davis. On the analysis of random replacement caches using static probabilistic timing methods for multi-path programs. Real-Time Systems, Springer Verlag, 2018, 54 (2), pp.307-388. ⟨10.1007/s11241-017-9295-2⟩. ⟨hal-01666091⟩



Record views