Title: Dynamic Memory Allocation of Embedded Real-Time Operating System Based on TLSF
Abstract: In order to meet the requirements of rapid real-time and high memory utilization in the dynamic memory allocation of embedded real-time operating systems, this paper introduces memory block access attributes into the process of memory allocation and merge based on the TLSF algorithm and designs a TLSF-based embedded real-time operating system dynamic memory management mechanism. In the process of dynamic memory frequent application and merger will increase the longer time consumption and higher memory fragmentation rate, especially in the long-running embedded real-time operating system is more obvious. This paper uses the bitmap and the two-level segregated list data structure of the TLSF algorithm to quickly locate free memory blocks. This way can improve the search rate of free memory blocks. And by using the statistical data such as system dynamic memory allocation, release, reapply interval and duration, we can acquire the access attributes of memory blocks of different sizes. These access attributes contribute to selecting different memory allocation and merge strategies. The experimental results on μC/OS-II operating system show that the improved embedded dynamic memory management algorithm in this paper can effectively improve the memory allocation efficiency while ensuring a low fragmentation rate.
Publication Year: 2018
Publication Date: 2018-01-01
Language: en
Type: book-chapter
Indexed In: ['crossref']
Access and Citation
Cited By Count: 2
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot