Static probabilistic timing analysis for real-time systems using random replacement caches - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Article Dans Une Revue Real-Time Systems Année : 2015

Static probabilistic timing analysis for real-time systems using random replacement caches

Résumé

In this paper, we investigate Static Probabilistic Timing Analysis (SPTA) for sin- gle processor real-time systems that use a cache with an evict-on-miss random replacement policy. We show that previously published formulae for the probability of a cache hit can produce results that are optimistic and unsound when used to compute probabilistic Worst- Case Execution Time (pWCET) distributions. We investigate the correctness, optimality, and precision of different approaches to SPTA for random replacement caches. We prove that one of the previously published formulae for the probability of a cache hit is optimal with respect to the limited information (reuse dis- tance and cache associativity) that it uses. We derive an alternative formulation that makes use of additional information in the form of the number of distinct memory blocks accessed (the stack distance). This provides a complementary lower bound that can be used together with previously published formula to obtain more accurate analysis. We improve upon this joint approach by using extra information about cache contention. To investigate the preci- sion of various approaches to SPTA, we introduce a simple exhaustive method that computes a precise pWCET distribution, albeit at the cost of exponential complexity. We integrate this precise approach, applied to small numbers of frequently accessed memory blocks, with imprecise analysis of other memory blocks, to form a combined approach that improves precision, without significantly increasing complexity. The performance of the various ap- proaches are compared on benchmark programs. We also make comparisons against deter- ministic analysis of the Least Recently Used (LRU) replacement policy.

Dates et versions

hal-01244349 , version 1 (15-12-2015)

Identifiants

Citer

Altmeyer Sebastian, Liliana Cucu-Grosjean, Robert Davis. Static probabilistic timing analysis for real-time systems using random replacement caches . Real-Time Systems, 2015, 51 (1), pp.77-123. ⟨10.1007/s11241-014-9218-4⟩. ⟨hal-01244349⟩
643 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More