Title :
Selfish-LRU: Preemption-aware caching for predictability and performance
Author :
Reineke, Jan ; Altmeyer, Sebastian ; Grund, Daniel ; Hahn, Seungyong ; Maiza, Claire
Author_Institution :
Saarland Univ., Saarbrucken, Germany
Abstract :
We introduce Selfish-LRU, a variant of the LRU (least recently used) cache replacement policy that improves performance and predictability in preemptive scheduling scenarios. In multitasking systems with conventional caches, a single memory access by a preempting task can trigger a chain reaction leading to a large number of additional cache misses in the preempted task. Selfish-LRU prevents such chain reactions by first evicting cache blocks that do not belong to the currently active task. Simulations confirm that Selfish-LRU reduces the CRPD (cache-related preemption delay) as well as the overall number of cache misses. At the same time, it simplifies CRPD analysis and results in smaller CRPD bounds.
Keywords :
cache storage; processor scheduling; set theory; CRPD; Selfish-LRU; cache-related preemption delay; least recently used cache replacement policy; multitasking systems; preemptive scheduling scenarios; single memory access; Context; Lead; Random access memory; Registers;
Conference_Titel :
Real-Time and Embedded Technology and Applications Symposium (RTAS), 2014 IEEE 20th
Conference_Location :
Berlin
Print_ISBN :
978-1-4799-4691-4
DOI :
10.1109/RTAS.2014.6925997