Title :
Rapid estimation of instruction cache hit rates using loop profiling
Author :
Dash, S.K. ; Srikanthan, Thambipillai
Author_Institution :
Sch. of Comput. Eng., Nanyang Technol. Univ., Singapore
Abstract :
Estimation of the hit rate curve for an application is the first step in application specific cache tuning. Several techniques have been proposed to meet this objective however most of these have dealt with the data cache with little attention to the instruction cache. In this paper, we propose a novel, lightweight and highly scalable technique for rapid estimation of the instruction cache hit rate curve for a given application. Our technique works at the basic block level and relies on a one-time loop profiling of the weighted control flow graph of the application followed by estimation of the hit rate for different cache sizes. It accounts for the spatial and temporal locality separately and is sensitive to the cache size as well as block size. The proposed technique is highly accurate and when compared with results from an actual cache simulator, the mean error in estimation ranged from 1.11% to 2.46% for the benchmarks tested.
Keywords :
cache storage; graph theory; program control structures; data cache; instruction cache; loop profiling; one-time loop profiling; rapid estimation; specific cache tuning; weighted control flow graph; Analytical models; Application software; Benchmark testing; Computer aided instruction; Equations; Estimation error; Flow graphs; Frequency estimation; Size control; Weight control;
Conference_Titel :
Application-Specific Systems, Architectures and Processors, 2008. ASAP 2008. International Conference on
Conference_Location :
Leuven
Print_ISBN :
978-1-4244-1897-8
Electronic_ISBN :
2160-0511
DOI :
10.1109/ASAP.2008.4580189