Cache Persistence Analysis: Finally Exact

09/10/2019
by   Gregory Stock, et al.
0

Cache persistence analysis is an important part of worst-case execution time (WCET) analysis. It has been extensively studied in the past twenty years. Despite these efforts, all existing persistence analyses are approximative in the sense that they are not guaranteed to find all persistent memory blocks. In this paper, we close this gap by introducing the first exact persistence analysis for caches with least-recently-used (LRU) replacement. To this end, we first introduce an exact abstraction that exploits monotonicity properties of LRU to significantly reduce the information the analysis needs to maintain for exact persistence classifications. We show how to efficiently implement this abstraction using zero-suppressed binary decision diagrams (ZDDs) and introduce novel techniques to deal with uncertainty that arises during the analysis of data caches. The experimental evaluation demonstrates that the new exact analysis is competitive with state-of-the-art inexact analyses in terms of both memory consumption and analysis run time, which is somewhat surprising as we show that persistence analysis is NP-complete. We also observe that while prior analyses are not exact in theory they come close to being exact in practice.

READ FULL TEXT

page 10

page 16

page 17

page 18

page 19

page 20

page 21

page 22

research
11/05/2018

Fast and exact analysis for LRU caches

For applications in worst-case execution time analysis and in security, ...
research
01/31/2022

The complexity gap in the static analysis of cache accesses grows if procedure calls are added

The static analysis of cache accesses consists in correctly predicting w...
research
11/05/2018

On the complexity of cache analysis for different replacement policies

Modern processors use cache memory: a memory access that "hits" the cach...
research
07/05/2023

From Ideal to Practice: Data Encryption in eADR-based Secure Non-Volatile Memory Systems

Extended Asynchronous DRAM Refresh (eADR) proposed by Intel extends the ...
research
03/01/2022

Dimension Reduction of Two-Dimensional Persistence via Distance Deformations

This article grew out of the application part of my Master's thesis at t...
research
06/13/2012

Efficient inference in persistent Dynamic Bayesian Networks

Numerous temporal inference tasks such as fault monitoring and anomaly d...
research
10/13/2019

Adaptive template systems: Data-driven feature selection for learning with persistence diagrams

Feature extraction from persistence diagrams, as a tool to enrich machin...

Please sign up or login with your details

Forgot password? Click here to reset