Software-assisted cache replacement mechanisms for embedded systems
Prabhat Jain, Srinivas Devadas, Daniel W. Engels et al. · 2001
We address the problem of improving cache predictability and performance in embedded systems through the use of software-assisted replacement mechanisms. These mechanisms require additional software controlled state information that affects the cache replacement decision. Software instructions allow a pro-gram to kill a particular cache element, i.e., effectively make the element the least recently used element, or keep that cache ele-ment, i.e., the element will never be evicted. We prove basic theorems that provide conditions under which kill and keep instructions can be inserted into program code, such that the resulting performance is guaranteed to be as good as or better than the original program run using the standard LRU pol-icy. We developed a compiler algorithm based on the theoretical results that, given an arbitrary program, determines when to per-form software-assisted replacement, i.e., when to insert either a kill or keep instruction. Empirical evidence is provided that shows that performance and predictability (worst-case performance) can be improved for many programs. 1
Cited by 30 works. doi:10.5555/603095.603119
Authors
References
- The SimpleScalar tool set, version 2.0
- Program optimization for instruction caches
- The PowerPC Architecture: A Specification for a New Family of RISC Processors
- Memory Issues in Embedded Systems-on-Chip
- On the existence of a spectrum of policies that subsumes the least recently used (LRU) and least frequently used (LFU) policies
- Modified LRU policies for improving second-level cache behavior
- Memory Issues in Embedded Systems-on-Chip: Optimizations and Exploration
- Application-specific memory management for embedded systems using software-controlled caches
- Code placement techniques for cache miss rate reduction
- Active management of data caches by exploiting reuse information