Title :
An improved instruction cache replacement algorithm
Author :
Kleen, Amir ; Stienberg, Erez ; Anschel, Moshe ; Sibony, Yaniv ; Greenberg, Shlomo
Author_Institution :
Freescale Semicond. Israel Ltd., Israel
Abstract :
Caches are commonly used in DSP architecture, as an alternative for fast on-chip memory, to improve performance by reducing the average memory access latencies. In this paper we propose a new approach for instruction cache performance enhancement, utilizing a-priori knowledge of the program flow to improve the common used LRU replacement algorithm. To improve replacement decision in set-associative caches, we develop a new profile-based algorithm that predicts which code-block will be reused. The proposed algorithm enables the user to affect the cache performance by combining existing LRU hardware and cache dedicated software commands. Simulation results on Starcore´s SC140e DSP platform show 2-5% cycle times improvement over the LRU policy for MPEG4 application. Further significant improvement can be achieved when using memories with longer access latencies.
Keywords :
cache storage; digital signal processing chips; DSP architecture; SC140e DSP platform; average memory access latencies; fast on-chip memory; instruction cache replacement algorithm; least-recently used replacement algorithm; profile-based algorithm; set-associative caches; Application software; Cache memory; Computer architecture; Delay; Digital signal processing; Hardware; MPEG 4 Standard; Prediction algorithms; Software algorithms; Software performance;
Conference_Titel :
Signal Processing Systems Design and Implementation, 2005. IEEE Workshop on
Print_ISBN :
0-7803-9333-3
DOI :
10.1109/SIPS.2005.1579932