Title :
Upper Bounds for Dynamic Memory Allocation
Author :
Hasan, Yusuf ; Chen, Wei-Mei ; Chang, J. Morris ; Gharaibeh, Bashar M.
Author_Institution :
Dept. of Electr. & Comput. Eng., Iowa Sate Univ., Ames, IA, USA
fDate :
4/1/2010 12:00:00 AM
Abstract :
In this paper, we study the upper bounds of memory storage for two different allocators. In the first case, we consider a general allocator that can allocate memory blocks anywhere in the available heap space. In the second case, a more economical allocator constrained by the address-ordered first-fit allocation policy is considered. We derive the upper bound of memory usage for all allocators and present a systematic approach to search for allocation/deallocation patterns that might lead to the largest fragmentation. These results are beneficial in embedded systems where memory usage must be reduced and predictable because of lack of swapping facility. They are also useful in other types of computing systems.
Keywords :
embedded systems; storage allocation; address-ordered first-fit allocation policy; allocation pattern; deallocation pattern; dynamic memory allocation; economical allocator; embedded systems; fragmentation; general allocator; memory storage upper bound; Algorithms; Computer science; Economic forecasting; Electronic mail; Embedded computing; Embedded system; Libraries; Operating systems; Space technology; Upper bound; Dynamic memory allocation; first-fit allocator; garbage collection.; memory storage; storage allocation/deallocation policies;
Journal_Title :
Computers, IEEE Transactions on
DOI :
10.1109/TC.2009.154