Title :
Cache design for mixed criticality real-time systems
Author :
Chetan Kumar, N.G. ; Vyas, Sumit ; Cytron, Ron K. ; Gill, Christopher D. ; Zambreno, Joseph ; Jones, Phillip H.
Author_Institution :
Dept. of Electr. & Comput. Eng., Iowa State Univ., Ames, IA, USA
Abstract :
Shared caches in mixed criticality systems are a source of interference for safety critical tasks. Shared memory not only leads to worst-case execution time (WCET) pessimism, but also affects the response time of safety critical tasks. In this paper, we present a criticality aware cache design which implements a Least Critical (LC) cache replacement policy, where a least recently used non-critical cache line is replaced during a cache miss. The cache acts as a Least Recently Used (LRU) cache if there are no critical lines or if all cache lines are critical in a set. In our design, data within a certain address space is given higher preference in the cache. These critical address spaces are configured using critical address range (CAR) registers. The new cache design was implemented in a Leon3 processor core, a 32bit processor compliant with the SPARC V8 architecture. Experimental results are presented that illustrate the impact of the Least Critical cache replacement policy on the response time of critical tasks, and on overall application performance as compared to a conventional LRU cache policy.
Keywords :
cache storage; real-time systems; shared memory systems; CAR registers; LC cache replacement policy; LRU cache; Leon3 processor core; SPARC V8 architecture; WCET pessimism; cache miss; critical address range registers; critical address spaces; criticality aware cache design; least critical cache replacement policy; least recently used cache; mixed criticality real-time systems; noncritical cache line; response time; safety critical tasks; shared caches; shared memory; word length 32 bit; worst-case execution time pessimism; Aerospace electronics; Benchmark testing; Hardware; Interference; Real-time systems; Registers; Time factors;
Conference_Titel :
Computer Design (ICCD), 2014 32nd IEEE International Conference on
Conference_Location :
Seoul
DOI :
10.1109/ICCD.2014.6974730