Title :
CAMA: A Predictable Cache-Aware Memory Allocator
Author :
Herter, Jörg ; Backes, Peter ; Haupenthal, Florian ; Reineke, Jan
Author_Institution :
Dept. of Comput. Sci., Saarland Univ., Saarbrucken, Germany
Abstract :
General-purpose dynamic memory allocation algorithms strive for small memory fragmentation and good average-case response times. Hard real-time settings, in contrast, place different demands on dynamic memory allocators: worst-case response times are more important than average-case response times. Furthermore, predictable cache behavior is a prerequisite for timing analysis to derive tight bounds on a program´s execution time. This paper proposes a novel algorithm that meets these demands. It guarantees constant response times, does not cause unpredictable cache pollution, and allocations are cache-set directed, i.e., allocated memory is guaranteed to be mapped to a given cache set. The latter two are necessary to enable a subsequent precise static cache analysis.
Keywords :
cache storage; computational complexity; resource allocation; storage management; CAMA; average-case response times; cache-aware memory allocator; general-purpose dynamic memory allocation algorithms; small memory fragmentation; worst-case response times; Data structures; Dynamic scheduling; Memory management; Merging; Real time systems; Resource management; Time factors; Dynamic storage allocation; WCET analysis; predictability;
Conference_Titel :
Real-Time Systems (ECRTS), 2011 23rd Euromicro Conference on
Conference_Location :
Porto
Print_ISBN :
978-1-4577-0643-1
DOI :
10.1109/ECRTS.2011.11