DocumentCode
2002877
Title
Cache contents selection for statically-locked instruction caches: an algorithm comparison
Author
Campoy, Antonio Marti ; Puaut, Isabelle ; Ivars, Angel Perles ; Mataix, Jose Vicente Busquets
Author_Institution
Dept. of Eng., Valencia Tech. Univ., Spain
fYear
2005
fDate
6-8 July 2005
Firstpage
49
Lastpage
56
Abstract
Cache memories have been extensively used to bridge the gap between high speed processors and relatively slower main memories. However, they are sources of predictability problems because of their dynamic and adaptive behavior, and thus need special attention to be used in hard real-time systems. A lot of progress has been achieved in the last ten years to statically predict worst-case execution times (WCETs) of tasks on architectures with caches. However, cache-aware WCET analysis techniques are not always applicable or may be too pessimistic. An alternative approach allowing to use caches in real-time systems is to lock their contents (i.e. disable cache replacement) such that memory access times and cache-related preemption times are predictable. In this paper, we compare the performance of two algorithms for static locking of instruction caches: one using a genetic algorithm for cache contents selection (A.M. Campoy et al., 2001) and a pragmatical algorithm, called her-after reference-based algorithm (I. Puaut and D. Decotigny), which uses the string of memory references issued by a task on its worst-case execution path as an input of the cache contents selection algorithm. Experimental results show that (i) both algorithms behave identically with respect to the system worst-case utilization; (ii) the genetic algorithm behaves slightly better than the reference-based algorithm with respect to the average slack of tasks; (iii) the execution time of the cache-contents selection procedure is much better when using the reference-based algorithm than with the genetic algorithm.
Keywords
cache storage; genetic algorithms; algorithm comparison; cache content locking; cache content selection; cache memory; cache replacement; genetic algorithm; hard real time system; her-after reference-based algorithm; predictability problem; processor speed; statically locked instruction cache; worst case execution time; Algorithm design and analysis; Associative memory; Bridges; Cache memory; Computer aided instruction; Genetic algorithms; Interference; Job shop scheduling; Processor scheduling; Real time systems;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time Systems, 2005. (ECRTS 2005). Proceedings. 17th Euromicro Conference on
ISSN
1068-3070
Print_ISBN
0-7695-2400-1
Type
conf
DOI
10.1109/ECRTS.2005.34
Filename
1508446
Link To Document