Title :
OS-controlled cache predictability for real-time systems
Author :
Liedtke, Jochen ; Hartig, Hermann ; Hohmuth, Michael
Author_Institution :
IBM Thomas J. Watson Res. Center, Yorktown Heights, NY, USA
Abstract :
Cache-partitioning techniques have been invented to make modern processors with an extensive cache structure useful in real-time systems where task switches disrupt cache working sets and hence make execution times unpredictable. This paper describes an OS-controlled application-transparent cache-partitioning technique. The resulting partitions can be transparently assigned to tasks for their exclusive use. The major drawbacks found in other cache-partitioning techniques, namely waste of memory and additions on the critical performance path within CPUs, are avoided using memory coloring techniques that do nor require changes within the chips of modern CPUs or on the critical path for performance. A simple filter algorithm commonly used in real-time systems, a matrix-multiplication algorithm and the interaction of both are analysed with regard to cache-induced worst case penalties. Worst-case penalties are determined for different widely-used cache architectures. Some insights regarding the impact of cache architectures on worst-case execution are described
Keywords :
cache storage; digital filters; matrix multiplication; operating systems (computers); real-time systems; OS-controlled cache predictability; cache working sets; cache-induced worst case penalties; cache-partitioning techniques; extensive cache structure; matrix-multiplication algorithm; memory coloring techniques; real-time systems; simple filter algorithm; widely-used cache architectures; worst-case execution; Algorithm design and analysis; Costs; Filters; Milling machines; Operating systems; Real time systems; Rivers; Switches; Workstations; Yarn;
Conference_Titel :
Real-Time Technology and Applications Symposium, 1997. Proceedings., Third IEEE
Conference_Location :
Montreal, Que.
Print_ISBN :
0-8186-8016-4
DOI :
10.1109/RTTAS.1997.601360