Title :
Optimal static WCET-aware scratchpad allocation of program code
Author :
Falk, Heiko ; Kleinsorge, Jan C.
Author_Institution :
Comput. Sci. 12, Tech. Univ. Dortmund, Dortmund, Germany
Abstract :
Caches are notorious for their unpredictability. It is difficult or even impossible to predict if a memory access will result in a definite cache hit or miss. This unpredictability is highly undesired especially when designing real-time systems where the worst-case execution time (WCET) is one of the key metrics. Scratchpad memories (SPMs) have proven to be a fully predictable alternative to caches. In contrast to caches, however, SPMs require dedicated compiler support. This paper presents an optimal static SPM allocation algorithm for program code. It minimizes WCETs by placing the most beneficial parts of a program´s code in an SPM. Our results underline the effectiveness of the proposed techniques. For a total of 73 realistic benchmarks, we reduced WCETs on average by 7.4% up to 40%. Additionally, the run times of our ILP-based SPM allocator are negligible.
Keywords :
cache storage; program compilers; program diagnostics; real-time systems; ILP-based SPM allocator; cache storage; memory access; optimal static SPM allocation algorithm; optimal static WCET-aware scratchpad allocation; program code; program compiler; real-time system design; scratchpad memory; worst-case execution time; Computer science; Costs; Design optimization; Embedded system; Energy efficiency; Optimizing compilers; Product design; Real time systems; Safety; Scanning probe microscopy; Scratchpad Allocation; WCET;
Conference_Titel :
Design Automation Conference, 2009. DAC '09. 46th ACM/IEEE
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-6055-8497-3