Cache-Aware Scratchpad-Allocation Algorithms for Energy-Constrained Embedded Systems
Manish Verma, Lars Wehmeyer, Peter Marwedel · IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · 2006
In the context of mobile embedded devices, reducing energy is one of the prime objectives. Memories are responsible for a significant percentage of a system's aggregate energy consumption. Consequently, novel memories as well as novel-memory architectures are being designed to reduce the energy consumption. Caches and scratchpads are two contrasting memory architectures. The former relies on hardware logic while the latter relies on software for its utilization. To meet different requirements, most contemporary high-end embedded microprocessors include on-chip instruction and data caches along with a scratchpad. Previous approaches for utilizing scratchpad did not consider caches and hence fail for the contemporary high-end systems. Instructions are allocated onto the scratchpad, while taking into account the behavior of the instruction cache present in the system. The problem of scratchpad allocation is solved using a heuristic and also optimally using an integer linear programming formulation. An average reduction of 7% and 23% in processor cycles and instruction-memory energy, respectively, is reported when compared against a previously published technique. The average deviation between optimal and nonoptimal solutions was found to be less than 6% both in terms of processor cycles and energy. The scratchpad in the presented architecture is similar to a preloaded loop cache. Comparing the energy consumption of the presented approach against that of a preloaded loop cache, an average reduction of 9% and 29% in processor cycles and instruction-memory energy, respectively, is reported
Cited by 20 works. doi:10.1109/tcad.2005.859523
Authors
References
- Computers and Intractability: A Guide to the Theory of NP-Completeness
- Computer Architecture: A Quantitative Approach
- An Enhanced Access and Cycle Time Model for On-Chip Caches
- CACTI: an enhanced cache access and cycle time model
- Analytical energy dissipation models for low-power caches
- Profile guided code positioning
- Scratchpad memory
- Profile guided code positioning
- An optimal memory allocation scheme for scratch-pad-based embedded systems
- Memory Issues in Embedded Systems-on-Chip